Packagecom.adobe.portfolio.properties
Classpublic class PropertyColorValue
InheritancePropertyColorValue Inheritance PropertyNumberValue Inheritance PropertyValue Inheritance flash.events.EventDispatcher

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

This class handles property values that are colors.



Public Properties
 PropertyDefined By
 Inheriteddescription : String
A localized description string suitable for display in the user interface.
PropertyValue
 Inheriteddirty : Boolean
Returns true if the property has been modified and needs to be saved, false otherwise.
PropertyValue
 Inheritedenabled : Boolean
Returns a value of true if the control(s) representing this property should be enabled in the user interface.
PropertyValue
 InheritedhasMinMax : Boolean
[override] [read-only] Returns true if the propertyNumberValue has either a minimum value or a maximum value or both set; returns false otherwise.
PropertyNumberValue
 InheritedisInt : Boolean
[read-only] Returns true if the propertyNumberValue is an int; returns false otherwise.
PropertyNumberValue
 InheritedisUint : Boolean
[read-only] Returns true if the propertyNumberValue is an unsigned integer; returns false otherwise.
PropertyNumberValue
 Inheritedlabel : String
The localized label string for this IProperty, suitable for display in the user interface.
PropertyValue
 InheritedmaxValue : Number
[override] [read-only] Returns the maximum value set for the propertyNumberValue.
PropertyNumberValue
 InheritedminValue : Number
[override] [read-only] Returns the minimum value set for the propertyNumberValue.
PropertyNumberValue
 Inheritedname : String
The name for this IProperty.
PropertyValue
 InheritednumValue : Number
The value as a number.
PropertyNumberValue
 Inheritedsubvalues : Array
[read-only] An array of all properties (of type IPropertyValue) within this list.
PropertyValue
 InheritedsubvaluesLocked : Boolean
[read-only] Returns a value of true if elements of subvalues for this property cannot be added or removed.
PropertyValue
 InheritedsubvaluesType : String
[read-only] Returns the type of the properties within this list; one of the string constants defined by PropertyType
PropertyValue
  type : String
[override] [read-only] Returns the type, which is COLOR, of the property.
PropertyColorValue
 Inheritedvalue : Object
The value for this IProperty.
PropertyValue
 Inheritedvisible : Boolean
Returns a value of true if the control(s) representing this property should be displayed in the user interface.
PropertyValue
Protected Properties
 PropertyDefined By
 InheriteddescriptionDefault : String
The default description string to be used when the localized description is unavailable.
PropertyValue
 InheriteddescriptionKey : String
The string used as a key to request a localized description string.
PropertyValue
 InheriteddontPlayEffectsCounter : uint = 0
A counter used to keep track of when to run the side effects.
PropertyValue
 Inheritedinitializing : Boolean
Returns true if the property is in an initializing state, false otherwise.
PropertyValue
 InheritedlabelDefault : String
The default label string to be used when the localized label is unavailable.
PropertyValue
 InheritedlabelKey : String
The string used as a key to request a localized label string.
PropertyValue
 Inherited_maxValue : Number = Infinity
PropertyNumberValue
 Inherited_minValue : Number = -Infinity
PropertyNumberValue
 InheritednumType : String
PropertyNumberValue
 Inheritedparent : Object
The parent object of this property.
PropertyValue
Public Methods
 MethodDefined By
  
PropertyColorValue(target:IEventDispatcher = null)
Constructor
PropertyColorValue
 Inherited
createPropertyValue(valueXML:XML, parent:Object):PropertyValue
[static] Create a new PropertyValue instance of the correct type and assign parent as its parent value.
PropertyValue
 Inherited
Create an XML object with all its XML elements.
PropertyValue
  
loadFromXML(valueXML:XML):Boolean
[override] Loads the color value from the specified XML value.
PropertyColorValue
 Inherited
Run all the effects in the selectEffectArray If dontPlayEffectsCounter is false (not 0) playSelectEffects() will not run the effects.
PropertyValue
 Inherited
setValueFromString(valueString:String):Boolean
[override] Set the property number value equal to the specified string.
PropertyNumberValue
Protected Methods
 MethodDefined By
  
[override] Returns the XML element name for color property values
PropertyColorValue
 Inherited
setXMLElements(propertyXML:XML):void
[override] Sets the XML properties of the propertyXML object passed to it to the value of the current propertyNumberValue.
PropertyNumberValue
Public Constants
 ConstantDefined By
  XML_ELEMENT_NAME : String = PropertyColor
[static] The XML element name for color property values
PropertyColorValue
Property Detail
typeproperty
type:String  [read-only] [override]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Returns the type, which is COLOR, of the property.


Implementation
    public function get type():String
Constructor Detail
PropertyColorValue()Constructor
public function PropertyColorValue(target:IEventDispatcher = null)

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor

Parameters
target:IEventDispatcher (default = null)
Method Detail
getXMLElementName()method
override protected function getXMLElementName():String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Returns the XML element name for color property values

Returns
String
loadFromXML()method 
override public function loadFromXML(valueXML:XML):Boolean

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Loads the color value from the specified XML value.

Parameters

valueXML:XML — The xml value object that contains the color value to load.

Returns
Boolean
Constant Detail
XML_ELEMENT_NAMEConstant
public static const XML_ELEMENT_NAME:String = PropertyColor

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The XML element name for color property values