This property can be used as the source for data binding.
Implementation public function get activeValue():PropertyValue public function set activeValue(value:PropertyValue):void
loadAndSaveValues
property
loadAndSaveValues:Boolean [read-only]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns false if loading and saving values to and from XML should be skipped.
This may be desirable if the list values are based on the runtime state of the system.
Implementation protected function get loadAndSaveValues():Boolean
shouldOutputSubvalues
property
shouldOutputSubvalues:Boolean [read-only]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns true. The default (unless overridden) is to output subvalues to XML.
Implementation protected function get shouldOutputSubvalues():Boolean
subvalues
property
subvalues:Array [read-only] [override]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The array of possible values for a PropertyList
Implementation public function get subvalues():Array
subvaluesLocked
property
subvaluesLocked:Boolean [read-only] [override]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Returns true if elements of subvalues for this property cannot be added or removed.
Implementation public function get subvaluesLocked():Boolean
subvaluesType
property
subvaluesType:String [read-only] [override]
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Identifies the data type of the IProperty elements found in the subvalues array.
Implementation public function get subvaluesType():String
type
property
type:String [read-only] [override]
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.
It must be one of the property types defined in PropertyType.
Implementation public function get type():String
See also
PropertyType.LIST
Constructor Detail
PropertyListValue
()
Constructor
public function PropertyListValue(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 this property.
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 list of property values from the specified XML value.
Parameters
valueXML:XML — The XML object to load that contains the list of property values as its elements.
Returns
Boolean
referenceSubvalueResources
()
method
public function referenceSubvalueResources(referenceType:int):void
References, dereferences, or touches all URL subvalues.
Parameters
referenceType:int — If greater than zero, referenceResource is called on all URL subvalues;
if less than zero, dereferenceResource is called; if equal to zero,
touchResource is called.
override 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
Sets the value of this property to a string-based representation of the
desired property value.
Parameters
valueString:String
Returns
Boolean
setXMLElements
()
method
override 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 this 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
updateSubvalues
()
method
public function updateSubvalues(newSubvalues:Array, newActiveValue:PropertyValue = null):void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Update the subvalues and active value of the property list to the new list and preperty value
Parameters
newSubvalues:Array — The new list of property values to use
newActiveValue:PropertyValue (default = null) — The value to use as the new active value
Constant Detail
XML_ELEMENT_NAME
Constant
public static const XML_ELEMENT_NAME:String = PropertyList