Packageorg.aswing.tree
Classpublic class EmptySelectionModel
InheritanceEmptySelectionModel Inheritance DefaultTreeSelectionModel Inheritance flash.events.EventDispatcher

EmptySelectionModel is a TreeSelectionModel that does not allow anything to be selected.



Public Methods
 MethodDefined by
  
EmptySelectionModel
 Inherited
addPropertyChangeListener(listener:Function, priority:int = 0, useWeakReference:Boolean = false):void
Adds a PropertyChangeListener to the listener list.
DefaultTreeSelectionModel
 Inherited
addSelectionPath(path:TreePath, programmatic:Boolean = true):void
Adds path to the current selection.
DefaultTreeSelectionModel
  
addSelectionPaths(pPaths:Array, programmatic:Boolean = true):void
A null implementation that adds nothing.
EmptySelectionModel
 Inherited
addTreeSelectionListener(listener:Function, priority:int = 0, useWeakReference:Boolean = false):void
Adds x to the list of listeners that are notified each time the set of selected TreePaths changes.
DefaultTreeSelectionModel
 Inherited
clearSelection(programmatic:Boolean = true):void
Empties the current selection.
DefaultTreeSelectionModel
 Inherited
Returns the last path that was added.
DefaultTreeSelectionModel
 Inherited
Returns the lead selection index.
DefaultTreeSelectionModel
 Inherited
Returns the largest value obtained from the RowMapper for the current set of selected TreePaths.
DefaultTreeSelectionModel
 Inherited
Returns the smallest value obtained from the RowMapper for the current set of selected TreePaths.
DefaultTreeSelectionModel
 Inherited
Returns the RowMapper instance that is able to map a TreePath to a row.
DefaultTreeSelectionModel
 Inherited
Returns the number of paths that are selected.
DefaultTreeSelectionModel
 Inherited
Returns the selection mode, one of SINGLE_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION or CONTIGUOUS_TREE_SELECTION.
DefaultTreeSelectionModel
 Inherited
Returns the first path in the selection.
DefaultTreeSelectionModel
 Inherited
Returns the paths(TreePath[]) in the selection.
DefaultTreeSelectionModel
 Inherited
Returns all of the currently selected rows(int[]).
DefaultTreeSelectionModel
 Inherited
isPathSelected(path:TreePath):Boolean
Returns true if the path, path, is in the current selection.
DefaultTreeSelectionModel
 Inherited
isRowSelected(row:int):Boolean
Returns true if the row identified by row is selected.
DefaultTreeSelectionModel
 Inherited
isSelectionEmpty():Boolean
Returns true if the selection is currently empty.
DefaultTreeSelectionModel
 Inherited
removePropertyChangeListener(listener:Function):void
Removed a propertyChangeListener.
DefaultTreeSelectionModel
 Inherited
removeSelectionPath(path:TreePath, programmatic:Boolean = true):void
Removes path from the selection.
DefaultTreeSelectionModel
  
removeSelectionPaths(pPaths:Array, programmatic:Boolean = true):void
A null implementation that removes nothing.
EmptySelectionModel
 Inherited
removeTreeSelectionListener(listener:Function):void
Removed a treeSelectionListener.
DefaultTreeSelectionModel
 Inherited
Updates this object's mapping from TreePath to rows.
DefaultTreeSelectionModel
 Inherited
setRowMapper(newMapper:RowMapper):void
Sets the RowMapper instance.
DefaultTreeSelectionModel
 Inherited
setSelectionMode(mode:int):void
Sets the selection model, which must be one of SINGLE_TREE_SELECTION, CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.
DefaultTreeSelectionModel
 Inherited
setSelectionPath(path:TreePath, programmatic:Boolean = true):void
Sets the selection to path.
DefaultTreeSelectionModel
  
setSelectionPaths(pPaths:Array, programmatic:Boolean = true):void
A null implementation that selects nothing.
EmptySelectionModel
  
[static] Returns a shared instance of an empty selection model.
EmptySelectionModel
 Inherited
toString():String
Returns a string that displays and identifies this object's properties.
DefaultTreeSelectionModel
Protected Methods
 MethodDefined by
 Inherited
firePropertyChange(name:String, oldValue:*, newValue:*):void
DefaultTreeSelectionModel
 Inherited
Notifies all listeners that are registered for tree selection events on this object.
DefaultTreeSelectionModel
Public Constants
 ConstantDefined by
 InheritedCONTIGUOUS_TREE_SELECTION : int = 2
[static] Selection can only be contiguous.
DefaultTreeSelectionModel
 InheritedDISCONTIGUOUS_TREE_SELECTION : int = 4
[static] Selection can contain any number of items that are not necessarily contiguous.
DefaultTreeSelectionModel
 InheritedON_PROPERTY_CHANGED : String = "onPropertyChanged"
[static] onPropertyChanged(source:DefaultTreeSelectionModel, name:String, oldValue, newValue);
DefaultTreeSelectionModel
 InheritedON_SELECTION_CHANGED : String = "onSelectionChanged"
[static] onSelectionChanged(source:DefaultTreeSelectionModel, e:TreeSelectionEvent);
DefaultTreeSelectionModel
 InheritedSELECTION_MODE_PROPERTY : String = "selectionMode"
[static] Property name for selectionMode.
DefaultTreeSelectionModel
 InheritedSINGLE_TREE_SELECTION : int = 1
[static] Selection can only contain one path at a time.
DefaultTreeSelectionModel
Constructor detail
EmptySelectionModel()constructor
public function EmptySelectionModel()
Method detail
addSelectionPaths()method
public override function addSelectionPaths(pPaths:Array, programmatic:Boolean = true):void

A null implementation that adds nothing.

Parameters
pPaths:Array
 
programmatic:Boolean (default = true)
removeSelectionPaths()method 
public override function removeSelectionPaths(pPaths:Array, programmatic:Boolean = true):void

A null implementation that removes nothing.

Parameters
pPaths:Array
 
programmatic:Boolean (default = true)
setSelectionPaths()method 
public override function setSelectionPaths(pPaths:Array, programmatic:Boolean = true):void

A null implementation that selects nothing.

Parameters
pPaths:Array
 
programmatic:Boolean (default = true)
sharedInstance()method 
public static function sharedInstance():EmptySelectionModel

Returns a shared instance of an empty selection model.

Returns
EmptySelectionModel