@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface NumberField
Modifier and Type | Optional Element and Description |
---|---|
double |
max
Maps to the
max attribute of this Granite UI component's node. |
double |
min
Maps to the
min attribute of this Granite UI component's node. |
double |
step
Maps to the
step attribute of this Granite UI component's node. |
String |
value
When set to a non-blank string, maps to the
value attribute of this Granite UI component's node. |
public abstract double max
max
attribute of this Granite UI component's node.
Used to define a maximal number that can be stored in a NumberFieldpublic abstract double min
min
attribute of this Granite UI component's node.
Used to define a minimal number that can be stored in a NumberFieldpublic abstract double step
step
attribute of this Granite UI component's node.
Used to define the delta between two sequential numbers when a user spins this NumberFieldpublic abstract String value
value
attribute of this Granite UI component's node.
Used to define a default value for a NumberFieldCopyright © 2024 Exadel, Inc.. All rights reserved.