Class Slider

java.lang.Object
org.patternfly.component.BaseComponentFlat<elemental2.dom.HTMLElement,Slider>
org.patternfly.component.slider.Slider
All Implemented Interfaces:
Attachable, Finder<elemental2.dom.HTMLElement>, HasElement<elemental2.dom.HTMLElement,Slider>, HasHTMLElement<elemental2.dom.HTMLElement,Slider>, IsElement<elemental2.dom.HTMLElement>, TypedBuilder<elemental2.dom.HTMLElement,Slider>, Component, HasValue<Double>, Modifiers.Disabled<elemental2.dom.HTMLElement,Slider>

public class Slider extends BaseComponentFlat<elemental2.dom.HTMLElement,Slider> implements Modifiers.Disabled<elemental2.dom.HTMLElement,Slider>, HasValue<Double>, Attachable
A slider provides a quick and effective way for users to set and adjust a numeric value from a defined range of values.
See Also:
  • Method Details

    • slider

      public static <N extends Number> Slider slider()
    • attach

      public void attach(elemental2.dom.MutationRecord mutationRecord)
      Specified by:
      attach in interface Attachable
    • detach

      public void detach(elemental2.dom.MutationRecord mutationRecord)
      Specified by:
      detach in interface Attachable
    • addStartActions

      public Slider addStartActions(SliderActions actions)
    • addEndActions

      public Slider addEndActions(SliderActions actions)
    • addValueInput

      public Slider addValueInput(TextInput valueInput)
    • addValueInput

      public Slider addValueInput(TextInput textInput, SliderInputPosition inputPosition)
    • addValueInput

      public Slider addValueInput(InputGroup valueInput)
    • addValueInput

      public Slider addValueInput(InputGroup valueInput, SliderInputPosition inputPosition)
    • customSteps

      public Slider customSteps(SliderSteps steps)
    • customSteps

      public Slider customSteps(boolean continuous, SliderSteps steps)
    • disabled

      public Slider disabled(boolean disabled)
      Specified by:
      disabled in interface Modifiers.Disabled<elemental2.dom.HTMLElement,Slider>
    • min

      public Slider min(double min)
    • max

      public Slider max(double max)
    • step

      public Slider step(double step)
    • range

      public Slider range(double min, double max)
    • range

      public Slider range(double min, double max, double step)
    • showBoundaries

      public Slider showBoundaries()
    • showBoundaries

      public Slider showBoundaries(boolean showBoundaries)
    • showTicks

      public Slider showTicks()
    • showTicks

      public Slider showTicks(boolean showTicks)
    • toolTipOnThumb

      public Slider toolTipOnThumb()
    • toolTipOnThumb

      public Slider toolTipOnThumb(boolean tooltipOnThumb)
    • value

      public Slider value(double value)
    • that

      public Slider that()
      Specified by:
      that in interface TypedBuilder<elemental2.dom.HTMLElement,Slider>
    • ariaLabel

      public Slider ariaLabel(String label)
    • ariaDescribedBy

      public Slider ariaDescribedBy(String describedBy)
      Sets the aria attribute on the slider and the thumb element.
    • ariaLabelledBy

      public Slider ariaLabelledBy(String labelledBy)
      Sets the aria attribute on the slider and the thumb element.
    • ariaThumbLabel

      public Slider ariaThumbLabel(String label)
    • onChange

      public Slider onChange(ChangeHandler<Slider,Double> changeHandler)
    • decrease

      public void decrease()
    • increase

      public void increase()
    • value

      public Double value()
      Specified by:
      value in interface HasValue<Double>
    • intValue

      public int intValue()
    • currentStep

      public SliderStep currentStep()
      Returns the current step of the slider.