IBM ILOG Dojo Diagrammer 1.1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

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

Attached Objects

Properties

Util

Methods

isSelectable
return if the selectable can be selected
isSelected
true if selected
returns the selected state
setSelectable
enable or disable selecting enabled: true to enable selecting
ParameterTypeDescription
selectable
setSelected
true if the selection state could be changed
sets the selected state
ParameterTypeDescription
selectedthenew selection state
toggleSelected
true if the selection state could be changed
toggle the selection state