Horizontal Slider Builder
class HorizontalSliderBuilder(minValue: Int, maxValue: Int, numberOfSteps: Int) : BaseComponentBuilder<Slider, HorizontalSliderBuilder>
Content copied to clipboard
Builder for the slider. By default, it creates a slider with a maxValue of 100 and 10 steps.
Constructors
HorizontalSliderBuilder
Link copied to clipboard
fun HorizontalSliderBuilder(minValue: Int = 0, maxValue: Int = 100, numberOfSteps: Int = 10)
Content copied to clipboard
Types
Functions
createCopy
Link copied to clipboard
withAlignment
Link copied to clipboard
open override fun withAlignment(alignmentStrategy: AlignmentStrategy): HorizontalSliderBuilder
Content copied to clipboard
withAlignmentAround
Link copied to clipboard
open fun withAlignmentAround(component: Component, alignment: ComponentAlignment): HorizontalSliderBuilder
Content copied to clipboard
withAlignmentWithin
Link copied to clipboard
open fun withAlignmentWithin(container: Container, alignment: ComponentAlignment): HorizontalSliderBuilder
Content copied to clipboard
open fun withAlignmentWithin(tileGrid: TileGrid, alignment: ComponentAlignment): HorizontalSliderBuilder
Content copied to clipboard
withColorTheme
Link copied to clipboard
open override fun withColorTheme(colorTheme: ColorTheme): HorizontalSliderBuilder
Content copied to clipboard
withComponentRenderer
Link copied to clipboard
open override fun withComponentRenderer(componentRenderer: ComponentRenderer<Slider>): HorizontalSliderBuilder
Content copied to clipboard
withComponentStyleSet
Link copied to clipboard
open override fun withComponentStyleSet(componentStyleSet: ComponentStyleSet): HorizontalSliderBuilder
Content copied to clipboard
withDecorations
Link copied to clipboard
open override fun withDecorations(vararg renderers: ComponentDecorationRenderer): HorizontalSliderBuilder
Content copied to clipboard
withMaxValue
Link copied to clipboard
withMinValue
Link copied to clipboard
withNumberOfSteps
Link copied to clipboard
withPosition
Link copied to clipboard
withRendererFunction
Link copied to clipboard
open override fun withRendererFunction(fn: (TileGraphics, ComponentRenderContext<Slider>) -> Unit): HorizontalSliderBuilder
Content copied to clipboard
withSize
Link copied to clipboard
withTileset
Link copied to clipboard
open override fun withTileset(tileset: TilesetResource): HorizontalSliderBuilder
Content copied to clipboard
Sets the Tileset to use for the Component.
withUpdateOnAttach
Link copied to clipboard
open override fun withUpdateOnAttach(updateOnAttach: Boolean): HorizontalSliderBuilder
Content copied to clipboard
Sets if the Component should be updated when it is attached to a parent or not.
Properties
colorTheme
Link copied to clipboard
componentRenderer
Link copied to clipboard
componentStyleSet
Link copied to clipboard
decorationRenderers
Link copied to clipboard
tileset
Link copied to clipboard
updateOnAttach
Link copied to clipboard
Sources
(source)
Link copied to clipboard