public class ItemPreviewLabelRenderer extends AbstractCockpitEditorRenderer<Object>
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENT, YW_EDITOR_AREA_LABEL_CONTAINERINITIAL_EDIT_STRING| Constructor and Description |
|---|
ItemPreviewLabelRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createPreview(Object data,
Base configuration,
org.zkoss.zk.ui.Component layout) |
protected CockpitConfigurationService |
getConfigurationService() |
protected CockpitEditorRenderer<Object> |
getLabelRenderer() |
protected ObjectPreviewService |
getObjectPreviewService() |
protected TypeFacade |
getTypeFacade() |
protected void |
preparePreviewPopup(org.zkoss.zk.ui.Component parent,
ObjectPreview preview,
org.zkoss.zul.Image target) |
void |
render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> listener)
Creates a new editor component and attaches it to the specified
Component component. |
void |
setConfigurationService(CockpitConfigurationService configurationService) |
void |
setLabelRenderer(CockpitEditorRenderer<Object> labelRenderer) |
void |
setObjectPreviewService(ObjectPreviewService objectPreviewService) |
void |
setTypeFacade(TypeFacade typeFacade) |
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecoratorpublic void render(org.zkoss.zk.ui.Component parent,
EditorContext<Object> context,
EditorListener<Object> 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 createPreview(Object data, Base configuration, org.zkoss.zk.ui.Component layout)
protected void preparePreviewPopup(org.zkoss.zk.ui.Component parent,
ObjectPreview preview,
org.zkoss.zul.Image target)
protected CockpitEditorRenderer<Object> getLabelRenderer()
public void setLabelRenderer(CockpitEditorRenderer<Object> labelRenderer)
protected ObjectPreviewService getObjectPreviewService()
public void setObjectPreviewService(ObjectPreviewService objectPreviewService)
protected CockpitConfigurationService getConfigurationService()
public void setConfigurationService(CockpitConfigurationService configurationService)
protected TypeFacade getTypeFacade()
public void setTypeFacade(TypeFacade typeFacade)
Copyright © 2018. All rights reserved.