View source
class ProgrammaticSkin
package feathers.skins
extends MeasureSprite › ValidatingSprite
implements IStateObserver, IProgrammaticSkin
extended by BaseGraphicsPathSkin
A base class for Feathers UI skins that are drawn programmatically.
Available since
1.0.0
.Variables
stateContext:IStateContext<Dynamic>
An optional IStateContext that is used to change the styles of the
skin when its state changes. May be different than uiContext.
If null, this skin may use uiContext instead, as long as uiContext
implements the IStateContext interface.
Available since
1.0.0
.uiContext:IUIControl
An optional IStateContext that is used to change the styles of the
skin when its state changes.
Available since
1.0.0
.Methods
privateneedsStateUpdate():Bool
Checks if a the current state requires the skin to be redrawn. By
default, returns true.
Subclasses may override needsStateUpdate() to limit when state changes
require the skin to update.
Available since
1.0.0
.