public abstract class NumberFormElement<T> extends FormatFormElement<T>
Modifier and Type | Field and Description |
---|---|
protected int |
decimalPlaces |
protected boolean |
signed |
protected int |
size |
textField, typed
Modifier | Constructor and Description |
---|---|
protected |
NumberFormElement(PropertyInterface property,
boolean editable) |
Modifier and Type | Method and Description |
---|---|
protected String |
getAllowedCharacters(PropertyInterface property) |
protected int |
getAllowedSize(PropertyInterface property) |
protected Frontend.InputType |
getInputType() |
String |
render(T number) |
getComponent, getSearch, getValue, parse, setEnabled, setValue
fireChange, getCaption, getConstraint, getProperty, height, height, listener, setChangeListener
protected final boolean signed
protected final int size
protected final int decimalPlaces
protected NumberFormElement(PropertyInterface property, boolean editable)
protected Frontend.InputType getInputType()
getInputType
in class FormatFormElement<T>
public String render(T number)
render
in class FormatFormElement<T>
protected String getAllowedCharacters(PropertyInterface property)
getAllowedCharacters
in class FormatFormElement<T>
protected int getAllowedSize(PropertyInterface property)
getAllowedSize
in class FormatFormElement<T>
Copyright © 2019. All rights reserved.