|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.coderight.jazz.form.FormField<V> nl.coderight.jazz.form.field.validatable.ValidatableField<V> nl.coderight.jazz.form.field.input.InputField<V> nl.coderight.jazz.form.field.NumberField<V>
public class NumberField<V extends Number>
Provides an input field for numbers.
Field Summary |
---|
Fields inherited from class nl.coderight.jazz.form.FormField |
---|
Config |
Constructor Summary | |
---|---|
NumberField(String bindID,
int length)
|
Method Summary | |
---|---|
protected void |
onKeyTyped(KeyEvent evt)
|
void |
setFormat(NumberFormat format)
Sets format to display number. |
protected V |
valueOf(String string)
|
Methods inherited from class nl.coderight.jazz.form.field.input.InputField |
---|
copy, createField, createLabelFor, createLabelFor, cut, getField, getMaxLength, getValue, isEditable, onChange, paste, setColumns, setEditable, setFilter, setFormatter, setMaxLength, setOnChangeAction, setOnChangeEvent, setOverwriteMode, setValue, validate |
Methods inherited from class nl.coderight.jazz.form.field.validatable.ValidatableField |
---|
checkIsRequired, getError, getValidator, isFocusable, isRequired, isValid, onFocusGained, onFocusLost, onIconClicked, onValidate, setComponent, setCopyAction, setCutAction, setIcon, setInputPrompt, setPasteAction, setRequired, setRequiredMessage, setToolTip, setValidator |
Methods inherited from class nl.coderight.jazz.form.FormField |
---|
dispatchEvent, dispose, focus, focusNextField, focusPreviousField, getBackground, getBindID, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTip, hasFocus, isBindable, isChanged, isEnabled, isOpaque, isReadonly, isShowing, isValueChanged, isVisible, onClick, onDoubleClick, onMouseEnter, onMouseLeave, onPopup, registerKeyboardAction, setBackground, setBindID, setBorder, setChanged, setCursor, setDataBinding, setEnabled, setFocusable, setForeground, setOnFocusGainedEvent, setOnFocusLostEvent, setOpaque, setPopupMenu, setPreferredSize, setReadonly, setVisible, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberField(String bindID, int length)
Method Detail |
---|
public void setFormat(NumberFormat format)
protected void onKeyTyped(KeyEvent evt)
onKeyTyped
in class InputField<V extends Number>
protected V valueOf(String string) throws ParseException
valueOf
in class InputField<V extends Number>
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |