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

java.lang.Objectjavax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.List.AccessibleAWTList
- All Implemented Interfaces:
- javax.accessibility.AccessibleComponent, javax.accessibility.AccessibleSelection, java.awt.event.ActionListener, java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable
- Enclosing class:
- List
- protected class List.AccessibleAWTList
- extends Component.AccessibleAWTComponent
- implements javax.accessibility.AccessibleSelection, java.awt.event.ItemListener, java.awt.event.ActionListener
- extends Component.AccessibleAWTComponent
| Nested Class Summary | |
protected class |
List.AccessibleAWTList.AccessibleAWTListChild
|
| Nested classes inherited from class java.awt.Component.AccessibleAWTComponent |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
| Field Summary | |
private static long |
serialVersionUID
|
| Fields inherited from class java.awt.Component.AccessibleAWTComponent |
accessibleAWTComponentHandler, accessibleAWTFocusHandler |
| Constructor Summary | |
List.AccessibleAWTList()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
This method is invoked when an action occurs. |
void |
addAccessibleSelection(int i)
Select the specified child if it is not already selected, placing it in the object's current selection. |
void |
clearAccessibleSelection()
Unselect all children of this Accessible object. |
javax.accessibility.Accessible |
getAccessibleChild(int i)
Returns the ith accessible child. |
int |
getAccessibleChildrenCount()
Returns the number of children of this component which implement Accessible. |
javax.accessibility.AccessibleRole |
getAccessibleRole()
Returns the role of this component. |
javax.accessibility.AccessibleSelection |
getAccessibleSelection()
Get any supported accessible selection. |
javax.accessibility.Accessible |
getAccessibleSelection(int i)
Returns the i-th selected child (not necessarily the overall i-th child) of this Accessible object. |
int |
getAccessibleSelectionCount()
Returns the number of currently selected Accessible children, which may be 0 if nothing is selected. |
javax.accessibility.AccessibleStateSet |
getAccessibleStateSet()
Returns a state set describing this component's state. |
boolean |
isAccessibleChildSelected(int i)
Determine if i-th overall child of this accessible object is selected. |
void |
itemStateChanged(java.awt.event.ItemEvent event)
This method is called when an item's state is changed. |
void |
removeAccessibleSelection(int i)
Unselect the specified child of this Accessible object. |
void |
selectAllAccessibleSelection()
Select all children of this Accessible object if the object supports multiple selections or has a single child. |
| Methods inherited from class javax.accessibility.AccessibleContext |
firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleTable, getAccessibleText, getAccessibleValue, 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 |
List.AccessibleAWTList
public List.AccessibleAWTList()
| Method Detail |
getAccessibleRole
public javax.accessibility.AccessibleRole getAccessibleRole()
- Description copied from class:
Component.AccessibleAWTComponent - Returns the role of this component.
- Overrides:
getAccessibleRolein classComponent.AccessibleAWTComponent
getAccessibleStateSet
public javax.accessibility.AccessibleStateSet getAccessibleStateSet()
- Description copied from class:
Component.AccessibleAWTComponent - Returns a state set describing this component's state.
- Overrides:
getAccessibleStateSetin classComponent.AccessibleAWTComponent
getAccessibleChildrenCount
public int getAccessibleChildrenCount()
- Description copied from class:
Component.AccessibleAWTComponent - Returns the number of children of this component which implement
Accessible. Subclasses must override this if they can have children.
- Overrides:
getAccessibleChildrenCountin classComponent.AccessibleAWTComponent
getAccessibleChild
public javax.accessibility.Accessible getAccessibleChild(int i)
- Description copied from class:
Component.AccessibleAWTComponent - Returns the ith accessible child. Subclasses must override this if
they can have children.
- Overrides:
getAccessibleChildin classComponent.AccessibleAWTComponent
getAccessibleSelectionCount
public int getAccessibleSelectionCount()
- Description copied from interface:
javax.accessibility.AccessibleSelection - Returns the number of currently selected Accessible children, which may
be 0 if nothing is selected.
- Specified by:
getAccessibleSelectionCountin interfacejavax.accessibility.AccessibleSelection
getAccessibleSelection
public javax.accessibility.AccessibleSelection getAccessibleSelection()
- Description copied from class:
javax.accessibility.AccessibleContext - Get any supported accessible selection. The default implementation returns
null.
getAccessibleSelection
public javax.accessibility.Accessible getAccessibleSelection(int i)
- Description copied from interface:
javax.accessibility.AccessibleSelection - Returns the i-th selected child (not necessarily the overall i-th child)
of this Accessible object. If i is out of bounds, null is returned.
- Specified by:
getAccessibleSelectionin interfacejavax.accessibility.AccessibleSelection
isAccessibleChildSelected
public boolean isAccessibleChildSelected(int i)
- Description copied from interface:
javax.accessibility.AccessibleSelection - Determine if i-th overall child of this accessible object is selected.
If i is out of bounds, false is returned.
- Specified by:
isAccessibleChildSelectedin interfacejavax.accessibility.AccessibleSelection
addAccessibleSelection
public void addAccessibleSelection(int i)
- Description copied from interface:
javax.accessibility.AccessibleSelection - Select the specified child if it is not already selected, placing it in
the object's current selection. If the object does not support multiple
selections then the new selection replaces the old. If the specified
child is already selected, or is out of bounds, this method does nothing.
- Specified by:
addAccessibleSelectionin interfacejavax.accessibility.AccessibleSelection
removeAccessibleSelection
public void removeAccessibleSelection(int i)
- Description copied from interface:
javax.accessibility.AccessibleSelection - Unselect the specified child of this Accessible object. If the specified
child is not selected, or is out of bounds, this method does nothing.
- Specified by:
removeAccessibleSelectionin interfacejavax.accessibility.AccessibleSelection
clearAccessibleSelection
public void clearAccessibleSelection()
- Description copied from interface:
javax.accessibility.AccessibleSelection - Unselect all children of this Accessible object.
- Specified by:
clearAccessibleSelectionin interfacejavax.accessibility.AccessibleSelection
selectAllAccessibleSelection
public void selectAllAccessibleSelection()
- Description copied from interface:
javax.accessibility.AccessibleSelection - Select all children of this Accessible object if the object supports
multiple selections or has a single child. Otherwise this does nothing.
- Specified by:
selectAllAccessibleSelectionin interfacejavax.accessibility.AccessibleSelection
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent event)
- Description copied from interface:
java.awt.event.ItemListener - This method is called when an item's state is changed.
- Specified by:
itemStateChangedin interfacejava.awt.event.ItemListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Description copied from interface:
java.awt.event.ActionListener - This method is invoked when an action occurs.
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC