Tree.Node.Selectable Class
+ + + + +Tree.Node extension that adds methods useful for nodes in trees that use the
+Tree.Selectable extension.
Constructor
+Tree.Node.Selectable
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Item Index
+ + +Methods
+ +-
+
+
- + isSelected + + + + + +
- + select + + + + + +
- + unselect + + + + + +
Methods
+ + +isSelected
+
+
+ ()
+
+
+
+
+ Boolean
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns true if this node is currently selected.
Returns:
+ + +select
+
+
+ -
+
+
-
+
+
[options]+ +
+
+
Selects this node.
+Parameters:
+ +-
+
+
-
+
+
[options]+ Object + optional + + + + +++ + +Options.
+-
+
+
-
+
+
[silent=false]+ Boolean + optional + + +++ + +If
+true, theselectevent + will be suppressed.
+
+ -
+
+
[src]+ String + optional + + +++ + +Source of the change, to be passed along + to the event facade of the resulting event. This can be used to + distinguish between changes triggered by a user and changes + triggered programmatically, for example.
+
+
+
+
+ -
+
+
unselect
+
+
+ -
+
+
-
+
+
[options]+ +
+
+
Unselects this node.
+Parameters:
+ +-
+
+
-
+
+
[options]+ Object + optional + + + + +++ + +Options.
+-
+
+
-
+
+
[silent=false]+ Boolean + optional + + +++ + +If
+true, theunselectevent + will be suppressed.
+
+ -
+
+
[src]+ String + optional + + +++ + +Source of the change, to be passed along + to the event facade of the resulting event. This can be used to + distinguish between changes triggered by a user and changes + triggered programmatically, for example.
+
+
+
+
+ -
+
+
