Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
The IValuesImpl interface is the basic interface for the subsystem that
provides default values to components. The most common implementation implements
a simple version of CSS and uses data structures compiled from CSS files.
public function getInstance(valueName:String):Object
Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
Returns a shared instance, instantiating the shared instance if
it doesn't exist. Often used to share "managers"
Parameters
valueName :String
— The name of a shared instance. Often, the fully
qualified class name is used.
Returns Object
— The shared instance.
public function getValue(thisObject:Object, valueName:String, state:String = null, attrs:Object = null):*
Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
Returns a value for a given object based on a property name,
and optionally, the current state, and a set of property value pairs.
Parameters
thisObject :Object
— The object to get the value for.
valueName :String
— The name of a property. e.g. fontFamily, color, etc.
state :String
(default = null
)
— The name of a state. e.g. hovered, visited
attrs :Object
(default = null
)
— A map of property value pairs that may affect the returned value.
Returns public function init(mainClass:Object):void
Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
MXML Documents that support <fx:Style> blocks should call
init to install the styles for each instance.
Parameters
mainClass :Object
— An instance that may have styles from an <fx:Style> block.
The Apache Software Foundation Fri Apr 18 2014, 11:02 PM -07:00