public abstract class AbstractListBoxRowEditorWidgetRenderer<T extends ListboxWidget<? extends ListWidgetModel<E>,? extends WidgetController>,E extends TypedObject> extends AbstractConfigurableCsListboxWidgetRenderer<T>
AbstractCsWidgetRenderer.ConfirmBeforeCompletingRequestEventListener| Modifier and Type | Field and Description |
|---|---|
protected static String |
CSS_EDITOR_WIDGET_EDITOR |
protected static String |
CSS_LISTBOX_ROW_ITEM |
CSS_LISTBOX_CONTAINER, CSS_WIDGET_LISTBOXCSS_WIDGET_CAPTION, CSS_WIDGET_CONTENT| Constructor and Description |
|---|
AbstractListBoxRowEditorWidgetRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected ItemRemovalAppender<E> |
getItemRemovalAppender() |
protected String |
getListEditorConfigurationCode() |
protected void |
handleDeleteClickEvent(T widget,
Event event,
E item) |
protected boolean |
isDeletable(T widget,
E item)
Test if an item can be deleted.
|
protected void |
renderEditor(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorRowConfiguration rowConfig,
E item,
PropertyDescriptor propertyDescriptor,
Widget widget) |
protected void |
renderListbox(Listbox listBox,
T widget,
HtmlBasedComponent rootContainer) |
void |
setItemRemovalAppender(ItemRemovalAppender<E> itemRemovalAppender) |
void |
setListEditorConfigurationCode(String listEditorConfigurationCode) |
getColumnConfigurations, getListConfigurationCode, getListConfigurationType, getValueContainer, populateDataRow, populateHeaderRow, setListConfigurationCode, setListConfigurationTypecreateContentInternal, isLazyLoadingEnabled, setLazyLoadingEnabledcreateCaption, createConfirmBeforeCompletingRequestEventListener, createContent, getCockpitTypeService, getLabelService, getPropertyEditorHelper, getPropertyRendererHelper, getSystemService, handleConfirmBeforeCompletingRequestEvent, setCockpitTypeService, setLabelService, setPropertyEditorHelper, setPropertyRendererHelper, setSystemServiceprotected static final String CSS_LISTBOX_ROW_ITEM
protected static final String CSS_EDITOR_WIDGET_EDITOR
public AbstractListBoxRowEditorWidgetRenderer()
protected ItemRemovalAppender<E> getItemRemovalAppender()
public void setItemRemovalAppender(ItemRemovalAppender<E> itemRemovalAppender)
protected String getListEditorConfigurationCode()
public void setListEditorConfigurationCode(String listEditorConfigurationCode)
protected void renderListbox(Listbox listBox,
T widget,
HtmlBasedComponent rootContainer)
renderListbox in class AbstractCsListboxWidgetRenderer<T extends ListboxWidget<? extends ListWidgetModel<E>,? extends WidgetController>>protected void handleDeleteClickEvent(T widget, Event event, E item) throws Exception
Exceptionprotected boolean isDeletable(T widget, E item)
widget - the widgetitem - the item to testprotected void renderEditor(org.zkoss.zk.ui.HtmlBasedComponent parent,
EditorRowConfiguration rowConfig,
E item,
PropertyDescriptor propertyDescriptor,
Widget widget)
Copyright © 2017 SAP SE. All Rights Reserved.