Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
This interface implements IProperty and provides support
for properties displayed in the user interface.
description:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
A localized description string suitable for display in the user interface.
This property can be used as the source for data binding.
Implementation public function get description():String public function set description(value:String):voidprotected var descriptionDefault:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The default description string to be used when the localized description is unavailable.
protected var descriptionKey:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The string used as a key to request a localized description string.
dirty:Boolean
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns true if the property has been modified and needs to be saved,
false otherwise.
Implementation public function get dirty():Boolean public function set dirty(value:Boolean):voidprotected var dontPlayEffectsCounter:uint = 0
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
A counter used to keep track of when to run the side effects.
There are two types of effects:
Changes in properties
Changes in color values for the color palette
As long as dontPlayEffectsCounter is not 0
playSelectEffects() will not run the effects.
enabled:Boolean
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns a value of true if the control(s) representing this property
should be enabled in the user interface. It returns false otherwise.
This property can be used as the source for data binding.
Implementation public function get enabled():Boolean public function set enabled(value:Boolean):voidhasMinMax:Boolean [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns true if this property has meaningful minimum or maximum values.
Implementation public function get hasMinMax():Booleaninitializing:Boolean
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns true if the property is in an initializing state,
false otherwise.
Implementation protected function get initializing():Boolean protected function set initializing(value:Boolean):voidlabel:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The localized label string for this IProperty, suitable for display in the user interface.
This property can be used as the source for data binding.
Implementation public function get label():String public function set label(value:String):voidprotected var labelDefault:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The default label string to be used when the localized label is unavailable.
protected var labelKey:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The string used as a key to request a localized label string.
maxValue:Number [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The maximum value of this property, as specified by the navigator.
Implementation public function get maxValue():NumberminValue:Number [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The minimum value of this property, as specified by the navigator.
Implementation public function get minValue():Numbername:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The name for this IProperty.
This property can be used as the source for data binding.
Implementation public function get name():String public function set name(value:String):voidprotected var parent:Object
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The parent object of this property.
subvalues:Array [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
An array of all properties (of type IPropertyValue) within this list.
Implementation public function get subvalues():ArraysubvaluesLocked:Boolean [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns a value of true if elements of subvalues for this property cannot be added or removed.
Implementation public function get subvaluesLocked():BooleansubvaluesType:String [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns the type of the properties within this list;
one of the string constants defined by PropertyType
Implementation public function get subvaluesType():Stringtype:String [read-only]
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Identifies the data type of this IProperty.
Implementation public function get type():Stringvalue:Object
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The value for this IProperty.
This property can be used as the source for data binding.
Implementation public function get value():Object public function set value(value:Object):voidvisible:Boolean
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Returns a value of true if the control(s) representing this property
should be displayed in the user interface. It returns false otherwise.
This property can be used as the source for data binding.
Implementation public function get visible():Boolean public function set visible(value:Boolean):voidpublic function PropertyValue(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)
public static function createPropertyValue(valueXML:XML, parent:Object):PropertyValue
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Create a new PropertyValue instance of the correct type and
assign parent as its parent value.
Parameters
valueXML :XML — the value to set
parent :Object — the parent object for the property
Returns public function generateXML():XML
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Create an XML object with all its XML elements.
Returns 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.
Returns 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
Load the specified value from an XML object.
If possible, the localized label and description will be used.
Parameters
Returns Boolean — true if the property was successfully loaded,
false otherwise.
public function playSelectEffects():void
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Run all the effects in the selectEffectArray
If dontPlayEffectsCounter is false (not 0)
playSelectEffects() will not run the effects.
There are two types of effects:
Changes in properties
Changes in color values for the color palette
public function setValueFromString(valueString:String):Boolean
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
XXXXX
Parameters
Returns protected function setXMLElements(propertyXML:XML):void
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Sets all the XML elements for the XML property, such as
enabled, visible, label, and description. Also, set any
SelectEffect XML objects in the SelectEffectsArray.
Parameters
propertyXML :XML — XML object representing the desired property
public static const XML_ELEMENT_NAME:String = PropertyValue
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
XXXXX
Copyright Adobe Systems Incorporated, all rights reserved, for internal use only Mon Oct 11 2010, 01:58 PM -07:00