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

Object » ibm_ilog.diagram.adorners

Methods

Adorner

The Adorner object provides a graphical decoration for a graph entity. The decoration is composed of a graphical representation given by the adorner template and also by a set of smaller AdornerHandle entities. Each adorner usually defines a fixed set of handles which can be used. AdornerHandles usually provide an interactive service to the user. For example, the handle can connect to the onmousedown event of its shapes to perform some kind of action on the adorned. If this action leads to an interaction process that is not instantaneous, then the AdornerHandle can push an Interactor object into the interactors stack, blocking other conflicting interactors temporarily while the action is performed. For example, during the creation of links some interactions may be disabled.

construction: Adorners don't use parameterized constructors. Instead, they rely on an initialize method. For example:

new ibm_ilog.diagram.editor.ResizeAdorner().initialize(diagram, templatePool, "ResizeAdorner0");

The reason for this is that the creation is implemented with a template method, and thus the template code implemented in the superclass needs the methods already overriden. Currently dojo executes superclass constructors before overriding methods redeclared in the subclass.

TODO: . update extendCreateShape for using deserialization . change individual props for composite: elemBounds instead of elemLeft, elemTop, elemW, elemH

AdornerHandle
AdornerWithHandles
AnnotationAdorner
An Adorner which displays node annotations
AnnotationTargetAdorner
HighlightedHandle
LinkAdorner

The LinkAdorner object provides a graphical decoration for a link graph entity. See Adorner for further

MoveAnnotationInteractor
TemplatedOverlay