GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.accessibility.AccessibleContext
javax.swing.table.JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry
protected class JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry
extends AccessibleContext
implements Accessible, AccessibleComponent
Field Summary |
Constructor Summary | |
|
Method Summary | |
void | |
void | |
boolean | |
AccessibleAction |
|
Accessible |
|
Accessible |
|
int |
|
AccessibleComponent |
|
AccessibleContext |
|
String |
|
int |
|
String |
|
AccessibleRole |
|
AccessibleSelection |
|
AccessibleStateSet |
|
AccessibleText |
|
AccessibleValue |
|
Color |
|
Rectangle |
|
Cursor |
|
Font |
|
FontMetrics |
|
Color |
|
Locale |
|
Point |
|
Point |
|
Dimension |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
void | |
void | |
void | |
void | |
void | |
void |
|
void | |
void | |
void |
|
void | |
void |
|
void |
|
void | |
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public void addFocusListener(FocusListener l)
- Specified by:
- addFocusListener in interface AccessibleComponent
- See Also:
removeFocusListener(FocusListener)
public void addPropertyChangeListener(PropertyChangeListener l)
- Overrides:
- addPropertyChangeListener in interface AccessibleContext
public boolean contains(Point p)
Tests whether or not the specified point is contained within this component. The coordinates are specified relative to this component's coordinate system.
- Specified by:
- contains in interface AccessibleComponent
- Parameters:
- Returns:
- true if the point is within this component
- Throws:
NullPointerException
- if point is null
- See Also:
AccessibleComponent.getBounds()
public AccessibleAction getAccessibleAction()
Get any supported accessible actions. The default implementation returns null.
- Overrides:
- getAccessibleAction in interface AccessibleContext
- Returns:
- the supported action, or null
- See Also:
AccessibleAction
public 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.
- Specified by:
- getAccessibleAt in interface AccessibleComponent
- Parameters:
- Returns:
- the accessible child object at that point, or null
public Accessible getAccessibleChild(int i)
Returnsnull
as the header entry has no accessible children.
- Overrides:
- getAccessibleChild in interface AccessibleContext
- Returns:
null
.
public int getAccessibleChildrenCount()
Returns the number of accessible children, zero in this case.
- Overrides:
- getAccessibleChildrenCount in interface AccessibleContext
- Returns:
- 0
public AccessibleComponent getAccessibleComponent()
Returns the accessible component for this header entry.
- Overrides:
- getAccessibleComponent in interface AccessibleContext
- Returns:
this
.
public AccessibleContext getAccessibleContext()
Returns the accessible context for this header entry.
- Specified by:
- getAccessibleContext in interface Accessible
- Returns:
this
.
public String getAccessibleDescription()
Returns the accessible description.
- Overrides:
- getAccessibleDescription in interface AccessibleContext
- Returns:
- The accessible description.
- See Also:
setAccessibleDescription(String)
public int getAccessibleIndexInParent()
Returns the index of this header entry.
- Overrides:
- getAccessibleIndexInParent in interface AccessibleContext
- Returns:
- The index of this header entry.
public String getAccessibleName()
Returns the accessible name.
- Overrides:
- getAccessibleName in interface AccessibleContext
- Returns:
- The accessible name.
- See Also:
setAccessibleName(String)
public AccessibleRole getAccessibleRole()
Returns the accessible role for the header entry.
- Overrides:
- getAccessibleRole in interface AccessibleContext
- Returns:
- The accessible role.
public AccessibleSelection getAccessibleSelection()
Get any supported accessible selection. The default implementation returns null.
- Overrides:
- getAccessibleSelection in interface AccessibleContext
- Returns:
- the supported selection, or null
- See Also:
AccessibleSelection
public AccessibleStateSet getAccessibleStateSet()
Gets the state set of this object. A change in the state of the object will fire a PropertyChangeEvent for ACCESSIBLE_STATE_PROPERTY.
- Overrides:
- getAccessibleStateSet in interface AccessibleContext
- Returns:
- the current state of the object
public AccessibleText getAccessibleText()
Get any supported accessible text. The default implementation returns null.
- Overrides:
- getAccessibleText in interface AccessibleContext
- Returns:
- the supported text, or null
- See Also:
AccessibleText
public AccessibleValue getAccessibleValue()
Get any supported accessible value. The default implementation returns null.
- Overrides:
- getAccessibleValue in interface AccessibleContext
- Returns:
- the supported value, or null
- See Also:
AccessibleValue
public Color getBackground()
Get the background color of this component.
- Specified by:
- getBackground in interface AccessibleComponent
- Returns:
- the background color of this component, or null if not supported
public Rectangle getBounds()
Get the bounds of this component relative to its parent - it's width, height, and relative location to its parent.
- Specified by:
- getBounds in interface AccessibleComponent
- Returns:
- the bounds of this component, or null if not on screen
- See Also:
AccessibleComponent.contains(Point)
public Cursor getCursor()
Get the cursor of this component.
- Specified by:
- getCursor in interface AccessibleComponent
- Returns:
- the Cursor of this component, or null if not supported
public Font getFont()
Get the font of this component
- Specified by:
- getFont in interface AccessibleComponent
- Returns:
- the font of the component, or null if not supported
- See Also:
AccessibleComponent.setFont(Font)
public FontMetrics getFontMetrics(Font f)
Get theFontMetrics
of the specified font in this component.
- Specified by:
- getFontMetrics in interface AccessibleComponent
- Parameters:
- Returns:
- the metrics for the specified font, or null if not supported
- Throws:
NullPointerException
- if font is null
- See Also:
AccessibleComponent.getFont()
public Color getForeground()
Get the foreground color of this component.
- Specified by:
- getForeground in interface AccessibleComponent
- Returns:
- the foreground color of this component, or null if not supported
public Locale getLocale()
Gets the component locale, deferring to the parent if one is not declared.
- Overrides:
- getLocale in interface AccessibleContext
- Returns:
- the locale
- Throws:
IllegalComponentStateException
- if there is no locale or parent
public Point getLocation()
Get the location of this component in the parent's coordinate system. The point specified is the top-left corner of this component.
- Specified by:
- getLocation in interface AccessibleComponent
- Returns:
- the location in the parent on screen, or null if off-screen
public Point getLocationOnScreen()
Get the location of this component in the screen's coordinate space. The point specified is the top-left corner of this component.
- Specified by:
- getLocationOnScreen in interface AccessibleComponent
- Returns:
- the location on screen, or null if off-screen
public Dimension getSize()
Get the size of this component - it's width and height.
- Specified by:
- getSize in interface AccessibleComponent
- Returns:
- the dimensions of this component, or null if not on screen
public boolean isEnabled()
Indicates whether or not this component is enabled. An object which is enabled also has AccessibleState.ENABLED in its StateSet.
- Specified by:
- isEnabled in interface AccessibleComponent
- Returns:
- true if the component is enabled
public boolean isFocusTraversable()
Indicates whether or not this component can accept focus. An object which can accept focus also has AccessibleState.FOCUSABLE in its StateSet.
- Specified by:
- isFocusTraversable in interface AccessibleComponent
- Returns:
- true if the component can accept focus
public boolean isShowing()
Indicates whether or not this component is visible by checking the visibility of this component and its ancestors. The component may be hidden on screen by another component like pop-up help. An object which is showing on screen also has AccessibleState.SHOWING in its StateSet.
- Specified by:
- isShowing in interface AccessibleComponent
- Returns:
- true if component and ancestors are visible
public boolean isVisible()
Indicates whether or not this component is visible or intends to be visible although one of its ancestors may not be. An object which is visible also has AccessibleState.VISIBLE in its StateSet. CheckisShowing()
to see if the object is on screen.
- Specified by:
- isVisible in interface AccessibleComponent
- Returns:
- true if the component is visible
public void removeFocusListener(FocusListener l)
- Specified by:
- removeFocusListener in interface AccessibleComponent
- See Also:
addFocusListener(FocusListener)
public void removePropertyChangeListener(PropertyChangeListener l)
- Overrides:
- removePropertyChangeListener in interface AccessibleContext
public void requestFocus()
- Specified by:
- requestFocus in interface AccessibleComponent
- See Also:
addFocusListener(FocusListener)
public void setAccessibleDescription(String s)
- Overrides:
- setAccessibleDescription in interface AccessibleContext
- See Also:
getAccessibleDescription()
public void setAccessibleName(String s)
- Overrides:
- setAccessibleName in interface AccessibleContext
- See Also:
getAccessibleName()
public void setBackground(Color c)
Set the background color of this component to the specified color.
- Specified by:
- setBackground in interface AccessibleComponent
- Parameters:
- See Also:
AccessibleComponent.getBackground()
public void setBounds(Rectangle r)
Set the bounds of this component to the specified height and width, and relative location to its parent.
- Specified by:
- setBounds in interface AccessibleComponent
- Parameters:
- Throws:
NullPointerException
- if rectangle is null
public void setCursor(Cursor c)
Set the cursor of the component.
- Specified by:
- setCursor in interface AccessibleComponent
- Parameters:
- See Also:
AccessibleComponent.getCursor()
public void setEnabled(boolean b)
Set this component to an enabled or disabled state.
- Specified by:
- setEnabled in interface AccessibleComponent
- Parameters:
b
- true to enable the component, else disable it
- See Also:
AccessibleComponent.isEnabled()
public void setFont(Font f)
Set the font of this component.
- Specified by:
- setFont in interface AccessibleComponent
- Parameters:
- See Also:
AccessibleComponent.getFont()
public void setForeground(Color c)
Set the foreground color of this component.
- Specified by:
- setForeground in interface AccessibleComponent
- Parameters:
- See Also:
AccessibleComponent.getForeground()
public void setLocation(Point p)
Set the location of this component relative to its parent. The point specified represents the top-left corner of this component.
- Specified by:
- setLocation in interface AccessibleComponent
- Parameters:
- Throws:
NullPointerException
- if point is null
- See Also:
AccessibleComponent.getLocation()
public void setSize(Dimension d)
Set the size of this component to the given dimensions.
- Specified by:
- setSize in interface AccessibleComponent
- Parameters:
- Throws:
NullPointerException
- if dimension is null
- See Also:
AccessibleComponent.getSize()
public void setVisible(boolean b)
Set the visible state of this component.
- Specified by:
- setVisible in interface AccessibleComponent
- Parameters:
b
- true to make the component visible, else hide it
- See Also:
AccessibleComponent.isVisible()
GNU Classpath (0.95) |