Package | com.vmware.data |
Class | public class Constraint |
Inheritance | Constraint ![]() |
Implements | flash.events.IEventDispatcher |
Subclasses | CompositeConstraint, ObjectIdentityConstraint, PropertyConstraint, RelationalConstraint |
Note: this class was generated from its Java counterpart Constraint
Property | Defined By | ||
---|---|---|---|
targetType : String
Type of objects targeted by this constraint. | Constraint |
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void | Constraint | ||
dispatchEvent(event:Event):Boolean | Constraint | ||
hasEventListener(type:String):Boolean | Constraint | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | Constraint | ||
willTrigger(type:String):Boolean | Constraint |
targetType | property |
targetType:String
Type of objects targeted by this constraint.
Setting targetType might lead to a more optimal request.
This property can be used as the source for data binding.
public function get targetType():String
public function set targetType(value:String):void
addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
| |
priority:int (default = 0 )
| |
weakRef:Boolean (default = false )
|
dispatchEvent | () | method |
public function dispatchEvent(event:Event):Boolean
Parameters
event:Event |
Boolean |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
Parameters
type:String |
Boolean |
removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Parameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false )
|
willTrigger | () | method |
public function willTrigger(type:String):Boolean
Parameters
type:String |
Boolean |