| Package | com.degrafa.core |
| Class | public class DegrafaObject |
| Implements | IDegrafaObject, mx.core.IMXMLObject |
| Subclasses | BitmapFill, BlendFill, ComplexFill, DegrafaCollection, DegrafaSkinManipulator, Geometry, GradientFillBase, GradientStop, GraphicPointEX, Segment, SolidFill, SolidStroke, Transform |
| Property | Defined by | ||
|---|---|---|---|
| document : Object [read-only]
The MXML document that created this object.
| DegrafaObject | ||
| enableEvents : Boolean
Enable events for this object.
| DegrafaObject | ||
| hasEventManager : Boolean [read-only]
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 | ||
| name : String [read-only]
The name that refers to this object.
| DegrafaObject | ||
| suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | ||
| Property | Defined by | ||
|---|---|---|---|
| eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | ||
| Method | Defined by | ||
|---|---|---|---|
|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):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 | ||
|
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 | ||
|
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 | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| DegrafaObject | ||||
| DegrafaObject | ||||
| document | property |
document:Object [read-only]The MXML document that created this object.
Implementation public function get document():Object
| enableEvents | property |
enableEvents:Boolean [read-write]Enable events for this object.
Implementation public function get enableEvents():Boolean
public function set enableEvents(value:Boolean):void
| eventDispatcher | property |
eventDispatcher:EventDispatcher [read-write]EventDispatcher instance for this object.
Implementation protected function get eventDispatcher():EventDispatcher
protected function set eventDispatcher(value:EventDispatcher):void
| hasEventManager | property |
hasEventManager:Boolean [read-only]Tests to see if a EventDispatcher instance has been created for this object.
Implementation public function get hasEventManager():Boolean
| id | property |
id:String [read-write]The identifier used by document to refer to this object.
Implementation public function get id():String
public function set id(value:String):void
| name | property |
name:String [read-only]The name that refers to this object.
Implementation public function get name():String
| suppressEventProcessing | property |
suppressEventProcessing:Boolean [read-write]Temporarily suppress event processing for this object.
Implementation public function get suppressEventProcessing():Boolean
public function set suppressEventProcessing(value:Boolean):void
| addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidRegisters an event listener object with an EventDispatcher object so that the listener receives notification of an event.
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
|
priority:int (default = 0) |
|
useWeakReference:Boolean (default = false) |
See also
| dispatchEvent | () | method |
public function dispatchEvent(evt:Event):BooleanDispatches an event into the event flow.
Parametersevt:Event |
Boolean |
See also
| dispatchPropertyChange | () | method |
public function dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):BooleanDispatches an property change event into the event flow.
Parametersbubbles:Boolean (default = false) |
|
property:Object (default = null) |
|
oldValue:Object (default = null) |
|
newValue:Object (default = null) |
|
source:Object (default = null) |
Boolean |
| hasEventListener | () | method |
public function hasEventListener(type:String):BooleanChecks whether the EventDispatcher object has any listeners registered for a specific type of event.
Parameterstype:String |
Boolean |
See also
| initChange | () | method |
public function initChange(property:String, oldValue:Object, newValue:Object, source:Object):voidHelper function for dispatching property changes
Parametersproperty:String |
|
oldValue:Object |
|
newValue:Object |
|
source:Object |
| initialized | () | method |
public function initialized(document:Object, id:String):voidCalled after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
Parametersdocument:Object — The MXML document that created this object.
|
|
id:String — The identifier used by document to refer to this object.
|
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidRemoves a listener from the EventDispatcher object.
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
See also
| willTrigger | () | method |
public function willTrigger(type:String):BooleanChecks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
Parameterstype:String |
Boolean |
See also
| initialize | event |
| propertyChange | event |