public abstract class AbstractPaginableEditorRenderer<T> extends AbstractCockpitEditorRenderer<T>
HEADER_LABEL_TOOLTIP, ON_ADD_EVENT, ON_DELETE_EVENTINITIAL_EDIT_STRING| Constructor and Description |
|---|
AbstractPaginableEditorRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configurePaging(org.zkoss.zul.Listbox editorView,
EditorContext<T> context)
Configure the inner
Paging object of the list editor. |
protected org.zkoss.zul.Button |
createAddButton(org.zkoss.zul.Listbox listbox,
EditorContext<T> context)
Creates button for adding new entry.
|
protected abstract org.zkoss.zul.Popup |
createAddPopup(org.zkoss.zul.Listbox listbox,
EditorListener<T> listener,
EditorContext<T> context) |
protected org.zkoss.zul.Button |
createDeleteButton(org.zkoss.zul.Listbox listbox,
EditorContext<T> context)
Creates button for removing selected entry.
|
protected Editor |
createEditor(EditorContext<T> context,
String editorType)
Creates single editor cell according to the
editorType. |
protected int |
getPageSize(EditorContext<T> context) |
protected boolean |
selectionNotEmpty(org.zkoss.zul.Listbox listbox) |
extractEmbeddedEditor, extractEmbeddedType, findAncestorEditor, findEmbeddedEditors, getInitialEditString, getL10nDecoratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderprotected static final String LAST_EDITED_INDEX
protected static final String LAST_EDITED_VALUE
protected static final String NULL
protected static final String TRUE
protected static final String CLEAR_EDITOR_IMG
protected static final String YE_LIST_LINE_EDITOR
protected static final String YE_LIST_INLINE_SAVE
protected static final String YE_LIST_INLINE_EDITOR
protected static final String YE_LIST_INLINE_CANCEL
protected static final String YE_LIST_INLINE
protected static final String YE_LIST_TOOLBAR_ADDPOPUP
protected static final String YE_LIST_TOOLBAR_ADDPOPUP_CHECKBOX
protected static final String YE_LIST_TOOLBAR_BUTTON_EDIT
protected static final String YE_LIST_TOOLBAR
protected static final String YE_LIST_TITLEBAR_LABEL
protected static final String YE_LIST_TITLEBAR_VALUE
protected static final String YE_LIST_CONTENT
protected static final String YE_LIST_LISTBOX
protected static final String YE_LIST_TITLEBAR_SPAN
protected static final String YE_LIST_TITLEBAR
protected static final String YE_LIST_CONTAINER
protected static final String CONFIRM_DELETE_PARAM
protected static final String ITEM_INDEX_TO_CUT
protected static final String ON_INIT_EVENT
protected static final String ON_UPDATE_EVENT
protected static final String ON_EDIT_EVENT
protected static final String YE_LIST_Y_BTB_PRIMARY
protected Editor createEditor(EditorContext<T> context, String editorType)
editorType.editorType - the type of the serializable Editor elementprotected boolean selectionNotEmpty(org.zkoss.zul.Listbox listbox)
protected org.zkoss.zul.Button createDeleteButton(org.zkoss.zul.Listbox listbox,
EditorContext<T> context)
context - to get some properties fromprotected org.zkoss.zul.Button createAddButton(org.zkoss.zul.Listbox listbox,
EditorContext<T> context)
context - to get some properties fromprotected abstract org.zkoss.zul.Popup createAddPopup(org.zkoss.zul.Listbox listbox,
EditorListener<T> listener,
EditorContext<T> context)
protected int getPageSize(EditorContext<T> context)
protected void configurePaging(org.zkoss.zul.Listbox editorView,
EditorContext<T> context)
Paging object of the list editor.editorView - The editor to create paging for.context - defines editor's environmentCopyright © 2018. All rights reserved.