Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Button.AccessibleAWTButton
protected class Button.AccessibleAWTButton
extends Component.AccessibleAWTComponent
implements AccessibleAction, AccessibleValue
Nested Class Summary |
Nested classes/interfaces inherited from class java.awt.Component.AccessibleAWTComponent | |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler , Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
Field Summary |
Fields inherited from class java.awt.Component.AccessibleAWTComponent | |
accessibleAWTComponentHandler , accessibleAWTFocusHandler |
Fields inherited from interface javax.accessibility.AccessibleAction | |
CLICK , DECREMENT , INCREMENT , TOGGLE_EXPAND , TOGGLE_POPUP |
Constructor Summary | |
|
Method Summary | |
boolean |
|
AccessibleAction | |
int |
|
String |
|
String | |
AccessibleRole | |
AccessibleValue | |
Number | |
Number | |
Number | |
boolean |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
protected AccessibleAWTButton()
The basic constructor. Object is special, because it has no superclass, so there is no call to super().
public boolean doAccessibleAction(int i)
Perform the specified action. Does nothing if out of bounds.
- Specified by:
- doAccessibleAction in interface AccessibleAction
- Parameters:
i
- the action to perform, 0-based
- Returns:
- true if the action was performed
public AccessibleAction getAccessibleAction()
- Overrides:
- getAccessibleAction in interface AccessibleContext
public int getAccessibleActionCount()
Get the number possible actions for this object, with the zeroth representing the default action.
- Specified by:
- getAccessibleActionCount in interface AccessibleAction
- Returns:
- the 0-based number of actions
public String getAccessibleActionDescription(int i)
Get a description for the specified action. Returns null if out of bounds.
- Specified by:
- getAccessibleActionDescription in interface AccessibleAction
- Parameters:
i
- the action to describe, 0-based
- Returns:
- description of the action
public String getAccessibleName()
- Overrides:
- getAccessibleName in interface Component.AccessibleAWTComponent
public AccessibleRole getAccessibleRole()
- Overrides:
- getAccessibleRole in interface Component.AccessibleAWTComponent
public AccessibleValue getAccessibleValue()
- Overrides:
- getAccessibleValue in interface AccessibleContext
public Number getCurrentAccessibleValue()
- Specified by:
- getCurrentAccessibleValue in interface AccessibleValue
public Number getMaximumAccessibleValue()
- Specified by:
- getMaximumAccessibleValue in interface AccessibleValue
public Number getMinimumAccessibleValue()
- Specified by:
- getMinimumAccessibleValue in interface AccessibleValue
public boolean setCurrentAccessibleValue(Number number)
- Specified by:
- setCurrentAccessibleValue in interface AccessibleValue