Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Class List.AccessibleAWTList  view List.AccessibleAWTList download List.AccessibleAWTList.java

java.lang.Object
  extended byjavax.accessibility.AccessibleContext
      extended byjava.awt.Component.AccessibleAWTComponent
          extended byjava.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


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
 
Fields inherited from class javax.accessibility.AccessibleContext
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, accessibleParent
 
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 java.awt.Component.AccessibleAWTComponent
addFocusListener, addPropertyChangeListener, contains, getAccessibleAt, getAccessibleComponent, getAccessibleDescription, getAccessibleIndexInParent, getAccessibleName, getAccessibleParent, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, removePropertyChangeListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible
 
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:
getAccessibleRole in class Component.AccessibleAWTComponent

getAccessibleStateSet

public javax.accessibility.AccessibleStateSet getAccessibleStateSet()
Description copied from class: Component.AccessibleAWTComponent
Returns a state set describing this component's state.

Overrides:
getAccessibleStateSet in class Component.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:
getAccessibleChildrenCount in class Component.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:
getAccessibleChild in class Component.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:
getAccessibleSelectionCount in interface javax.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:
getAccessibleSelection in interface javax.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:
isAccessibleChildSelected in interface javax.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:
addAccessibleSelection in interface javax.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:
removeAccessibleSelection in interface javax.accessibility.AccessibleSelection

clearAccessibleSelection

public void clearAccessibleSelection()
Description copied from interface: javax.accessibility.AccessibleSelection
Unselect all children of this Accessible object.

Specified by:
clearAccessibleSelection in interface javax.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:
selectAllAccessibleSelection in interface javax.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:
itemStateChanged in interface java.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:
actionPerformed in interface java.awt.event.ActionListener