Liking cljdoc? Tell your friends :D

javax.accessibility.AccessibleSelection

This AccessibleSelection interface provides the standard mechanism for an assistive technology to determine what the current selected children are, as well as modify the selection set. Any object that has children that can be selected should support the AccessibleSelection interface. Applications can determine if an object supports the AccessibleSelection interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleSelection() method. If the return value is not null, the object supports this interface.

This AccessibleSelection interface
provides the standard mechanism for an assistive technology to determine
what the current selected children are, as well as modify the selection set.
Any object that has children that can be selected should support
the AccessibleSelection interface.  Applications can determine if an object supports the
AccessibleSelection interface by first obtaining its AccessibleContext (see
Accessible) and then calling the
AccessibleContext.getAccessibleSelection() method.
If the return value is not null, the object supports this interface.
raw docstring

accessible-child-selected?clj

(accessible-child-selected? this i)

Determines if the current child of this object is selected.

i - the zero-based index of the child in this Accessible object. - int

returns: true if the current child of this object is selected; else false. - boolean

Determines if the current child of this object is selected.

i - the zero-based index of the child in this Accessible object. - `int`

returns: true if the current child of this object is selected; else false. - `boolean`
raw docstring

add-accessible-selectionclj

(add-accessible-selection this i)

Adds the specified Accessible child of the object to the object's selection. If the object supports multiple selections, the specified child is added to any existing selection, otherwise it replaces any existing selection in the object. If the specified child is already selected, this method has no effect.

i - the zero-based index of the child - int

Adds the specified Accessible child of the object to the object's
 selection.  If the object supports multiple selections,
 the specified child is added to any existing selection, otherwise
 it replaces any existing selection in the object.  If the
 specified child is already selected, this method has no effect.

i - the zero-based index of the child - `int`
raw docstring

clear-accessible-selectionclj

(clear-accessible-selection this)

Clears the selection in the object, so that no children in the object are selected.

Clears the selection in the object, so that no children in the
object are selected.
raw docstring

get-accessible-selectionclj

(get-accessible-selection this i)

Returns an Accessible representing the specified selected child of the object. If there isn't a selection, or there are fewer children selected than the integer passed in, the return value will be null. Note that the index represents the i-th selected child, which is different from the i-th child.

i - the zero-based index of selected children - int

returns: the i-th selected child - javax.accessibility.Accessible

Returns an Accessible representing the specified selected child
 of the object.  If there isn't a selection, or there are
 fewer children selected than the integer passed in, the return
 value will be null.
 Note that the index represents the i-th selected child, which
 is different from the i-th child.

i - the zero-based index of selected children - `int`

returns: the i-th selected child - `javax.accessibility.Accessible`
raw docstring

get-accessible-selection-countclj

(get-accessible-selection-count this)

Returns the number of Accessible children currently selected. If no children are selected, the return value will be 0.

returns: the number of items currently selected. - int

Returns the number of Accessible children currently selected.
 If no children are selected, the return value will be 0.

returns: the number of items currently selected. - `int`
raw docstring

remove-accessible-selectionclj

(remove-accessible-selection this i)

Removes the specified child of the object from the object's selection. If the specified item isn't currently selected, this method has no effect.

i - the zero-based index of the child - int

Removes the specified child of the object from the object's
 selection.  If the specified item isn't currently selected, this
 method has no effect.

i - the zero-based index of the child - `int`
raw docstring

select-all-accessible-selectionclj

(select-all-accessible-selection this)

Causes every child of the object to be selected if the object supports multiple selections.

Causes every child of the object to be selected
if the object supports multiple selections.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close