Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandleraccessibleAWTComponentHandler, accessibleAWTFocusHandlerACCESSIBLE_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 |
|---|
List.AccessibleAWTList.AccessibleAWTListChild(List parent,
int indexInParent)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFocusListener(FocusListener l)
Adds the specified focus listener to receive focus events from
this component.
|
boolean |
contains(Point p)
Checks whether the specified point is within this object's
bounds, where the point's x and y coordinates are defined to
be relative to the coordinate system of the object.
|
javax.accessibility.Accessible |
getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point. |
javax.accessibility.Accessible |
getAccessibleChild(int i)
Return the specified Accessible child of the object.
|
int |
getAccessibleChildrenCount()
Returns the number of accessible children of the object.
|
javax.accessibility.AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext for this object.
|
int |
getAccessibleIndexInParent()
Get the 0-based index of this object in its accessible parent.
|
javax.accessibility.AccessibleRole |
getAccessibleRole()
Get the role of this object.
|
javax.accessibility.AccessibleStateSet |
getAccessibleStateSet()
Get the state set of this object.
|
Color |
getBackground()
Get the background color of this object.
|
Rectangle |
getBounds()
Gets the bounds of this object in the form of a Rectangle object.
|
Cursor |
getCursor()
Get the Cursor of this object.
|
Font |
getFont()
Get the Font of this object.
|
FontMetrics |
getFontMetrics(Font f)
Get the FontMetrics of this object.
|
Color |
getForeground()
Get the foreground color of this object.
|
java.util.Locale |
getLocale()
Gets the locale of the component.
|
Point |
getLocation()
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.
|
Point |
getLocationOnScreen()
Returns the location of the object on the screen.
|
Dimension |
getSize()
Returns the size of this object in the form of a Dimension
object.
|
boolean |
isEnabled()
Determine if the object is enabled.
|
boolean |
isFocusTraversable()
Returns whether this object can accept focus or not.
|
boolean |
isShowing()
Determine if the object is showing.
|
boolean |
isVisible()
Determine if the object is visible.
|
void |
removeFocusListener(FocusListener l)
Removes the specified focus listener so it no longer receives
focus events from this component.
|
void |
requestFocus()
Requests focus for this object.
|
void |
setBackground(Color c)
Set the background color of this object.
|
void |
setBounds(Rectangle r)
Sets the bounds of this object in the form of a Rectangle
object.
|
void |
setCursor(Cursor cursor)
Set the Cursor of this object.
|
void |
setEnabled(boolean b)
Set the enabled state of the object.
|
void |
setFont(Font f)
Set the Font of this object.
|
void |
setForeground(Color c)
Set the foreground color of this object.
|
void |
setLocation(Point p)
Sets the location of the object relative to the parent.
|
void |
setSize(Dimension d)
Resizes this object so that it has width and height.
|
void |
setVisible(boolean b)
Set the visible state of the object.
|
addPropertyChangeListener, getAccessibleComponent, getAccessibleDescription, getAccessibleName, getAccessibleParent, removePropertyChangeListenerfirePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParentgetAccessibleContext in interface javax.accessibility.AccessiblegetAccessibleRole in class Component.AccessibleAWTComponentAccessibleRolegetAccessibleStateSet in class Component.AccessibleAWTComponentAccessibleStateSet,
AccessibleState,
Component.AccessibleAWTComponent.addPropertyChangeListener(java.beans.PropertyChangeListener)getLocale in class Component.AccessibleAWTComponentIllegalComponentStateException - 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.getAccessibleIndexInParent in class Component.AccessibleAWTComponentComponent.AccessibleAWTComponent.getAccessibleParent(),
getAccessibleChildrenCount(),
getAccessibleChild(int)getAccessibleChildrenCount in class Component.AccessibleAWTComponentgetAccessibleChild in class Component.AccessibleAWTComponenti - zero-based index of childgetAccessibleChildrenCount()getBackground in interface javax.accessibility.AccessibleComponentgetBackground in class Component.AccessibleAWTComponentsetBackground(java.awt.Color)setBackground in interface javax.accessibility.AccessibleComponentsetBackground in class Component.AccessibleAWTComponentc - the new Color for the backgroundsetBackground(java.awt.Color)getForeground in interface javax.accessibility.AccessibleComponentgetForeground in class Component.AccessibleAWTComponentsetForeground(java.awt.Color)setForeground in interface javax.accessibility.AccessibleComponentsetForeground in class Component.AccessibleAWTComponentc - the new Color for the foregroundgetForeground()getCursor in interface javax.accessibility.AccessibleComponentgetCursor in class Component.AccessibleAWTComponentsetCursor(java.awt.Cursor)The method may have no visual effect if the Java platform implementation and/or the native system do not support changing the mouse cursor shape.
setCursor in interface javax.accessibility.AccessibleComponentsetCursor in class Component.AccessibleAWTComponentcursor - the new Cursor for the objectgetCursor()getFont in interface javax.accessibility.AccessibleComponentgetFont in class Component.AccessibleAWTComponentsetFont(java.awt.Font)setFont in interface javax.accessibility.AccessibleComponentsetFont in class Component.AccessibleAWTComponentf - the new Font for the objectgetFont()getFontMetrics in interface javax.accessibility.AccessibleComponentgetFontMetrics in class Component.AccessibleAWTComponentf - the FontgetFont()isEnabled in interface javax.accessibility.AccessibleComponentisEnabled in class Component.AccessibleAWTComponentsetEnabled(boolean),
AccessibleContext.getAccessibleStateSet(),
AccessibleState.ENABLED,
AccessibleStateSetsetEnabled in interface javax.accessibility.AccessibleComponentsetEnabled in class Component.AccessibleAWTComponentb - if true, enables this object; otherwise, disables itisEnabled()Objects that are visible will also have the AccessibleState.VISIBLE state set in their AccessibleStateSet.
isVisible in interface javax.accessibility.AccessibleComponentisVisible in class Component.AccessibleAWTComponentsetVisible(boolean),
AccessibleContext.getAccessibleStateSet(),
AccessibleState.VISIBLE,
AccessibleStateSetsetVisible in interface javax.accessibility.AccessibleComponentsetVisible in class Component.AccessibleAWTComponentb - if true, shows this object; otherwise, hides itisVisible()isShowing in interface javax.accessibility.AccessibleComponentisShowing in class Component.AccessibleAWTComponentcontains in interface javax.accessibility.AccessibleComponentcontains in class Component.AccessibleAWTComponentp - the Point relative to the coordinate system of the
objectgetBounds()getLocationOnScreen in interface javax.accessibility.AccessibleComponentgetLocationOnScreen in class Component.AccessibleAWTComponentgetBounds(),
getLocation()getLocation in interface javax.accessibility.AccessibleComponentgetLocation in class Component.AccessibleAWTComponentgetBounds(),
getLocationOnScreen()setLocation in interface javax.accessibility.AccessibleComponentsetLocation in class Component.AccessibleAWTComponentp - the new position for the top-left cornergetLocation()getBounds in interface javax.accessibility.AccessibleComponentgetBounds in class Component.AccessibleAWTComponentcontains(java.awt.Point)setBounds in interface javax.accessibility.AccessibleComponentsetBounds in class Component.AccessibleAWTComponentr - rectangle indicating this component's boundsgetBounds()getSize in interface javax.accessibility.AccessibleComponentgetSize in class Component.AccessibleAWTComponentsetSize(java.awt.Dimension)setSize in interface javax.accessibility.AccessibleComponentsetSize in class Component.AccessibleAWTComponentd - - The dimension specifying the new size of the object.getSize()Accessible child, if one exists,
contained at the local coordinate Point.getAccessibleAt in interface javax.accessibility.AccessibleComponentgetAccessibleAt in class Component.AccessibleAWTComponentp - the point relative to the coordinate system of this
objectAccessible, if it exists,
at the specified location; otherwise nullAccessibleState.FOCUSABLE state set in their
AccessibleStateSet.isFocusTraversable in interface javax.accessibility.AccessibleComponentisFocusTraversable in class Component.AccessibleAWTComponentAccessibleContext.getAccessibleStateSet(),
AccessibleState.FOCUSABLE,
AccessibleState.FOCUSED,
AccessibleStateSetrequestFocus in interface javax.accessibility.AccessibleComponentrequestFocus in class Component.AccessibleAWTComponentisFocusTraversable()addFocusListener in interface javax.accessibility.AccessibleComponentaddFocusListener in class Component.AccessibleAWTComponentl - the focus listenerremoveFocusListener(java.awt.event.FocusListener)removeFocusListener in interface javax.accessibility.AccessibleComponentremoveFocusListener in class Component.AccessibleAWTComponentl - the focus listeneraddFocusListener(java.awt.event.FocusListener)