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
()
Index
Methods
Methods
isSelected
()
Boolean
Returns true
if this node is currently selected.
Returns:
true
if this node is currently selected, false
otherwise.
select
-
[options]
Selects this node.
Parameters:
-
[options]
Object optionalOptions.
-
[silent=false]
Boolean optionalIf
true
, theselect
event will be suppressed. -
[src]
String optionalSource 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 optionalOptions.
-
[silent=false]
Boolean optionalIf
true
, theunselect
event will be suppressed. -
[src]
String optionalSource 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.
-