public class DefaultTextEditor extends AbstractTextEditor<String>
String values.| Modifier and Type | Field and Description |
|---|---|
static String |
COERCE_FROM_STRING_JS |
static String |
COERCE_TO_STRING_JS |
static String |
ZK_FUNCTION_COERCE_FROM_STRING |
static String |
ZK_FUNCTION_COERCE_TO_STRING |
SETTING_INPUT_INSTANTHEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENTINITIAL_EDIT_STRING| Constructor and Description |
|---|
DefaultTextEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertToString(org.zkoss.zul.impl.InputElement editorView,
String initialValue)
Converts component value to String
|
protected String |
getRawValue(org.zkoss.zul.impl.InputElement viewComponent)
Extracts value of the given editor component.
|
protected void |
initAdditionalParameters(org.zkoss.zul.Textbox editorView,
EditorContext<String> context)
Additional initialization of ui component according to specified context
|
protected void |
setRawValue(org.zkoss.zul.impl.InputElement viewComponent,
String rawValue)
Sets the value to the given editor component.
|
coerceFromString, renderclearInvalidInputAndNotify, handleChangeEvent, handleChangeEvent, handleChangingEvent, handleReadOnly, hasInvalidInput, initViewComponent, isPrimitive, onCancelEvent, onChangeEvent, onChangingEvent, onFocusEvent, onOkEventextractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecoratorpublic static final String ZK_FUNCTION_COERCE_FROM_STRING
public static final String ZK_FUNCTION_COERCE_TO_STRING
public static final String COERCE_FROM_STRING_JS
public static final String COERCE_TO_STRING_JS
protected void initAdditionalParameters(org.zkoss.zul.Textbox editorView,
EditorContext<String> context)
AbstractTextEditorinitAdditionalParameters in class AbstractTextEditor<String>editorView - ui componentcontext - contextprotected void setRawValue(org.zkoss.zul.impl.InputElement viewComponent,
String rawValue)
AbstractTextBasedEditorRenderersetRawValue in class AbstractTextEditor<String>viewComponent - the underlying editor componentrawValue - the valueprotected String getRawValue(org.zkoss.zul.impl.InputElement viewComponent)
AbstractTextBasedEditorRenderergetRawValue in class AbstractTextEditor<String>viewComponent - the underlying editor componentprotected String convertToString(org.zkoss.zul.impl.InputElement editorView, String initialValue)
AbstractTextEditorconvertToString in class AbstractTextEditor<String>editorView - ui componentinitialValue - vomponent valueCopyright © 2018. All rights reserved.