RasterTreeItem.setSelectable( isSelectable )

Specifies if an item is selectable or not. When an item is in unselectable mode it cannot be selected by the user and cannot be dragged. It does however generate "click" events.

Parameters

Name Type   Description
isSelectable boolean True enables the items to be selectable (default) False prevents the item from being selected.

Returns

Type Description
object The tree item object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López