public class CollectionEditorAreaController extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COMPONENT_NEXT |
protected static String |
COMPONENT_PREVIOUS |
protected org.zkoss.zk.ui.Component |
east |
protected Widgetslot |
editorArea |
protected Widgetslot |
list |
protected org.zkoss.zk.ui.HtmlBasedComponent |
mainCnt |
protected static String |
MULTI_REFERENCE_SCLASS |
protected org.zkoss.zk.ui.Component |
next |
protected org.zkoss.zk.ui.Component |
previous |
protected static String |
SINGLE_REFERENCE_SCLASS |
protected static String |
SOCKET_INPUT_DATA |
protected static String |
SOCKET_INPUT_MODIFIED_OBJECT |
protected static String |
SOCKET_INPUT_SELECTED_OBJECT |
protected static String |
SOCKET_OUTPUT_EDIT_OBJECT |
protected static String |
SOCKET_OUTPUT_PAGEABLE |
protected static String |
SOCKET_OUTPUT_SINGLE_OBJECT_SAVED |
protected static String |
WIDGET_SETTING_NAVIGATION_ON |
protected static String |
WIDGET_SETTING_PAGE_SIZE |
protected static String |
WIDGET_STATE_LAST_INPUT |
protected static String |
WIDGET_STATE_SELECTED_OBJECT |
| Constructor and Description |
|---|
CollectionEditorAreaController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyAdditionalContextProperties(TypeAwareSelectionContext context) |
void |
dataInput(TypeAwareSelectionContext context) |
org.zkoss.zk.ui.Component |
getEast() |
LabelService |
getLabelService() |
org.zkoss.zk.ui.HtmlBasedComponent |
getMainCnt() |
org.zkoss.zk.ui.Component |
getNext() |
org.zkoss.zk.ui.Component |
getPrevious() |
void |
handleModifiedObject(Object object) |
void |
initialize(org.zkoss.zk.ui.Component comp)
Override this method to do initialization stuff for your widget, like initialize widget settings, restore view
state from viewmodel, etc.
|
protected boolean |
isNotFirst(Object object) |
protected boolean |
isNotLast(Object object) |
void |
onDelete(CockpitEvent cockpitEvent) |
void |
selectNext() |
void |
selectObject(Object object) |
void |
selectPrevious() |
protected void |
updateWidgetTitile()
Deprecated.
since 1808 due to a typo
|
protected void |
updateWidgetTitle() |
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitlescanEventListenersalert, didActivate, getPage, willClone, willPassivateprotected static final String SOCKET_INPUT_DATA
protected static final String SOCKET_INPUT_SELECTED_OBJECT
protected static final String SOCKET_INPUT_MODIFIED_OBJECT
protected static final String SOCKET_OUTPUT_EDIT_OBJECT
protected static final String SOCKET_OUTPUT_SINGLE_OBJECT_SAVED
protected static final String SOCKET_OUTPUT_PAGEABLE
protected static final String WIDGET_STATE_LAST_INPUT
protected static final String WIDGET_STATE_SELECTED_OBJECT
protected static final String COMPONENT_NEXT
protected static final String COMPONENT_PREVIOUS
protected static final String WIDGET_SETTING_PAGE_SIZE
protected static final String WIDGET_SETTING_NAVIGATION_ON
protected static final String SINGLE_REFERENCE_SCLASS
protected static final String MULTI_REFERENCE_SCLASS
protected org.zkoss.zk.ui.Component next
protected org.zkoss.zk.ui.Component previous
protected org.zkoss.zk.ui.Component east
protected org.zkoss.zk.ui.HtmlBasedComponent mainCnt
protected Widgetslot editorArea
protected Widgetslot list
public void initialize(org.zkoss.zk.ui.Component comp)
DefaultWidgetControllerDefaultWidgetController.doAfterCompose(Component) everytime your widget
view is created. See GenericForwardComposer.doAfterCompose(Component) for more details.initialize in class DefaultWidgetControllerprotected void applyAdditionalContextProperties(TypeAwareSelectionContext context)
public void onDelete(CockpitEvent cockpitEvent)
public void dataInput(TypeAwareSelectionContext context)
public void selectObject(Object object)
public void handleModifiedObject(Object object)
public void selectNext()
public void selectPrevious()
protected void updateWidgetTitle()
@Deprecated protected void updateWidgetTitile()
updateWidgetTitle()protected boolean isNotFirst(Object object)
protected boolean isNotLast(Object object)
public org.zkoss.zk.ui.Component getNext()
public org.zkoss.zk.ui.Component getPrevious()
public org.zkoss.zk.ui.Component getEast()
public org.zkoss.zk.ui.HtmlBasedComponent getMainCnt()
public LabelService getLabelService()
Copyright © 2018. All rights reserved.