protected class MenuItem.AccessibleAWTMenuItem extends MenuComponent.AccessibleAWTMenuComponent implements AccessibleAction, AccessibleValue
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, accessibleParentCLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP| Modifier | Constructor and Description |
|---|---|
protected |
MenuItem.AccessibleAWTMenuItem()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
doAccessibleAction(int i)
Perform the specified action.
|
AccessibleAction |
getAccessibleAction()
Get any supported accessible actions.
|
int |
getAccessibleActionCount()
Get the number possible actions for this object, with the zeroth
representing the default action.
|
String |
getAccessibleActionDescription(int i)
Get a description for the specified action.
|
String |
getAccessibleName()
Returns the accessible name of this component.
|
AccessibleRole |
getAccessibleRole()
Returns the accessible role of this component.
|
AccessibleValue |
getAccessibleValue()
Get any supported accessible value.
|
Number |
getCurrentAccessibleValue()
Gets the current value of this object, or null if it has not been set.
|
Number |
getMaximumAccessibleValue()
Gets the maximum value in the range of this object, or null if there is
no maximum.
|
Number |
getMinimumAccessibleValue()
Gets the minimum value in the range of this object, or null if there is
no minimum.
|
boolean |
setCurrentAccessibleValue(Number number)
Sets the current value of this object.
|
addAccessibleSelection, addFocusListener, clearAccessibleSelection, contains, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAccessibleComponent, getAccessibleDescription, getAccessibleIndexInParent, getAccessibleParent, getAccessibleSelection, getAccessibleSelection, getAccessibleSelectionCount, getAccessibleStateSet, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isAccessibleChildSelected, isEnabled, isFocusTraversable, isShowing, isVisible, removeAccessibleSelection, removeFocusListener, requestFocus, selectAllAccessibleSelection, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisibleaddPropertyChangeListener, firePropertyChange, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleTable, getAccessibleText, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParentprotected MenuItem.AccessibleAWTMenuItem()
public String getAccessibleName()
MenuComponent.AccessibleAWTMenuComponentsetName().
getAccessibleName in class MenuComponent.AccessibleAWTMenuComponentMenuComponent.setName(String)public AccessibleAction getAccessibleAction()
AccessibleContextgetAccessibleAction in class AccessibleContextAccessibleActionpublic AccessibleRole getAccessibleRole()
MenuComponent.AccessibleAWTMenuComponentAccessibleRole.AWT_COMPONENT,
as the abstract component has no specific role. This
method should be overridden by concrete subclasses, so
as to return an appropriate role for the component.getAccessibleRole in class MenuComponent.AccessibleAWTMenuComponentAccessibleRole.AWT_COMPONENTAccessibleRolepublic int getAccessibleActionCount()
AccessibleActiongetAccessibleActionCount in interface AccessibleActionpublic String getAccessibleActionDescription(int i)
AccessibleActiongetAccessibleActionDescription in interface AccessibleActioni - the action to describe, 0-basedpublic boolean doAccessibleAction(int i)
AccessibleActiondoAccessibleAction in interface AccessibleActioni - the action to perform, 0-basedpublic AccessibleValue getAccessibleValue()
AccessibleContextgetAccessibleValue in class AccessibleContextAccessibleValuepublic Number getCurrentAccessibleValue()
AccessibleValuegetCurrentAccessibleValue in interface AccessibleValueAccessibleValue.setCurrentAccessibleValue(Number)public boolean setCurrentAccessibleValue(Number number)
AccessibleValuesetCurrentAccessibleValue in interface AccessibleValuenumber - the new valuepublic Number getMinimumAccessibleValue()
AccessibleValuegetMinimumAccessibleValue in interface AccessibleValueAccessibleValue.getMaximumAccessibleValue()public Number getMaximumAccessibleValue()
AccessibleValuegetMaximumAccessibleValue in interface AccessibleValueAccessibleValue.getMinimumAccessibleValue()