protected class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry extends AccessibleContext implements Accessible, AccessibleComponent
ACCESSIBLE_ACTION_PROPERTY, ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY, ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_CHILD_PROPERTY, ACCESSIBLE_COMPONENT_BOUNDS_CHANGED, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_HYPERTEXT_OFFSET, ACCESSIBLE_INVALIDATE_CHILDREN, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TABLE_CAPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED, ACCESSIBLE_TABLE_MODEL_CHANGED, ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_ROW_HEADER_CHANGED, ACCESSIBLE_TABLE_SUMMARY_CHANGED, ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent| Constructor and Description |
|---|
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry(int c,
JTableHeader p,
JTable t) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFocusListener(FocusListener l)
Adds the specified listener to this component.
|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a PropertyChangeListener to the listener list.
|
boolean |
contains(Point p)
Tests whether or not the specified point is contained within
this component.
|
AccessibleAction |
getAccessibleAction()
Get any supported accessible actions.
|
Accessible |
getAccessibleAt(Point p)
If an object exists at the specified point which is a child of this
parent component, and it is accessible, then it is returned.
|
Accessible |
getAccessibleChild(int i)
Returns
null as the header entry has no accessible
children. |
int |
getAccessibleChildrenCount()
Returns the number of accessible children, zero in this case.
|
AccessibleComponent |
getAccessibleComponent()
Returns the accessible component for this header entry.
|
AccessibleContext |
getAccessibleContext()
Returns the accessible context for this header entry.
|
String |
getAccessibleDescription()
Returns the accessible description.
|
int |
getAccessibleIndexInParent()
Returns the index of this header entry.
|
String |
getAccessibleName()
Returns the accessible name.
|
AccessibleRole |
getAccessibleRole()
Returns the accessible role for the header entry.
|
AccessibleSelection |
getAccessibleSelection()
Get any supported accessible selection.
|
AccessibleStateSet |
getAccessibleStateSet()
Gets the state set of this object.
|
AccessibleText |
getAccessibleText()
Get any supported accessible text.
|
AccessibleValue |
getAccessibleValue()
Get any supported accessible value.
|
Color |
getBackground()
Get the background color of this component.
|
Rectangle |
getBounds()
Get the bounds of this component relative to its parent - it's width,
height, and relative location to its parent.
|
Cursor |
getCursor()
Get the cursor of this component.
|
Font |
getFont()
Get the font of this component
|
FontMetrics |
getFontMetrics(Font f)
Get the
FontMetrics of the specified font in this component. |
Color |
getForeground()
Get the foreground color of this component.
|
Locale |
getLocale()
Gets the component locale, deferring to the parent if one is not declared.
|
Point |
getLocation()
Get the location of this component in the parent's coordinate system.
|
Point |
getLocationOnScreen()
Get the location of this component in the screen's coordinate space.
|
Dimension |
getSize()
Get the size of this component - it's width and height.
|
boolean |
isEnabled()
Indicates whether or not this component is enabled.
|
boolean |
isFocusTraversable()
Indicates whether or not this component can accept focus.
|
boolean |
isShowing()
Indicates whether or not this component is visible by checking
the visibility of this component and its ancestors.
|
boolean |
isVisible()
Indicates whether or not this component is visible or intends to be
visible although one of its ancestors may not be.
|
void |
removeFocusListener(FocusListener l)
Removes the specified listener from this component.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a PropertyChangeListener from the listener list.
|
void |
requestFocus()
If this method is called this component will attempt to gain focus,
but if it cannot accept focus nothing happens.
|
void |
setAccessibleDescription(String s)
Set the localized name of the object.
|
void |
setAccessibleName(String s)
Set the localized name of the object.
|
void |
setBackground(Color c)
Set the background color of this component to the specified color.
|
void |
setBounds(Rectangle r)
Set the bounds of this component to the specified height and width, and
relative location to its parent.
|
void |
setCursor(Cursor c)
Set the cursor of the component.
|
void |
setEnabled(boolean b)
Set this component to an enabled or disabled state.
|
void |
setFont(Font f)
Set the font of this component.
|
void |
setForeground(Color c)
Set the foreground color of this component.
|
void |
setLocation(Point p)
Set the location of this component relative to its parent.
|
void |
setSize(Dimension d)
Set the size of this component to the given dimensions.
|
void |
setVisible(boolean b)
Set the visible state of this component.
|
firePropertyChange, getAccessibleEditableText, getAccessibleIcon, getAccessibleParent, getAccessibleRelationSet, getAccessibleTable, setAccessibleParentpublic JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry(int c, JTableHeader p, JTable t)
public void addFocusListener(FocusListener l)
AccessibleComponentaddFocusListener in interface AccessibleComponentl - the listener to add to this componentremoveFocusListener(FocusListener)public void addPropertyChangeListener(PropertyChangeListener l)
AccessibleContextaddPropertyChangeListener in class AccessibleContextl - the listener to addremovePropertyChangeListener(PropertyChangeListener)public boolean contains(Point p)
AccessibleComponentcontains in interface AccessibleComponentp - the Point to locateAccessibleComponent.getBounds()public AccessibleAction getAccessibleAction()
AccessibleContextgetAccessibleAction in class AccessibleContextAccessibleActionpublic Accessible getAccessibleAt(Point p)
AccessibleComponentgetAccessibleAt in interface AccessibleComponentp - the location within this component's coordinate systempublic Accessible getAccessibleChild(int i)
null as the header entry has no accessible
children.getAccessibleChild in class AccessibleContexti - the 0-based index to getnull.AccessibleContext.getAccessibleChildrenCount()public int getAccessibleChildrenCount()
getAccessibleChildrenCount in class AccessibleContextAccessibleContext.getAccessibleChild(int)public AccessibleComponent getAccessibleComponent()
getAccessibleComponent in class AccessibleContextthis.AccessibleComponentpublic AccessibleContext getAccessibleContext()
getAccessibleContext in interface Accessiblethis.public String getAccessibleDescription()
getAccessibleDescription in class AccessibleContextsetAccessibleDescription(String)public int getAccessibleIndexInParent()
getAccessibleIndexInParent in class AccessibleContextAccessibleContext.getAccessibleParent(),
AccessibleContext.getAccessibleChildrenCount(),
AccessibleContext.getAccessibleChild(int)public String getAccessibleName()
getAccessibleName in class AccessibleContextsetAccessibleName(String)public AccessibleRole getAccessibleRole()
getAccessibleRole in class AccessibleContextAccessibleRolepublic AccessibleSelection getAccessibleSelection()
AccessibleContextgetAccessibleSelection in class AccessibleContextAccessibleSelectionpublic AccessibleStateSet getAccessibleStateSet()
AccessibleContextgetAccessibleStateSet in class AccessibleContextAccessibleState,
AccessibleStateSet,
AccessibleContext.addPropertyChangeListener(PropertyChangeListener)public AccessibleText getAccessibleText()
AccessibleContextgetAccessibleText in class AccessibleContextAccessibleTextpublic AccessibleValue getAccessibleValue()
AccessibleContextgetAccessibleValue in class AccessibleContextAccessibleValuepublic Color getBackground()
AccessibleComponentgetBackground in interface AccessibleComponentAccessibleComponent.setBackground(Color)public Rectangle getBounds()
AccessibleComponentgetBounds in interface AccessibleComponentAccessibleComponent.contains(Point)public Cursor getCursor()
AccessibleComponentgetCursor in interface AccessibleComponentAccessibleComponent.setCursor(Cursor)public Font getFont()
AccessibleComponentgetFont in interface AccessibleComponentAccessibleComponent.setFont(Font)public FontMetrics getFontMetrics(Font f)
AccessibleComponentFontMetrics of the specified font in this component.getFontMetrics in interface AccessibleComponentf - the specified fontAccessibleComponent.getFont()public Color getForeground()
AccessibleComponentgetForeground in interface AccessibleComponentAccessibleComponent.setForeground(Color)public Locale getLocale()
AccessibleContextgetLocale in class AccessibleContextpublic Point getLocation()
AccessibleComponentgetLocation in interface AccessibleComponentAccessibleComponent.getBounds(),
AccessibleComponent.getLocationOnScreen(),
AccessibleComponent.setLocation(Point)public Point getLocationOnScreen()
AccessibleComponentgetLocationOnScreen in interface AccessibleComponentAccessibleComponent.getBounds(),
AccessibleComponent.getLocation()public Dimension getSize()
AccessibleComponentgetSize in interface AccessibleComponentAccessibleComponent.setSize(Dimension)public boolean isEnabled()
AccessibleComponentisEnabled in interface AccessibleComponentAccessibleComponent.setEnabled(boolean),
AccessibleContext.getAccessibleStateSet(),
AccessibleState.ENABLEDpublic boolean isFocusTraversable()
AccessibleComponentisFocusTraversable in interface AccessibleComponentAccessibleContext.getAccessibleStateSet(),
AccessibleState.FOCUSABLE,
AccessibleState.FOCUSEDpublic boolean isShowing()
AccessibleComponentisShowing in interface AccessibleComponentAccessibleComponent.isVisible(),
AccessibleComponent.setVisible(boolean),
AccessibleContext.getAccessibleStateSet(),
AccessibleState.SHOWINGpublic boolean isVisible()
AccessibleComponentisShowing() to see if the object is on screen.isVisible in interface AccessibleComponentAccessibleComponent.setVisible(boolean),
AccessibleContext.getAccessibleStateSet(),
AccessibleState.VISIBLEpublic void removeFocusListener(FocusListener l)
AccessibleComponentremoveFocusListener in interface AccessibleComponentl - the listener to removeaddFocusListener(FocusListener)public void removePropertyChangeListener(PropertyChangeListener l)
AccessibleContextremovePropertyChangeListener in class AccessibleContextl - the listener to removeaddPropertyChangeListener(PropertyChangeListener)public void requestFocus()
AccessibleComponentrequestFocus in interface AccessibleComponentaddFocusListener(FocusListener)public void setAccessibleDescription(String s)
AccessibleContextsetAccessibleDescription in class AccessibleContexts - the new descriptiongetAccessibleDescription()public void setAccessibleName(String s)
AccessibleContextsetAccessibleName in class AccessibleContexts - the new namegetAccessibleName()public void setBackground(Color c)
AccessibleComponentsetBackground in interface AccessibleComponentc - the color to set the background toAccessibleComponent.getBackground()public void setBounds(Rectangle r)
AccessibleComponentsetBounds in interface AccessibleComponentr - the new height, width, and relative locationpublic void setCursor(Cursor c)
AccessibleComponentsetCursor in interface AccessibleComponentc - the graphical representation of the cursor to useAccessibleComponent.getCursor()public void setEnabled(boolean b)
AccessibleComponentsetEnabled in interface AccessibleComponentb - true to enable the component, else disable itAccessibleComponent.isEnabled()public void setFont(Font f)
AccessibleComponentsetFont in interface AccessibleComponentf - the font to useAccessibleComponent.getFont()public void setForeground(Color c)
AccessibleComponentsetForeground in interface AccessibleComponentc - the color to set the foreground toAccessibleComponent.getForeground()public void setLocation(Point p)
AccessibleComponentsetLocation in interface AccessibleComponentp - the top-left corner of this component relative to the parentAccessibleComponent.getLocation()public void setSize(Dimension d)
AccessibleComponentsetSize in interface AccessibleComponentd - the new size of the componentAccessibleComponent.getSize()public void setVisible(boolean b)
AccessibleComponentsetVisible in interface AccessibleComponentb - true to make the component visible, else hide itAccessibleComponent.isVisible()