Packagecom.vmware.ui.objectrepresentation.model
Classpublic class IconLabelSpec
InheritanceIconLabelSpec Inheritance Object
Implements flash.events.IEventDispatcher

Contains information about an icon and a label and a set of conditions to be satisfied



Public Properties
 PropertyDefined By
  conditionalProperties : Array
(Optional) An array of property names, whose values are compared with "true".
IconLabelSpec
  conditions : Array
(Optional) An array of PropertyConstraints that must all be satisfied in order for the icon and label to be applicable.
IconLabelSpec
  iconId : String
(Optional) Resource id of an icon.
IconLabelSpec
  labelId : String
(Optional) Resource id of a label or the label itself.
IconLabelSpec
Public Methods
 MethodDefined By
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
IconLabelSpec
  
dispatchEvent(event:Event):Boolean
IconLabelSpec
  
hasEventListener(type:String):Boolean
IconLabelSpec
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
IconLabelSpec
  
willTrigger(type:String):Boolean
IconLabelSpec
Property Detail
conditionalPropertiesproperty
conditionalProperties:Array

(Optional) An array of property names, whose values are compared with "true". The AND operation is implied if there are more than one property.

You can add the negation operator "!" in front of a property name to test for the opposite value, for example "!isVmTemplate". If the property value is not a boolean, null values or empty strings are considered "false", the rest is "true".

This property can be used as the source for data binding.


Implementation
    public function get conditionalProperties():Array
    public function set conditionalProperties(value:Array):void
conditionsproperty 
conditions:Array

(Optional) An array of PropertyConstraints that must all be satisfied in order for the icon and label to be applicable.

This property can be used as the source for data binding.


Implementation
    public function get conditions():Array
    public function set conditions(value:Array):void

See also

iconIdproperty 
iconId:String

(Optional) Resource id of an icon.

This property can be used as the source for data binding.


Implementation
    public function get iconId():String
    public function set iconId(value:String):void
labelIdproperty 
labelId:String

(Optional) Resource id of a label or the label itself.

This property can be used as the source for data binding.


Implementation
    public function get labelId():String
    public function set labelId(value:String):void
Method Detail
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

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
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

Returns
Boolean