|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.accessibility.AccessibleContext
java.awt.MenuComponent.AccessibleAWTMenuComponent
java.awt.MenuItem.AccessibleAWTMenuItem
protected class MenuItem.AccessibleAWTMenuItem
Field Summary |
---|
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. |
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. |
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 |
Constructor Detail |
---|
protected MenuItem.AccessibleAWTMenuItem()
Method Detail |
---|
public String getAccessibleName()
MenuComponent.AccessibleAWTMenuComponent
setName()
.
getAccessibleName
in class MenuComponent.AccessibleAWTMenuComponent
MenuComponent.setName(String)
public AccessibleAction getAccessibleAction()
AccessibleContext
getAccessibleAction
in class AccessibleContext
AccessibleAction
public AccessibleRole getAccessibleRole()
MenuComponent.AccessibleAWTMenuComponent
AccessibleRole.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.AccessibleAWTMenuComponent
AccessibleRole.AWT_COMPONENT
AccessibleRole
public int getAccessibleActionCount()
AccessibleAction
getAccessibleActionCount
in interface AccessibleAction
public String getAccessibleActionDescription(int i)
AccessibleAction
getAccessibleActionDescription
in interface AccessibleAction
i
- the action to describe, 0-based
public boolean doAccessibleAction(int i)
AccessibleAction
doAccessibleAction
in interface AccessibleAction
i
- the action to perform, 0-based
public AccessibleValue getAccessibleValue()
AccessibleContext
getAccessibleValue
in class AccessibleContext
AccessibleValue
public Number getCurrentAccessibleValue()
AccessibleValue
getCurrentAccessibleValue
in interface AccessibleValue
AccessibleValue.setCurrentAccessibleValue(Number)
public boolean setCurrentAccessibleValue(Number number)
AccessibleValue
setCurrentAccessibleValue
in interface AccessibleValue
number
- the new value
public Number getMinimumAccessibleValue()
AccessibleValue
getMinimumAccessibleValue
in interface AccessibleValue
AccessibleValue.getMaximumAccessibleValue()
public Number getMaximumAccessibleValue()
AccessibleValue
getMaximumAccessibleValue
in interface AccessibleValue
AccessibleValue.getMinimumAccessibleValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |