Component Style Set Builder
data class ComponentStyleSetBuilder(styles: MutableMap<ComponentState, StyleSet>) : Builder<ComponentStyleSet>
Content copied to clipboard
Use this to build StyleSets for your org.hexworks.zircon.api.component.Components. They will be used accordingly when the component's state changes.
Constructors
ComponentStyleSetBuilder
Link copied to clipboard
fun ComponentStyleSetBuilder(styles: MutableMap<ComponentState, StyleSet> = mutableMapOf())
Content copied to clipboard
Types
Functions
build
Link copied to clipboard
copy
Link copied to clipboard
fun copy(styles: MutableMap<ComponentState, StyleSet> = mutableMapOf()): ComponentStyleSetBuilder
Content copied to clipboard
createCopy
Link copied to clipboard
withActiveStyle
Link copied to clipboard
withDefaultStyle
Link copied to clipboard
withDisabledStyle
Link copied to clipboard
withFocusedStyle
Link copied to clipboard
withMouseOverStyle
Link copied to clipboard
Sources
(source)
Link copied to clipboard