| Properties |
| public AccessibleAction |
getAccessibleAction() Details
Gets the AccessibleAction associated with this
object if one exists. Otherwise returns null.
| return | the AccessibleAction, or null |
|
| public Accessible |
getAccessibleAt(Point p)
|
| public Accessible |
getAccessibleChild(int i) Details
Returns the specified Accessible child of the
object.
| i | zero-based index of child |
| return | the Accessible child of the object |
|
| public int |
getAccessibleChildrenCount() Details
Returns the number of accessible children in the object.
| return | the number of accessible children in the object |
|
| public AccessibleComponent |
getAccessibleComponent() Details
Gets the AccessibleComponent associated with
this object if one exists. Otherwise returns null.
| return | the AccessibleComponent, or
null |
|
| public AccessibleContext |
getAccessibleContext() Details
Gets the AccessibleContext associated with this
component. In the implementation of the Java Accessibility
API for this class, return this object, which is its own
AccessibleContext.
|
| public void |
setAccessibleDescription(String s) Details
Sets the accessible description of this object.
| s | the new localized description of the object |
|
| public String |
getAccessibleDescription() Details
Gets the accessible description of this object.
| return | the localized description of the object;
null if this object does not have
a description |
|
| public int |
getAccessibleIndexInParent() Details
Gets the index of this object in its accessible parent.
| return | the index of this object in its parent; -1 if this
object does not have an accessible parent |
| See also | getAccessibleParent |
|
| public void |
setAccessibleName(String s) Details
Sets the localized accessible name of this object.
| s | the new localized name of the object |
|
| public String |
getAccessibleName() Details
Gets the accessible name of this object.
| return | the localized name of the object; null
if this object does not have a name |
|
| public Accessible |
getAccessibleParent() Details
Gets the Accessible parent of this object.
| return | the Accessible parent of this object;
null if this object does not
have an Accessible parent |
|
| public AccessibleRole |
getAccessibleRole() Details
Gets the role of this object.
|
| public AccessibleSelection |
getAccessibleSelection() Details
Gets the AccessibleSelection associated with
this object if one exists. Otherwise returns null.
| return | the AccessibleSelection, or
null |
|
| public AccessibleStateSet |
getAccessibleStateSet() Details
Gets the state set of this object.
|
| public AccessibleText |
getAccessibleText() Details
Gets the AccessibleText associated with this
object if one exists. Otherwise returns null.
| return | the AccessibleText, or null |
|
| public AccessibleValue |
getAccessibleValue() Details
Gets the AccessibleValue associated with
this object if one exists. Otherwise returns null.
| return | the AccessibleValue, or null |
|
| public void |
setBackground(Color c) Details
Sets the background color of this object.
| c | the new Color for the background |
|
| public Color |
getBackground() Details
Gets the background color of this object.
| return | the background color, if supported, of the object;
otherwise, null |
|
| public void |
setBounds(Rectangle r)
|
| public Rectangle |
getBounds()
|
| protected AccessibleContext |
getCurrentAccessibleContext() Details
Gets the AccessibleContext for the table cell renderer.
| return | the AccessibleContext for the table
cell renderer if one exists;
otherwise, returns null. |
| since | 1.6 |
|
| protected Component |
getCurrentComponent() Details
Gets the table cell renderer component.
| return | the table cell renderer component if one exists;
otherwise, returns null. |
| since | 1.6 |
|
| public void |
setCursor(Cursor c) Details
Sets the Cursor of this object.
| c | the new Cursor for the object |
|
| public Cursor |
getCursor() Details
Gets the Cursor of this object.
| return | the Cursor, if supported,
of the object; otherwise, null |
|
| public void |
setEnabled(boolean b) Details
Sets the enabled state of the object.
| b | if true, enables this object; otherwise, disables it |
|
| public boolean |
isEnabled() Details
Determines if the object is enabled.
| return | true if object is enabled; otherwise, false |
|
| public boolean |
isFocusTraversable()
|
| public void |
setFont(Font f) Details
Sets the Font of this object.
| f | the new Font for the object |
|
| public Font |
getFont() Details
Gets the Font of this object.
| return | the Font,if supported,
for the object; otherwise, null |
|
| public FontMetrics |
getFontMetrics(Font f) Details
Gets the FontMetrics of this object.
| f | the Font |
| return | the FontMetrics object, if supported;
otherwise null |
| See also | getFont |
|
| public void |
setForeground(Color c) Details
Sets the foreground color of this object.
| c | the new Color for the foreground |
|
| public Color |
getForeground() Details
Gets the foreground color of this object.
| return | the foreground color, if supported, of the object;
otherwise, null |
|
| public Locale |
getLocale() Details
Gets the locale of the component. If the component
does not have a locale, then the locale of its parent
is returned.
| return | this component's locale; if this component does
not have a locale, the locale of its parent is returned |
| Throws | IllegalComponentStateException: if the
Component does not have its own locale
and has not yet been added to a containment hierarchy
such that the locale can be determined from the
containing parent |
| See also | setLocale |
|
| public void |
setLocation(Point p) Sets the location of the object relative to the parent.
|
| public Point |
getLocation() Details
Gets the location of the object relative to the parent
in the form of a point specifying the object's
top-left corner in the screen's coordinate space.
| return | an instance of Point representing
the top-left corner of the object's bounds in the
coordinate space of the screen; null if
this object or its parent are not on the screen |
|
| public Point |
getLocationOnScreen() Details
Returns the location of the object on the screen.
| return | location of object on screen -- can be
null if this object is not on the screen |
|
| public boolean |
isShowing() Details
Determines if the object is showing. This is determined
by checking the visibility of the object and ancestors
of the object. Note: this will return true even if the
object is obscured by another (for example,
it happens to be underneath a menu that was pulled down).
| return | true if the object is showing; otherwise, false |
|
| public void |
setSize(Dimension d)
|
| public Dimension |
getSize()
|
| public void |
setVisible(boolean b) Details
Sets the visible state of the object.
| b | if true, shows this object; otherwise, hides it |
|
| public boolean |
isVisible() Details
Determines if this object is visible. Note: this means that the
object intends to be visible; however, it may not in fact be
showing on the screen because one of the objects that this object
is contained by is not visible. To determine if an object is
showing on the screen, use isShowing.
| return | true if object is visible; otherwise, false |
|