| Package | org.servebox.foundry.widget |
| Class | public class WidgetProperty |
| Implements | flash.events.IEventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| name : String
The widget proeprty name.
| WidgetProperty | ||
| value : Object
The widget proeprty name.
| WidgetProperty | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new WidgetProperty object.
| WidgetProperty | ||
|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object
so that the listener receives notification of an event.
| WidgetProperty | ||
|
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| WidgetProperty | ||
|
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| WidgetProperty | ||
|
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| WidgetProperty | ||
|
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.
| WidgetProperty | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| WidgetProperty | ||||
| name | property |
public var name:StringThe widget proeprty name.
This property can be used as the source for data binding.
| value | property |
value:Object [read-write]The widget proeprty name.
This property can be used as the source for data binding.
Implementation public function get value():Object
public function set value(value:Object):void
| WidgetProperty | () | constructor |
public function WidgetProperty()Creates a new WidgetProperty object.
| addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):voidRegisters an event listener object with an EventDispatcher object so that the listener receives notification of an event. You can register event listeners on all nodes in the display list for a specific type of event, phase, and priority.
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
|
priority:int (default = 0.0) |
|
useWeakReference:Boolean (default = false) |
| dispatchEvent | () | method |
public function dispatchEvent(event:Event):BooleanDispatches an event into the event flow. The event target is the EventDispatcher object upon which dispatchEvent() is called.
Parametersevent:Event |
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 |
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidRemoves a listener from the EventDispatcher object. If there is no matching listener registered with the EventDispatcher object, a call to this method has no effect.
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
| 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. This method returns true if an event listener is triggered during any phase of the event flow when an event of the specified type is dispatched to this EventDispatcher object or any of its descendants.
Parameterstype:String |
Boolean |
| change | event |