public class ExampleTextEditor extends Object implements CockpitEditorRenderer<String>
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_IS_MULTILINE
Parameter specifying if the editor should be rendered as multiline text box.
|
static String |
PARAM_ROWS
Parameter specifying the number of rows for the multiline case.
|
INITIAL_EDIT_STRING| Constructor and Description |
|---|
ExampleTextEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(org.zkoss.zk.ui.Component parent,
EditorContext<String> context,
EditorListener<String> listener)
Creates a new editor component and attaches it to the specified
Component component. |
public static final String PARAM_IS_MULTILINE
public static final String PARAM_ROWS
public void render(org.zkoss.zk.ui.Component parent,
EditorContext<String> context,
EditorListener<String> listener)
CockpitEditorRendererComponent component.render in interface CockpitEditorRenderer<String>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.