nsISupports
Last changed in Gecko 1.7 void addChildToSelection(in long index); |
void clearSelection(); |
nsIArray GetSelectedChildren(); |
boolean isChildSelected(in long index); |
nsIAccessible refSelection(in long index); |
void removeChildFromSelection(in long index); |
boolean selectAllSelection(); |
Attribute | Type | Description |
selectionCount | long | The number of accessible children currently selected. Read only. |
Constant | Value | Description |
eSelection_Add | 0 | |
eSelection_Remove | 1 | |
eSelection_GetState | 2 |
Adds the specified accessible child of the object to the object's selection. If the specified object is already selected, then it does nothing.
void addChildToSelection( in long index );
index
NS_ERROR_FAILURE
Clears the selection in the object so that no children in the object are selected.
void clearSelection();
None.
Returns an nsIArray
of the selected nsIAccessible
children.
nsIArray GetSelectedChildren();
None.
An nsIArray
.
Determines if the current child of this object is selected.
boolean isChildSelected( in long index );
index
True if the child is selected, false if not.
Returns a reference to the accessible object representing the specified selected child of the object.
nsIAccessible refSelection( in long index );
index
The selected accessible child.
Removes the specified child of the object from the object's selection. If the specified object was not selected, then it does nothing.
void removeChildFromSelection( in long index );
index
NS_ERROR_FAILURE
Select all children.
boolean selectAllSelection();
None.
If the object does not accept multiple selection, return false
. Otherwise, returns true
.