public class ToolbarWidgetController extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SCLASS_YW_TOOLBAR_HORIZONTAL |
protected static String |
SCLASS_YW_TOOLBAR_VERTICAL |
protected static String |
SETTING_VIEW_MODE |
protected static String |
SOCKET_ACTIONS |
protected static String |
SOCKET_LOADED_ACTIONS |
protected static String |
SOCKET_TYPE |
protected static String |
TOOLBAR_SLOT_COMPONENT_ID |
protected static String |
VIEW_MODE_VERTICAL |
| Constructor and Description |
|---|
ToolbarWidgetController() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeActions(String actions) |
void |
changeType(String typeCode) |
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 void |
reload() |
protected void |
setViewMode() |
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_TYPE
protected static final String SOCKET_ACTIONS
protected static final String SOCKET_LOADED_ACTIONS
protected static final String TOOLBAR_SLOT_COMPONENT_ID
protected static final String SETTING_VIEW_MODE
protected static final String VIEW_MODE_VERTICAL
protected static final String SCLASS_YW_TOOLBAR_VERTICAL
protected static final String SCLASS_YW_TOOLBAR_HORIZONTAL
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 setViewMode()
public void changeType(String typeCode)
public void changeActions(String actions)
protected void reload()
Copyright © 2018. All rights reserved.