interface nsIAccessibleSelection
the nsIAccessibleSelection interface provided by MAI which users can get accessible children of a DOM object which is currently selected and also can do some behaviors such as adding selection, removing selection, clearing selection
- readonly attribute long selectionCount
- A long type readonly attributeReturns the number of accessible children currently selected
- void addSelection (in long i)
- Adds the specified accessible child of the object to the object's selection.
- void removeSelection (in long i)
- Removes the specified child of the object from the object's selection.
- void clearSelection ()
- Clears all the selection in the object so that no children in the object are selected.
- nsIAccessible refSelection (in long i)
- Returns a reference to the accessible object representing the specified selected child of the object.
- boolean isChildSelected (in long i)
- Determines if the current child of this object is selected
- boolean selectAllSelection ()
- method selectAllSelection Causes every child of the object to be selected if the object supports multiple selections.
Public Fields
Public Methods
Documentation
the nsIAccessibleSelection interface provided by MAI which users can get accessible children of a DOM object which is currently selected and also can do some behaviors such as adding selection, removing selection, clearing selection
- readonly attribute long selectionCount
- A long type readonly attributeReturns
the number of accessible children currently selected
- void addSelection(in long i)
- Adds the specified
accessible child of the object to the object's selection.
- Parameters:
- i - index
of the specified accessible child
- Returns:
- void
- void removeSelection(in long i)
- Removes
the specified child of the object from the object's selection.
- Parameters:
-
i - long : index of the specified accessible child
- Returns:
-
void
- void clearSelection()
-
Clears all the selection in the object so that no children in the object
are selected.
- Parameters:
-
none -
- Returns:
-
void
- nsIAccessible refSelection(in long i)
-
Returns a reference to the accessible object representing the specified selected
child of the object.
- Parameters:
-
i - long : index of the specified accessible child
- Returns:
-
a nsIAccessible object
- boolean isChildSelected(in long i)
-
Determines if the current child of this object is selected
- Parameters:
-
i - long : index of the specified accessible child
- Returns:
-
a boolean result. if the child is selected, return true; else return false
- boolean selectAllSelection()
-
method selectAllSelection Causes every child of the object to be selected
if the object supports multiple selections.
- Parameters:
-
none -
- Returns:
-
a boolean result, if the object does not accept multiple selection, return
false.
- This class has no child classes.
This page was generated with the help of DOC++ .