Decorator
Superclass for decorators. You should extend this class when you create a decorator.
Implements
Methods
clear()
clear():
void
Removes all elements added by this decorator.
Returns
void
reset()
abstractreset(params):void
This method is invoked when the model's graph is cleared. You may or may not want to do anything in response to that -
one option is to call clear() on the decorator to remove its elements.
Parameters
params
Returns
void
Implementation of
Properties
incremental
abstractincremental:boolean
When true, indicates that this Decorator updates its associated elements incrementally with each call. When false, the
surface will clear everything associated with this decorator prior to invoking decorate. The default value for this is false,
meaning the surface will clear everything prior to calling decorate.