This class handles property values that are theme filtered lists. Theme filtered lists
are property lists that filter out subvalues whose names match those of themes
that are not currently active.
[static]
The XML element name for theme filtered lists
ThemeFilteredList
Property Detail
completeSubvalues
property
protected var completeSubvalues:Array
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The complete (unfiltered) list of themes
currentThemeName
property
protected var currentThemeName:String
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The name of the current active theme
currentThemeWatcher
property
protected var currentThemeWatcher:ChangeWatcher
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The current watcher checking for changed theme events
filteredSubvalues
property
protected var filteredSubvalues:Array
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The filtered list of themes
themedSubvalues
property
protected var themedSubvalues:ArrayCollection
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
??? Not sure what this is
themeNames
property
protected var themeNames:ArrayCollection
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
An array of all theme names
Constructor Detail
ThemeFilteredList
()
Constructor
public function ThemeFilteredList(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
buildThemedSubvalues
()
method
protected function buildThemedSubvalues(valueArray:Array, forceRebuild:Boolean = false):Boolean
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Create the list of themed subvalues from the valueArray passed.
Parameters
valueArray:Array — The new list of value to
forceRebuild:Boolean (default = false) — If forceRebuild is false (the default), the
themedSubvalues array with not be rebuilt if it already exists. If forceRebuild is true
the current themedSubvalues array will be replaced with the new list.
Returns
Boolean — true if the list of themed values could be built, otherwise false.
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 ThemeFilteredLists.
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 theme subvalues to filter out from the specified XML value.
Parameters
valueXML:XML — The XML object that contains the skinlist of skins to user for filtering.
Returns
Boolean
setActiveTheme
()
method
protected function setActiveTheme(value:PropertyValue):void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Sets the current active theme.
Parameters
value:PropertyValue — The theme to set as the current active theme.