public class DashboardWidgetController extends DefaultWidgetController
| Constructor and Description |
|---|
DashboardWidgetController() |
| Modifier and Type | Method and Description |
|---|---|
Widgetchildren |
getChildrenContainer() |
org.zkoss.zul.Div |
getInnerContainer() |
org.zkoss.zul.Button |
getToggleLock() |
void |
globalClientInfo(DefaultCockpitEvent globalEvent) |
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 |
isDndEnabled() |
protected boolean |
isInRange(int num,
Integer min,
Integer max)
Checks if the given number is in the given range.
|
void |
onViewInfo() |
void |
unlockDnd() |
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, willPassivatepublic 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 boolean isDndEnabled()
public void onViewInfo()
public void unlockDnd()
public void globalClientInfo(DefaultCockpitEvent globalEvent)
protected boolean isInRange(int num,
Integer min,
Integer max)
num - number to checkmin - minimal value in the range (null = -infinity)max - maximal value in the range (null = +infinity)public org.zkoss.zul.Div getInnerContainer()
public org.zkoss.zul.Button getToggleLock()
public Widgetchildren getChildrenContainer()
Copyright © 2018. All rights reserved.