ibm_ilog.diagram.adorners.TemplatedOverlay
Object » graphCreator » dojox.gfx.Group » ibm_ilog.diagram.adorners.TemplatedOverlay
dojo.require("ibm_ilog.diagram.adorners.TemplatedOverlay");
dojox.gfx.Group, ibm_ilog.diagram.templating._DiagramTemplated
Method Summary
- applyTemplate(template, context) Applies the specified template on this instance.
- constructor()
- endDTLBatch()
- getId()
- layoutShape(target)
- shallowInstantiateAt(target, template)
- startDTLBatch()
Event Summary
- onPropertyChanged(property, oldValue, newValue) Called when a bindable property has changed.
- onTemplateApplied(template) Invoked when the template has been applied.
- onTemplateError(template, e) Invoked if an error is raised when applying the specified template .
Methods
Defined by ibm_ilog.diagram.templating._DiagramTemplated
Applies the specified template on this instance.
Parameter | Type | Description |
---|---|---|
template | Object | or string : the template to apply. |
context | Object | : the runtime context. Optional. If not specified, the runtime context is this shape instance. |
Defined by ibm_ilog.diagram.templating._DiagramTemplated
Parameter | Type | Description |
---|---|---|
target | {shape} |
Defined by ibm_ilog.diagram.templating._DiagramTemplated
Parameter | Type | Description |
---|---|---|
target | ||
template |
Events
Defined by ibm_ilog.diagram.templating._DiagramTemplated
Bindable properties are properties defined on a Node or a Link and that can be used in templates using bindings.
Parameter | Type | Description |
---|---|---|
property | ||
oldValue | ||
newValue |
Defined by ibm_ilog.diagram.templating._DiagramTemplated
Invoked when the template has been applied.
Parameter | Type | Description |
---|---|---|
template | Object | or string : the template to apply. |