| Package | com.degrafa.decorators |
| Class | public class DecoratorBase |
| Inheritance | DecoratorBase DegrafaObject |
| Implements | IDecorator |
| Subclasses | RenderDecoratorBase |
| Method | Defined by | ||
|---|---|---|---|
| DecoratorBase | |||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
| DegrafaObject | |
|
end(stack:CommandStack):void
Called at the end of the render phase for the current object.
| DecoratorBase | ||
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
|
initialize(stack:CommandStack):void
Called during render setup and provides the opportunity to add
item delegates or perform other initialization tasks.
| DecoratorBase | ||
![]() |
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
| DegrafaObject | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| DegrafaObject | |
| DecoratorBase | () | constructor |
public function DecoratorBase()
| end | () | method |
public function end(stack:CommandStack):voidCalled at the end of the render phase for the current object. Provides opportunity to perform any post-decoration tasks, including any cleanup/reset activities before next request. To be overridden in sub classes.
Parametersstack:CommandStack |
| initialize | () | method |
public function initialize(stack:CommandStack):voidCalled during render setup and provides the opportunity to add item delegates or perform other initialization tasks. Decorators should use this to reset any tracking variables back to their original state, as the same decorator may have been used previously and there is no 'end' call at the completion of the rendering phase. To be overridden in sub classes.
Parametersstack:CommandStack |