Class AjxSelectionManager

Object
   |
   +--AjxSelectionManager

class AjxSelectionManager

 
Method Summary
 Object _createItemsCollection()
           Creates an array suitable for use as the sorted list of selected items and returns it.
 Object _isItemOldSelection(testItem, oldItems)
          
 void _setAnchorAndCursor(item, action)
          
 void deselectAll()
          
 Object getAnchor()
           returns the anchor, unless nothing is selected
 Object getCursor()
           The cursor probably changes when the users navigates with the keyboard.
 Object getItems()
           returns an AjxVector
 Object getLength()
           returns the number of selected items
 Object isSelected(item)
           Returns true if the given item is selected.
 void removeItem(item)
           Remove an item from the selection managers selected items collection if it exists.
 void select(item, action)
           This method will notify the owner of any changes by calling itemSelectionChanged() (if the owner defines it) for each item whose selection changes and also by calling selectionChanged() (if the owner defines it) once at the end, if anything changed selection.
 void selectAll()
          
 void selectFromAnchorToItem(item)
          
 void selectOneItem(item)
          
 void toggleItem(item)
          


Method Detail

_createItemsCollection

Object _createItemsCollection()

_isItemOldSelection

Object _isItemOldSelection(testItem, oldItems)

_setAnchorAndCursor

void _setAnchorAndCursor(item, action)

deselectAll

void deselectAll()

getAnchor

Object getAnchor()

getCursor

Object getCursor()

getItems

Object getItems()

getLength

Object getLength()

isSelected

Object isSelected(item)

removeItem

void removeItem(item)

select

void select(item, action)

selectAll

void selectAll()

selectFromAnchorToItem

void selectFromAnchorToItem(item)

selectOneItem

void selectOneItem(item)

toggleItem

void toggleItem(item)


Documentation generated by JSDoc on Thu Apr 27 13:58:41 2006