| Package | org.aswing.tree |
| Class | public class EmptySelectionModel |
| Inheritance | EmptySelectionModel DefaultTreeSelectionModel flash.events.EventDispatcher |
EmptySelectionModel is a TreeSelectionModel
that does not allow anything to be selected.
| Method | Defined by | ||
|---|---|---|---|
| EmptySelectionModel | |||
![]() |
addPropertyChangeListener(listener:Function, priority:int = 0, useWeakReference:Boolean = false):void
Adds a PropertyChangeListener to the listener list.
| DefaultTreeSelectionModel | |
![]() |
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 | ||
![]() |
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 | |
![]() |
clearSelection(programmatic:Boolean = true):void
Empties the current selection.
| DefaultTreeSelectionModel | |
![]() |
Returns the last path that was added.
| DefaultTreeSelectionModel | |
![]() |
getLeadSelectionRow():int
Returns the lead selection index.
| DefaultTreeSelectionModel | |
![]() |
getMaxSelectionRow():int
Returns the largest value obtained from the RowMapper for the
current set of selected TreePaths.
| DefaultTreeSelectionModel | |
![]() |
getMinSelectionRow():int
Returns the smallest value obtained from the RowMapper for the
current set of selected TreePaths.
| DefaultTreeSelectionModel | |
![]() |
Returns the RowMapper instance that is able to map a TreePath to a
row.
| DefaultTreeSelectionModel | |
![]() |
getSelectionCount():int
Returns the number of paths that are selected.
| DefaultTreeSelectionModel | |
![]() |
getSelectionMode():int
Returns the selection mode, one of
SINGLE_TREE_SELECTION,
DISCONTIGUOUS_TREE_SELECTION or
CONTIGUOUS_TREE_SELECTION. | DefaultTreeSelectionModel | |
![]() |
Returns the first path in the selection.
| DefaultTreeSelectionModel | |
![]() |
getSelectionPaths():Array
Returns the paths(TreePath[]) in the selection.
| DefaultTreeSelectionModel | |
![]() |
getSelectionRows():Array
Returns all of the currently selected rows(int[]).
| DefaultTreeSelectionModel | |
![]() |
isPathSelected(path:TreePath):Boolean
Returns true if the path,
path,
is in the current selection. | DefaultTreeSelectionModel | |
![]() |
isRowSelected(row:int):Boolean
Returns true if the row identified by
row is selected. | DefaultTreeSelectionModel | |
![]() |
isSelectionEmpty():Boolean
Returns true if the selection is currently empty.
| DefaultTreeSelectionModel | |
![]() |
removePropertyChangeListener(listener:Function):void
Removed a propertyChangeListener.
| DefaultTreeSelectionModel | |
![]() |
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 | ||
![]() |
removeTreeSelectionListener(listener:Function):void
Removed a treeSelectionListener.
| DefaultTreeSelectionModel | |
![]() |
resetRowSelection():void
Updates this object's mapping from TreePath to rows.
| DefaultTreeSelectionModel | |
![]() |
setRowMapper(newMapper:RowMapper):void
Sets the RowMapper instance.
| DefaultTreeSelectionModel | |
![]() |
setSelectionMode(mode:int):void
Sets the selection model, which must be one of SINGLE_TREE_SELECTION,
CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.
| DefaultTreeSelectionModel | |
![]() |
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 | ||
![]() |
toString():String
Returns a string that displays and identifies this
object's properties.
| DefaultTreeSelectionModel | |
| EmptySelectionModel | () | constructor |
public function EmptySelectionModel()
| addSelectionPaths | () | method |
public override function addSelectionPaths(pPaths:Array, programmatic:Boolean = true):void A null implementation that adds nothing.
pPaths:Array |
|
programmatic:Boolean (default = true) |
| removeSelectionPaths | () | method |
public override function removeSelectionPaths(pPaths:Array, programmatic:Boolean = true):void A null implementation that removes nothing.
pPaths:Array |
|
programmatic:Boolean (default = true) |
| setSelectionPaths | () | method |
public override function setSelectionPaths(pPaths:Array, programmatic:Boolean = true):void A null implementation that selects nothing.
pPaths:Array |
|
programmatic:Boolean (default = true) |
| sharedInstance | () | method |
public static function sharedInstance():EmptySelectionModelReturns a shared instance of an empty selection model.
ReturnsEmptySelectionModel |