Modifier and Type | Fields and Description |
---|---|
static boolean |
ALLOW_DECIMALS_DEFAULT |
static boolean |
ALLOW_NEGATIVE_DEFAULT |
static int |
DECIMAL_PRECISION_DEFAULT |
static String |
DECIMAL_SEPARATOR_DEFAULT |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowDecimals
Used for Classic UI only
|
boolean |
allowNegative
False to prevent entering a negative sign
|
int |
decimalPrecision
Used for Classic UI only
|
String |
decimalSeparator
Character(s) to allow as the decimal separator
|
String |
max
Used for Touch UI Only
|
String |
min
Used for Touch UI Only
|
double |
step
Used for Touch UI Only
|
String |
typeHint
Used for Coral 3 Touch UI Only
|
public static final String DECIMAL_SEPARATOR_DEFAULT
public abstract boolean allowDecimals
False to disallow decimal values
public abstract boolean allowNegative
In Touch UI, if no min is set, setting allowNegative to false will set min to 0.0.
public abstract int decimalPrecision
The maximum precision to display after the decimal separator
public abstract String decimalSeparator
public abstract String min
Indicates the minimum allowed value in the field
public abstract String max
Indicates the maximum allowed value in the field
public abstract double step
Indicates the valid numeric increments for values in the field
Defaults to 1 - NOTE setting this to anything other than 1 really does not work due to Javascripts floating point arithmetic limitations.
public abstract String typeHint
The value of SlingPostServlet @TypeHint
Copyright © 2019 ICF Olson. All rights reserved.