ibm_ilog.diagram.editor.adorners.LinkIntermediatePointsAdorner
Object » graphCreator » dojox.gfx.Group » ibm_ilog.diagram.adorners.TemplatedOverlay » ibm_ilog.diagram.adorners.Adorner » ibm_ilog.diagram.adorners.AdornerWithHandles » ibm_ilog.diagram.adorners.LinkAdorner » ibm_ilog.diagram.editor.adorners.LinkIntermediatePointsAdorner
dojo.require("ibm_ilog.diagram.editor.adorners.LinkIntermediatePointsAdorner");
Method Summary
- activate() activates all the adorner handles
- constructor()
- createAllHandles(element) This method creates all the necessary LinkIntermediatePointsHandler
- deactivate() deactivates all the adorner handles
- destroy() removes the diagram connection
- echoEvent(e)
- enableHandleInteractorToAdd(enabled)
- forceUpdate() Used to clear the timeout and update the adorner shape immediately.
- getAdorned() gets the bounded element
- getBaseShape()
- getBounds(parent) Returns the bounds of this node in the coordinate space of the specified parent.
- getDiagram() gets the diagram
- getId()
- getViewport() gets the viewport
- initialize(diagram, templatePool, templateId) Initializes an Adorner after construction.
- rebindAdorned() rebind the adornet to the same adorned link. This method should be called when the number of intermediate links varies.
- setAdorned(element) returns do not set the adorner apply the adorner to the given element. This method creates all the necessary LinkIntermediatePointsHandler and deletes any previously created instances.
Event Summary
Methods
activates all the adorner handles
This method creates all the necessary LinkIntermediatePointsHandler
Parameter | Type | Description |
---|---|---|
element |
deactivates all the adorner handles
Parameter | Type | Description |
---|---|---|
e |
Defined by ibm_ilog.diagram.adorners.TemplatedOverlay
Used to clear the timeout and update the adorner shape immediately.
Defined by ibm_ilog.diagram.adorners.TemplatedOverlay
Defined by ibm_ilog.diagram.adorners.TemplatedOverlay
A rectangle (i.e. an object with x/y/width/height properties) containing
the bounds of the node in the specified coordinate space.
Returns the bounds of this node in the coordinate space of the specified parent.
Parameter | Type | Description |
---|---|---|
parent | dojox.gfx.Group | The parent object that determines the coordinate space the bounds are relative to. If null or undefined, the bounds of the node relative to its parent are returned. |
Overrides ibm_ilog.diagram.adorners.TemplatedOverlay, ibm_ilog.diagram.adorners.Adorner, ibm_ilog.diagram.adorners.AdornerWithHandles, ibm_ilog.diagram.adorners.LinkAdorner
Initializes an Adorner after construction.
Parameter | Type | Description |
---|---|---|
diagram | ||
templatePool | ||
templateId |
rebind the adornet to the same adorned link.
This method should be called when the number of intermediate links varies.
Returns do not set the adorner
apply the adorner to the given element. This method creates all the necessary LinkIntermediatePointsHandler and deletes any previously created instances.
Parameter | Type | Description |
---|---|---|
element |
Events
Defined by ibm_ilog.diagram.adorners.TemplatedOverlay