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.ComponentAdorner

Object » graphCreator » dojox.gfx.Group » ibm_ilog.diagram.adorners.TemplatedOverlay » ibm_ilog.diagram.adorners.Adorner » ibm_ilog.diagram.editor.adorners.ComponentAdorner
dojo.require("ibm_ilog.diagram.editor.adorners.ComponentAdorner");

An adorner for adorning components of Graph elements.

Method Summary

  • activate() activates the adorner
  • constructor()
  • deactivate() deactivates the adorner
  • destroy() removes the diagram connection
  • 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.
  • getComponent() Returns the attachPoint name of the visual shape associated with the property.
  • getDiagram() gets the diagram
  • getId()
  • getViewport() gets the viewport
  • initialize(diagram, templatePool, templateId) Initializes an Adorner after construction.
  • setAdorned(element) apply the adorner to the given element
  • setComponent(component) Sets the attachPoint name of visual shape associated with the property. If null the whole element shape is asummed.

Event Summary

Methods

constructor
Defined by dojox.gfx.Group
destroy
removes the diagram connection
forceUpdate
Used to clear the timeout and update the adorner shape immediately.
getBounds
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.
ParameterTypeDescription
parentdojox.gfx.GroupThe 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.
getComponent
Returns the attachPoint name of the visual shape associated with the property.
getId
Defined by dojox.gfx.Group
initialize
Initializes an Adorner after construction.
ParameterTypeDescription
diagramTheDiagram Dijit
templatePoolThetemplate pool. The adorner gets its template from this pool using the templateId argument, and also for instantiating its handles with the templates from the pool.
templateIdtheId for the adorner template in the pool
setAdorned
apply the adorner to the given element
ParameterTypeDescription
element
setComponent
Sets the attachPoint name of visual shape associated with the property. If null the whole element shape is asummed.
ParameterTypeDescription
componentShape|string|null

Events