Class NumberInput
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement, NumberInput>
org.patternfly.component.numberinput.NumberInput
- All Implemented Interfaces:
ElementAttributeMethods<HTMLDivElement, NumberInput>,ElementClassListMethods<HTMLDivElement, NumberInput>,ElementConsumerMethods<HTMLDivElement, NumberInput>,ElementContainerMethods<HTMLDivElement, NumberInput>,ElementEventMethods<HTMLDivElement, NumberInput>,ElementIdMethods<HTMLDivElement, NumberInput>,ElementQueryMethods<HTMLDivElement>,HTMLElementAttributeMethods<HTMLDivElement, NumberInput>,HTMLElementDataMethods<HTMLDivElement, NumberInput>,HTMLElementStyleMethods<HTMLDivElement, NumberInput>,HTMLElementVisibilityMethods<HTMLDivElement, NumberInput>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement, NumberInput>,Component,HasValue<Double>,Modifiers.Disabled<HTMLDivElement, NumberInput>
public class NumberInput
extends BaseComponent<HTMLDivElement, NumberInput>
implements Modifiers.Disabled<HTMLDivElement, NumberInput>, HasValue<Double>
A number input combines a text input field with buttons to provide users with
a quick and effective way to enter and modify a numeric value.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondisabled(boolean disabled) Adds/removes modifier(disabled)inputAriaLabel(String label) max(double max) min(double min) minusButtonAriaLabel(String label) minusOperation(UnaryOperator<Double> operation) static NumberInputstatic NumberInputnumberInput(double initialValue) onBlur(ChangeHandler<NumberInput, Double> blurHandler) onChange(ChangeHandler<NumberInput, Double> changeHandler) onMinus(ChangeHandler<NumberInput, Double> minusHandler) onPlus(ChangeHandler<NumberInput, Double> plusHandler) operations(UnaryOperator<Double> minusOperation, UnaryOperator<Double> plusOperation) plusButtonAriaLabel(String label) plusOperation(UnaryOperator<Double> operation) range(double min, double max) step(double steps) that()unit(String value, UnitPosition position) validated(ValidationStatus validated) value()value(double value) widthChars(int widthChars) Methods inherited from class org.patternfly.component.BaseComponent
componentType, element, registerComponentMethods 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
-
numberInput
-
numberInput
-
widthChars
-
min
-
max
-
range
-
inputName
-
inputAriaLabel
-
minusButtonAriaLabel
-
plusButtonAriaLabel
-
unit
-
unit
-
disabled
Description copied from interface:Modifiers.DisabledAdds/removes modifier(disabled)- Specified by:
disabledin interfaceModifiers.Disabled<HTMLDivElement, NumberInput>
-
validated
-
value
-
plusOperation
-
minusOperation
-
operations
public NumberInput operations(UnaryOperator<Double> minusOperation, UnaryOperator<Double> plusOperation) -
step
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement, NumberInput>
-
onBlur
-
onChange
-
onMinus
-
onPlus
-
value
-