Package org.patternfly.component.slider
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 Summary
Modifier and TypeMethodDescriptionaddEndActions(SliderActions actions) addStartActions(SliderActions actions) addValueInput(TextInput valueInput) addValueInput(TextInput textInput, SliderInputPosition inputPosition) addValueInput(InputGroup valueInput) addValueInput(InputGroup valueInput, SliderInputPosition inputPosition) ariaDescribedBy(String describedBy) Sets the aria attribute on the slider and the thumb element.ariaLabelledBy(String labelledBy) Sets the aria attribute on the slider and the thumb element.ariaThumbLabel(String label) voidattach(MutationRecord mutationRecord) Returns the current step of the slider.customSteps(boolean continuous, SliderSteps steps) customSteps(SliderSteps steps) voiddecrease()voiddetach(MutationRecord mutationRecord) disabled(boolean disabled) voidincrease()intintValue()max(double max) min(double min) range(double min, double max) range(double min, double max, double step) showBoundaries(boolean showBoundaries) showTicks(boolean showTicks) slider()step(double step) that()toolTipOnThumb(boolean tooltipOnThumb) value()value(double value) Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, isDisabled
-
Method Details
-
slider
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
addStartActions
-
addEndActions
-
addValueInput
-
addValueInput
-
addValueInput
-
addValueInput
-
customSteps
-
customSteps
-
disabled
- Specified by:
disabledin interfaceorg.patternfly.style.Modifiers.Disabled<HTMLElement,Slider>
-
min
-
max
-
step
-
range
-
range
-
showBoundaries
-
showBoundaries
-
showTicks
-
showTicks
-
toolTipOnThumb
-
toolTipOnThumb
-
value
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Slider>
-
ariaLabel
-
ariaDescribedBy
Sets the aria attribute on the slider and the thumb element. -
ariaLabelledBy
Sets the aria attribute on the slider and the thumb element. -
ariaThumbLabel
-
onChange
-
decrease
public void decrease() -
increase
public void increase() -
value
-
intValue
public int intValue() -
currentStep
Returns the current step of the slider.
-