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 BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface 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
-