GODPAPER | All Packages | All Classes | Index | Frames No Frames |
Scale9ImageStateValueSelector

Package | feathers.skins
Class | public class Scale9ImageStateValueSelector
Inheritance | Scale9ImageStateValueSelector StateWithToggleValueSelector Object

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

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | defaultSelectedValue : 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
|  | defaultValue : 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 Scale9Image instance. | Scale9ImageStateValueSelector

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | Scale9ImageStateValueSelector() Constructor. | Scale9ImageStateValueSelector
|  | clearValueForState(state:Object, isSelected:Boolean = false):Object Clears the value stored for a specific state. | StateWithToggleValueSelector
|  | getValueForState(state:Object, isSelected:Boolean = false):Object Returns the value stored for a specific state. | StateWithToggleValueSelector
|  | setValueForState(value:Object, state:Object, isSelected:Boolean = false):void Stores a value for a specified state to be returned from getValueForState(). | StateWithToggleValueSelector
|  | updateValue(target:Object, state:Object, oldValue:Object = null):Object Returns the value stored for a specific state. | StateWithToggleValueSelector

Property Detail

imageProperties | property

`imageProperties:Object`

Optional properties to set on the Scale9Image instance.

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

See also

feathers.display.Scale9Image
Constructor Detail

Scale9ImageStateValueSelector | () | Constructor

`public function Scale9ImageStateValueSelector()`

Constructor.

Thu Jan 16 2014, 01:11 PM +08:00