Class Slider

All Implemented Interfaces:
Attachable, ElementAttributeMethods<HTMLElement,Slider>, ElementClassListMethods<HTMLElement,Slider>, ElementConsumerMethods<HTMLElement,Slider>, ElementContainerMethods<HTMLElement,Slider>, ElementEventMethods<HTMLElement,Slider>, ElementIdMethods<HTMLElement,Slider>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement,Slider>, HTMLElementDataMethods<HTMLElement,Slider>, HTMLElementStyleMethods<HTMLElement,Slider>, HTMLElementVisibilityMethods<HTMLElement,Slider>, IsElement<HTMLElement>, TypedBuilder<HTMLElement,Slider>, Component, HasValue<Double>, org.patternfly.style.Modifiers.Disabled<HTMLElement,Slider>

public class Slider extends BaseComponent<HTMLElement,Slider> implements org.patternfly.style.Modifiers.Disabled<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(MutationRecord mutationRecord)
      Specified by:
      attach in interface Attachable
    • detach

      public void detach(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 org.patternfly.style.Modifiers.Disabled<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<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(org.patternfly.handler.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.