Component State
class ComponentState(name: String, hardFallback: ComponentState?, facetsOn: Array<ComponentStateFacet>?, facetsOff: Array<ComponentStateFacet>?)
Content copied to clipboard
Constructors
Link copied to clipboard
fun ComponentState(name: String, facetsOn: Array<ComponentStateFacet>?, facetsOff: Array<ComponentStateFacet>?)
Content copied to clipboard
Creates a new component state.
Types
Functions
Link copied to clipboard
Link copied to clipboard
Returns indication whether this component state is "active" under the specified facet. For example, .RolloverSelected will return true for both ComponentStateFacet.Rollover and ComponentStateFacet.Selection.
Properties
Link copied to clipboard
Checks whether this state is disabled. A disabled state has ComponentStateFacet.Enable facet in its off set.