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.editor.adorners

Object » ibm_ilog.diagram.editor.adorners

Methods

ComponentAdorner
An adorner for adorning components of Graph elements.
ConnectionAdorner
ConnectionHandle
ConnectionTargetAdorner
ConnectionTargetHandle
LinkConnectionAdorner
LinkConnectionHandle
LinkIntermediatePointsAddHandle
LinkIntermediatePointsAdorner
LinkIntermediatePointsHandle
ResizeAdorner

This Adorner creates 4 ResizeHandles, one at each corner of the adorned bouding box. Each ResizeHandle allows to grab that corner of the bounding box and resize the adornee by moving that corner.

ResizeHandle
A handle that is associated with a corner of the adorner bouding box and allows to resize the adorned by grabbing that corner.
TextEditAdorner

TextEditAdorner is an adorner that displays a TextBox for editing a property of a Graph element. The user must provide an attachPoint name for the property which is used to calculate the position of the TextBox, and also a getter and setter of the property at the Graph element. usage: The following code starts editing the "label" attribute of "node", using getLabel/setLabel as accessorsm and "textShape" as value representation for reference when positioning the TextBox

textEditAdorner.setAccessors( function(adorned){ return adorned.getLabel(); }, function(adorned,value){ adorned.setLabel(value); }); textEditAdorner.setComponent("textShape"); textEditAdorner.setAdorned(node);