public class NumberItem extends AbstractFormItem<Long>
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_SAFE_LONG
As defined by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
|
static long |
MIN_SAFE_LONG
As defined by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER
|
| Constructor and Description |
|---|
NumberItem(String name,
String label,
String unit,
long min,
long max) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach()
Calls
SuggestHandler.attach() in case there was one registered. |
protected List<FormItemValidation<Long>> |
defaultValidationHandlers() |
boolean |
isEmpty() |
void |
setExpressionAllowed(boolean expressionAllowed) |
boolean |
supportsExpressions() |
addAppearance, addResolveExpressionHandler, addValidationHandler, addValueChangeHandler, asElement, assignDefaultValue, clearError, clearValue, detach, fireEvent, getExpressionValue, getId, getLabel, getName, getTabIndex, getValue, isDeprecated, isEnabled, isExpressionAllowed, isExpressionValue, isModified, isRequired, isRestricted, isUndefined, mask, modifyExpressionValue, modifyValue, onSuggest, registerSuggestHandler, remember, setAccessKey, setDeprecated, setEnabled, setExpressionValue, setFocus, setId, setLabel, setModified, setName, setRequired, setRestricted, setTabIndex, setUndefined, setValue, setValue, showError, unmask, validatepublic static final long MIN_SAFE_LONG
public static final long MAX_SAFE_LONG
public void attach()
AbstractFormItemSuggestHandler.attach() in case there was one registered. If you override this method, please
call super.attach() to keep this behaviour.attach in interface Attachableattach in class AbstractFormItem<Long>public boolean isEmpty()
protected List<FormItemValidation<Long>> defaultValidationHandlers()
public boolean supportsExpressions()
public void setExpressionAllowed(boolean expressionAllowed)
setExpressionAllowed in interface FormItem<Long>setExpressionAllowed in class AbstractFormItem<Long>Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.