ibm_ilog.diagram.Selectable
Object » ibm_ilog.diagram.Selectable
dojo.require("ibm_ilog.diagram.Selectable");
Selectable class group all the functionality to store and manage the selection state and style of a component. Link and Node must inherit this class in order to be selectable.
Property Summary
Method Summary
- isSelectable() return if the selectable can be selected
- isSelected() returns the selected state
- setSelectable(selectable) enable or disable selecting enabled: true to enable selecting
- setSelected(selected) sets the selected state
- toggleSelected() toggle the selection state
Attached Objects
Properties
Methods
enable or disable selecting
enabled:
true to enable selecting
Parameter | Type | Description |
---|---|---|
selectable |
true if the selection state could be changed
sets the selected state
Parameter | Type | Description |
---|---|---|
selected | the | new selection state |