public class QuickToggleLocaleController extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LOCALE_LISTBOX |
| Constructor and Description |
|---|
QuickToggleLocaleController() |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zul.ListitemRenderer<Locale> |
createRenderer()
Creates the list item renderer.
|
CockpitLocaleService |
getCockpitLocaleService() |
CockpitUserService |
getCockpitUserService() |
org.zkoss.zul.Label |
getCurrentLocale() |
org.zkoss.zul.Listbox |
getLocalesList() |
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.
|
boolean |
isLocaleEnabled(Locale locale) |
void |
onSelectionChanged(org.zkoss.zk.ui.event.SelectEvent<org.zkoss.zul.Listitem,Locale> event) |
protected void |
refreshModel() |
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 LOCALE_LISTBOX
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 DefaultWidgetControllerpublic void onSelectionChanged(org.zkoss.zk.ui.event.SelectEvent<org.zkoss.zul.Listitem,Locale> event)
public boolean isLocaleEnabled(Locale locale)
protected void refreshModel()
protected org.zkoss.zul.ListitemRenderer<Locale> createRenderer()
public CockpitLocaleService getCockpitLocaleService()
public CockpitUserService getCockpitUserService()
public org.zkoss.zul.Label getCurrentLocale()
public org.zkoss.zul.Listbox getLocalesList()
Copyright © 2018. All rights reserved.