public class DefaultBigIntegerEditor extends AbstractTextBasedEditorRenderer<BigInteger> implements FormattableNumberEditor<BigInteger>
SETTING_INPUT_INSTANTHEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENTPARAMETER_NUMBER_FORMATINITIAL_EDIT_STRING| Constructor and Description |
|---|
DefaultBigIntegerEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected BigInteger |
coerceFromString(org.zkoss.zul.impl.InputElement editorView,
String text)
Converts string value to a real value.
|
protected BigInteger |
getRawValue(org.zkoss.zul.impl.InputElement editorView)
Extracts value of the given editor component.
|
void |
render(org.zkoss.zk.ui.Component parent,
EditorContext<BigInteger> context,
EditorListener<BigInteger> listener)
Creates a new editor component and attaches it to the specified
Component component. |
protected void |
setRawValue(org.zkoss.zul.impl.InputElement editorView,
BigInteger rawValue)
Sets the value to the given editor component.
|
clearInvalidInputAndNotify, handleChangeEvent, handleChangeEvent, handleChangingEvent, handleReadOnly, hasInvalidInput, initViewComponent, isPrimitive, onCancelEvent, onChangeEvent, onChangingEvent, onFocusEvent, onOkEventextractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecoratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNumberFormatprotected void setRawValue(org.zkoss.zul.impl.InputElement editorView,
BigInteger rawValue)
AbstractTextBasedEditorRenderersetRawValue in class AbstractTextBasedEditorRenderer<BigInteger>editorView - the underlying editor componentrawValue - the valueprotected BigInteger getRawValue(org.zkoss.zul.impl.InputElement editorView)
AbstractTextBasedEditorRenderergetRawValue in class AbstractTextBasedEditorRenderer<BigInteger>editorView - the underlying editor componentprotected BigInteger coerceFromString(org.zkoss.zul.impl.InputElement editorView, String text) throws org.zkoss.zk.ui.WrongValueException
AbstractTextBasedEditorRenderercoerceFromString in class AbstractTextBasedEditorRenderer<BigInteger>editorView - the underlying editor componenttext - the string valeorg.zkoss.zk.ui.WrongValueExceptionpublic void render(org.zkoss.zk.ui.Component parent,
EditorContext<BigInteger> context,
EditorListener<BigInteger> listener)
CockpitEditorRendererComponent component.render in interface CockpitEditorRenderer<BigInteger>parent - parent component the editor should be attached tocontext - the context for the editor creationlistener - the listener to notify the rest of the world about value changes and other eventsCopyright © 2018. All rights reserved.