| Package | com.degrafa.repeaters |
| Class | public class PropertyModifier |
| Inheritance | PropertyModifier DegrafaObject |
| Implements | IRepeaterModifier |
| 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 | |
| iteration : Number [read-only]
The current iteration of an active modification.
| PropertyModifier | ||
| modifier : Object | PropertyModifier | ||
| MODIFIER_ADD : String = "add" [static]
| PropertyModifier | ||
| MODIFIER_DIVIDE : String = "divide" [static]
| PropertyModifier | ||
| MODIFIER_MULTIPLY : String = "multiply" [static]
| PropertyModifier | ||
| MODIFIER_NONE : String = "none" [static]
| PropertyModifier | ||
| modifierOperator : String | PropertyModifier | ||
| MODIFIER_SUBTRACT : String = "subtract" [static]
| PropertyModifier | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
| property : String | PropertyModifier | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| targets : Array | PropertyModifier | ||
| Method | Defined by | ||
|---|---|---|---|
|
The PropertyModifier constructor.
| PropertyModifier | ||
![]() |
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 | |
|
apply():void
This applies our numeric modifier or array of modifiers to
the property of our geometryObject.
| PropertyModifier | ||
|
beginModify(sourceObject:Object):void
This tells the modifier that it will be doing iterations and
modifying the source object.
| PropertyModifier | ||
![]() |
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():void
This ends the modification loop and we need to set
back our modified property to its original state.
| PropertyModifier | ||
![]() |
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 | |
| iteration | property |
iteration:Number [read-only]The current iteration of an active modification.
Implementation public function get iteration():Number
| modifier | property |
modifier:Object [read-write]Implementation
public function get modifier():Object
public function set modifier(value:Object):void
| MODIFIER_ADD | property |
public static var MODIFIER_ADD:String = "add"
| MODIFIER_DIVIDE | property |
public static var MODIFIER_DIVIDE:String = "divide"
| MODIFIER_MULTIPLY | property |
public static var MODIFIER_MULTIPLY:String = "multiply"
| MODIFIER_NONE | property |
public static var MODIFIER_NONE:String = "none"
| modifierOperator | property |
modifierOperator:String [read-write]Implementation
public function get modifierOperator():String
public function set modifierOperator(value:String):void
| MODIFIER_SUBTRACT | property |
public static var MODIFIER_SUBTRACT:String = "subtract"
| property | property |
property:String [read-write]Implementation
public function get property():String
public function set property(value:String):void
| targets | property |
targets:Array [read-write]Implementation
public function get targets():Array
public function set targets(value:Array):void
| PropertyModifier | () | constructor |
public function PropertyModifier()The PropertyModifier constructor.
| apply | () | method |
public function apply():voidThis applies our numeric modifier or array of modifiers to the property of our geometryObject.
| beginModify | () | method |
public function beginModify(sourceObject:Object):voidThis tells the modifier that it will be doing iterations and modifying the source object.
ParameterssourceObject:Object |
| end | () | method |
public function end():voidThis ends the modification loop and we need to set back our modified property to its original state.