Packagefeathers.skins
Classpublic class ImageStateValueSelector
InheritanceImageStateValueSelector Inheritance StateWithToggleValueSelector Inheritance Object

Values for each state are Texture instances, and the manager attempts to reuse the existing Image instance that is passed in to getValueForState() as the old value by swapping the texture.



Public Properties
 PropertyDefined By
 InheriteddefaultSelectedValue : Object
If the target is a selected IToggle instance, and if there is no value for the specified state, a default value may be used as a fallback (with a higher priority than the regular default fallback).
StateWithToggleValueSelector
 InheriteddefaultValue : Object
If there is no value for the specified state, a default value can be used as a fallback.
StateWithToggleValueSelector
  imageProperties : Object
Optional properties to set on the Image instance.
ImageStateValueSelector
Public Methods
 MethodDefined By
  
Constructor.
ImageStateValueSelector
 Inherited
clearValueForState(state:Object, isSelected:Boolean = false):Object
Clears the value stored for a specific state.
StateWithToggleValueSelector
 Inherited
getValueForState(state:Object, isSelected:Boolean = false):Object
Returns the value stored for a specific state.
StateWithToggleValueSelector
 Inherited
setValueForState(value:Object, state:Object, isSelected:Boolean = false):void
Stores a value for a specified state to be returned from getValueForState().
StateWithToggleValueSelector
 Inherited
updateValue(target:Object, state:Object, oldValue:Object = null):Object
Returns the value stored for a specific state.
StateWithToggleValueSelector
Property Detail
imagePropertiesproperty
imageProperties:Object

Optional properties to set on the Image instance.


Implementation
    public function get imageProperties():Object
    public function set imageProperties(value:Object):void

See also

Constructor Detail
ImageStateValueSelector()Constructor
public function ImageStateValueSelector()

Constructor.