| Package | com.degrafa.decorators |
| Class | public class RenderDecoratorBase |
| Inheritance | RenderDecoratorBase DecoratorBase DegrafaObject |
| Implements | IRenderDecorator |
| Subclasses | SloppyLineDecorator, SVGDashLine |
| Property | Defined by | ||
|---|---|---|---|
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | isInitialized : Boolean | DegrafaObject | |
| isValid : Boolean [read-only]
A test, which is used to skip a particular decorator if it determines its current state is not valid or would
not have an effect based on its current settings.
| RenderDecoratorBase | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
| RenderDecoratorBase | |||
![]() |
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 | |
|
curveTo(cx:Number, cy:Number, x:Number, y:Number, graphics:Graphics):void
curveTo proxy method.
| RenderDecoratorBase | ||
![]() |
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 | |
|
lineTo(x:Number, y:Number, graphics:Graphics):void
lineTo proxy method.
| RenderDecoratorBase | ||
|
moveTo(x:Number, y:Number, graphics:Graphics):void
moveTo proxy method.
| RenderDecoratorBase | ||
![]() |
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 | |
| isValid | property |
isValid:Boolean [read-only]A test, which is used to skip a particular decorator if it determines its current state is not valid or would not have an effect based on its current settings. A decorator is not executed if this returns false at the time it would normally be executed.
Implementation public function get isValid():Boolean
| RenderDecoratorBase | () | constructor |
public function RenderDecoratorBase()
| curveTo | () | method |
public function curveTo(cx:Number, cy:Number, x:Number, y:Number, graphics:Graphics):voidcurveTo proxy method. The graphics property is the current context being rendered to. This method is expected to be overridden by subclasses.
Parameterscx:Number |
|
cy:Number |
|
x:Number |
|
y:Number |
|
graphics:Graphics |
| lineTo | () | method |
public function lineTo(x:Number, y:Number, graphics:Graphics):voidlineTo proxy method. The graphics property is the current context being rendered to. This method is expected to be overridden by subclasses.
Parametersx:Number |
|
y:Number |
|
graphics:Graphics |
| moveTo | () | method |
public function moveTo(x:Number, y:Number, graphics:Graphics):voidmoveTo proxy method. The graphics property is the current context being rendered to. This method is expected to be overridden by subclasses.
Parametersx:Number |
|
y:Number |
|
graphics:Graphics |