|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.awt
Class MenuItem.AccessibleAWTMenuItem

java.lang.Objectjavax.accessibility.AccessibleContext
java.awt.MenuComponent.AccessibleAWTMenuComponent
java.awt.MenuItem.AccessibleAWTMenuItem
- All Implemented Interfaces:
- javax.accessibility.AccessibleAction, javax.accessibility.AccessibleComponent, javax.accessibility.AccessibleSelection, javax.accessibility.AccessibleValue, java.io.Serializable
- Direct Known Subclasses:
- CheckboxMenuItem.AccessibleAWTCheckboxMenuItem, Menu.AccessibleAWTMenu
- Enclosing class:
- MenuItem
- protected class MenuItem.AccessibleAWTMenuItem
- extends MenuComponent.AccessibleAWTMenuComponent
- implements javax.accessibility.AccessibleAction, javax.accessibility.AccessibleValue
- extends MenuComponent.AccessibleAWTMenuComponent
| Field Summary | |
private static long |
serialVersionUID
|
| Fields inherited from interface javax.accessibility.AccessibleAction |
DECREMENT, INCREMENT, TOGGLE_EXPAND |
| Constructor Summary | |
protected |
MenuItem.AccessibleAWTMenuItem()
Constructor |
| Method Summary | |
boolean |
doAccessibleAction(int i)
Perform the specified action. |
javax.accessibility.AccessibleAction |
getAccessibleAction()
Get any supported accessible actions. |
int |
getAccessibleActionCount()
Get the number possible actions for this object, with the zeroth representing the default action. |
java.lang.String |
getAccessibleActionDescription(int i)
Get a description for the specified action. |
java.lang.String |
getAccessibleName()
Returns the accessible name of this component. |
javax.accessibility.AccessibleRole |
getAccessibleRole()
Returns the accessible role of this component. |
javax.accessibility.AccessibleValue |
getAccessibleValue()
Get any supported accessible value. |
java.lang.Number |
getCurrentAccessibleValue()
Gets the current value of this object, or null if it has not been set. |
java.lang.Number |
getMaximumAccessibleValue()
Gets the maximum value in the range of this object, or null if there is no maximum. |
java.lang.Number |
getMinimumAccessibleValue()
Gets the minimum value in the range of this object, or null if there is no minimum. |
boolean |
setCurrentAccessibleValue(java.lang.Number number)
Sets the current value of this object. |
| Methods inherited from class javax.accessibility.AccessibleContext |
addPropertyChangeListener, firePropertyChange, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleTable, getAccessibleText, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
| Constructor Detail |
MenuItem.AccessibleAWTMenuItem
protected MenuItem.AccessibleAWTMenuItem()
- Constructor
| Method Detail |
getAccessibleName
public java.lang.String getAccessibleName()
- Description copied from class:
MenuComponent.AccessibleAWTMenuComponent - Returns the accessible name of this component. This
is the name given to the component, which may be null if
not set using
setName().
The name property is not the most suitable string to return for this method. The string should be localized, and relevant to the operation of the component. For example, it could be the text of a menu item. However, this can not be used at this level of abstraction, so it is the responsibility of subclasses to provide a more appropriate name.- Overrides:
getAccessibleNamein classMenuComponent.AccessibleAWTMenuComponent
getAccessibleAction
public javax.accessibility.AccessibleAction getAccessibleAction()
- Description copied from class:
javax.accessibility.AccessibleContext - Get any supported accessible actions. The default implementation returns
null.
getAccessibleRole
public javax.accessibility.AccessibleRole getAccessibleRole()
- Description copied from class:
MenuComponent.AccessibleAWTMenuComponent - Returns the accessible role of this component.
The abstract implementation of this method returnsAccessibleRole.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.- Overrides:
getAccessibleRolein classMenuComponent.AccessibleAWTMenuComponent
getAccessibleActionCount
public int getAccessibleActionCount()
- Description copied from interface:
javax.accessibility.AccessibleAction - Get the number possible actions for this object, with the zeroth
representing the default action.
- Specified by:
getAccessibleActionCountin interfacejavax.accessibility.AccessibleAction
getAccessibleActionDescription
public java.lang.String getAccessibleActionDescription(int i)
- Description copied from interface:
javax.accessibility.AccessibleAction - Get a description for the specified action. Returns null if out of
bounds.
- Specified by:
getAccessibleActionDescriptionin interfacejavax.accessibility.AccessibleAction
doAccessibleAction
public boolean doAccessibleAction(int i)
- Description copied from interface:
javax.accessibility.AccessibleAction - Perform the specified action. Does nothing if out of bounds.
- Specified by:
doAccessibleActionin interfacejavax.accessibility.AccessibleAction
getAccessibleValue
public javax.accessibility.AccessibleValue getAccessibleValue()
- Description copied from class:
javax.accessibility.AccessibleContext - Get any supported accessible value. The default implementation returns
null.
getCurrentAccessibleValue
public java.lang.Number getCurrentAccessibleValue()
- Description copied from interface:
javax.accessibility.AccessibleValue - Gets the current value of this object, or null if it has not been set.
- Specified by:
getCurrentAccessibleValuein interfacejavax.accessibility.AccessibleValue
setCurrentAccessibleValue
public boolean setCurrentAccessibleValue(java.lang.Number number)
- Description copied from interface:
javax.accessibility.AccessibleValue - Sets the current value of this object. Returns true if the number
successfully changed.
- Specified by:
setCurrentAccessibleValuein interfacejavax.accessibility.AccessibleValue
getMinimumAccessibleValue
public java.lang.Number getMinimumAccessibleValue()
- Description copied from interface:
javax.accessibility.AccessibleValue - Gets the minimum value in the range of this object, or null if there is
no minimum.
- Specified by:
getMinimumAccessibleValuein interfacejavax.accessibility.AccessibleValue
getMaximumAccessibleValue
public java.lang.Number getMaximumAccessibleValue()
- Description copied from interface:
javax.accessibility.AccessibleValue - Gets the maximum value in the range of this object, or null if there is
no maximum.
- Specified by:
getMaximumAccessibleValuein interfacejavax.accessibility.AccessibleValue
|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC