|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.accessibility.AccessibleContext
javax.swing.table.JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry
protected class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry(int c,
JTableHeader p,
JTable t)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.accessibility.AccessibleContext |
|---|
firePropertyChange, getAccessibleEditableText, getAccessibleIcon, getAccessibleParent, getAccessibleRelationSet, getAccessibleTable, setAccessibleParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry(int c,
JTableHeader p,
JTable t)
| Method Detail |
|---|
public void addFocusListener(FocusListener l)
AccessibleComponent
addFocusListener in interface AccessibleComponentl - the listener to add to this componentremoveFocusListener(FocusListener)public void addPropertyChangeListener(PropertyChangeListener l)
AccessibleContext
addPropertyChangeListener in class AccessibleContextl - the listener to addremovePropertyChangeListener(PropertyChangeListener)public boolean contains(Point p)
AccessibleComponent
contains in interface AccessibleComponentp - the Point to locate
AccessibleComponent.getBounds()public AccessibleAction getAccessibleAction()
AccessibleContext
getAccessibleAction in class AccessibleContextAccessibleActionpublic Accessible getAccessibleAt(Point p)
AccessibleComponent
getAccessibleAt in interface AccessibleComponentp - the location within this component's coordinate system
public Accessible getAccessibleChild(int i)
null as the header entry has no accessible
children.
getAccessibleChild in class AccessibleContexti - the 0-based index to get
null.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()
AccessibleContext
getAccessibleSelection in class AccessibleContextAccessibleSelectionpublic AccessibleStateSet getAccessibleStateSet()
AccessibleContext
getAccessibleStateSet in class AccessibleContextAccessibleState,
AccessibleStateSet,
AccessibleContext.addPropertyChangeListener(PropertyChangeListener)public AccessibleText getAccessibleText()
AccessibleContext
getAccessibleText in class AccessibleContextAccessibleTextpublic AccessibleValue getAccessibleValue()
AccessibleContext
getAccessibleValue in class AccessibleContextAccessibleValuepublic Color getBackground()
AccessibleComponent
getBackground in interface AccessibleComponentAccessibleComponent.setBackground(Color)public Rectangle getBounds()
AccessibleComponent
getBounds in interface AccessibleComponentAccessibleComponent.contains(Point)public Cursor getCursor()
AccessibleComponent
getCursor in interface AccessibleComponentAccessibleComponent.setCursor(Cursor)public Font getFont()
AccessibleComponent
getFont in interface AccessibleComponentAccessibleComponent.setFont(Font)public FontMetrics getFontMetrics(Font f)
AccessibleComponentFontMetrics of the specified font in this component.
getFontMetrics in interface AccessibleComponentf - the specified font
AccessibleComponent.getFont()public Color getForeground()
AccessibleComponent
getForeground in interface AccessibleComponentAccessibleComponent.setForeground(Color)public Locale getLocale()
AccessibleContext
getLocale in class AccessibleContextpublic Point getLocation()
AccessibleComponent
getLocation in interface AccessibleComponentAccessibleComponent.getBounds(),
AccessibleComponent.getLocationOnScreen(),
AccessibleComponent.setLocation(Point)public Point getLocationOnScreen()
AccessibleComponent
getLocationOnScreen in interface AccessibleComponentAccessibleComponent.getBounds(),
AccessibleComponent.getLocation()public Dimension getSize()
AccessibleComponent
getSize in interface AccessibleComponentAccessibleComponent.setSize(Dimension)public boolean isEnabled()
AccessibleComponent
isEnabled in interface AccessibleComponentAccessibleComponent.setEnabled(boolean),
AccessibleContext.getAccessibleStateSet(),
AccessibleState.ENABLEDpublic boolean isFocusTraversable()
AccessibleComponent
isFocusTraversable in interface AccessibleComponentAccessibleContext.getAccessibleStateSet(),
AccessibleState.FOCUSABLE,
AccessibleState.FOCUSEDpublic boolean isShowing()
AccessibleComponent
isShowing 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)
AccessibleComponent
removeFocusListener in interface AccessibleComponentl - the listener to removeaddFocusListener(FocusListener)public void removePropertyChangeListener(PropertyChangeListener l)
AccessibleContext
removePropertyChangeListener in class AccessibleContextl - the listener to removeaddPropertyChangeListener(PropertyChangeListener)public void requestFocus()
AccessibleComponent
requestFocus in interface AccessibleComponentaddFocusListener(FocusListener)public void setAccessibleDescription(String s)
AccessibleContext
setAccessibleDescription in class AccessibleContexts - the new descriptiongetAccessibleDescription()public void setAccessibleName(String s)
AccessibleContext
setAccessibleName in class AccessibleContexts - the new namegetAccessibleName()public void setBackground(Color c)
AccessibleComponent
setBackground in interface AccessibleComponentc - the color to set the background toAccessibleComponent.getBackground()public void setBounds(Rectangle r)
AccessibleComponent
setBounds in interface AccessibleComponentr - the new height, width, and relative locationpublic void setCursor(Cursor c)
AccessibleComponent
setCursor in interface AccessibleComponentc - the graphical representation of the cursor to useAccessibleComponent.getCursor()public void setEnabled(boolean b)
AccessibleComponent
setEnabled in interface AccessibleComponentb - true to enable the component, else disable itAccessibleComponent.isEnabled()public void setFont(Font f)
AccessibleComponent
setFont in interface AccessibleComponentf - the font to useAccessibleComponent.getFont()public void setForeground(Color c)
AccessibleComponent
setForeground in interface AccessibleComponentc - the color to set the foreground toAccessibleComponent.getForeground()public void setLocation(Point p)
AccessibleComponent
setLocation in interface AccessibleComponentp - the top-left corner of this component relative to the parentAccessibleComponent.getLocation()public void setSize(Dimension d)
AccessibleComponent
setSize in interface AccessibleComponentd - the new size of the componentAccessibleComponent.getSize()public void setVisible(boolean b)
AccessibleComponent
setVisible in interface AccessibleComponentb - true to make the component visible, else hide itAccessibleComponent.isVisible()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||