public class DefaultFileUploadEditor extends AbstractCockpitEditorRenderer<FileUploadResult>
| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE |
static String |
UPLOAD_TRUE |
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENTINITIAL_EDIT_STRING| Constructor and Description |
|---|
DefaultFileUploadEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generatePreview(FileUploadResult value,
org.zkoss.zul.Div previewComponent) |
protected void |
generatePreview(org.zkoss.util.media.Media media,
org.zkoss.zul.Div previewComponent) |
void |
render(org.zkoss.zk.ui.Component parent,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener)
Creates a new editor component and attaches it to the specified
Component component. |
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecoratorpublic static final String UPLOAD_TRUE
public static final String IMAGE
public void render(org.zkoss.zk.ui.Component parent,
EditorContext<FileUploadResult> context,
EditorListener<FileUploadResult> listener)
CockpitEditorRendererComponent component.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 eventsprotected void generatePreview(FileUploadResult value, org.zkoss.zul.Div previewComponent)
protected void generatePreview(org.zkoss.util.media.Media media,
org.zkoss.zul.Div previewComponent)
Copyright © 2018. All rights reserved.