extends FeathersControl › MeasureSprite › ValidatingSprite
extended by Button
backgroundSkin:DisplayObject = null
read onlycurrentState:ButtonState = ButtonState.UP
keepDownStateOnRollOut:Null<Bool> = false
If the component's dimensions have not been set explicitly, it will
measure its content and determine an ideal size for itself. For
instance, if the
explicitWidth property is set, that value will be
used without additional measurement. If
explicitWidth is set, but
explicitHeight is not (or the other way around), the dimension with
the explicit value will not be measured, but the other non-explicit
dimension will still require measurement.
saveMeasurements() to set up the
actualHeight member variables used for layout.
Meant for internal use, and subclasses may override this function with a custom implementation.
setSkinForState (state:ButtonState, skin:DisplayObject):Void
Set the skin to be used by the button when its
matches the specified state value.
If a skin is not defined for a specific state, the value of the
backgroundSkin property will be used instead.