Class MapEditorsDemoController
- java.lang.Object
-
- org.zkoss.zk.ui.event.GenericEventListener
-
- org.zkoss.zk.ui.util.GenericComposer<T>
-
- org.zkoss.zk.ui.util.GenericAutowireComposer<T>
-
- org.zkoss.zk.ui.util.GenericForwardComposer<org.zkoss.zk.ui.Component>
-
- com.hybris.cockpitng.util.ViewAnnotationAwareComposer
-
- com.hybris.cockpitng.util.DefaultWidgetController
-
- com.hybris.cockpitng.widgets.controller.MapEditorsDemoController
-
- All Implemented Interfaces:
WidgetController,WidgetDragAndDropAware,WidgetInstanceManagerAware,java.io.Serializable,org.zkoss.zk.ui.event.EventListener,org.zkoss.zk.ui.event.SerializableEventListener,org.zkoss.zk.ui.util.ComponentActivationListener,org.zkoss.zk.ui.util.ComponentCloneListener,org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>,org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>
public class MapEditorsDemoController extends DefaultWidgetController
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringMAP_EDITOR_TRANSLATIONSprotected static java.lang.StringSOCKET_IN_MODIFIED_PROPERTY_INPUT
-
Constructor Summary
Constructors Constructor Description MapEditorsDemoController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorgetMapEditorNumbers()EditorgetMapEditorPrices()EditorgetMapEditorTranslations()voidinitialize(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.voidonMapEditorSimpleValueModified()voidreceiveModificationInput(Couple<java.lang.String,java.lang.Object> couple)voidsendModificationOutput(java.lang.String property, java.lang.Object value)-
Methods inherited from class com.hybris.cockpitng.util.DefaultWidgetController
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, setWidgetTitle
-
Methods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer
scanEventListeners
-
Methods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
alert, didActivate, getPage, willClone, willPassivate
-
-
-
-
Field Detail
-
SOCKET_IN_MODIFIED_PROPERTY_INPUT
protected static final java.lang.String SOCKET_IN_MODIFIED_PROPERTY_INPUT
- See Also:
- Constant Field Values
-
MAP_EDITOR_TRANSLATIONS
protected static final java.lang.String MAP_EDITOR_TRANSLATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.zkoss.zk.ui.Component comp)
Description copied from class:DefaultWidgetControllerOverride this method to do initialization stuff for your widget, like initialize widget settings, restore view state from viewmodel, etc. This method will be invoked byDefaultWidgetController.doAfterCompose(Component)everytime your widget view is created. SeeGenericForwardComposer.doAfterCompose(Component)for more details.- Overrides:
initializein classDefaultWidgetController
-
onMapEditorSimpleValueModified
public void onMapEditorSimpleValueModified()
-
sendModificationOutput
public void sendModificationOutput(java.lang.String property, java.lang.Object value)
-
receiveModificationInput
public void receiveModificationInput(Couple<java.lang.String,java.lang.Object> couple)
-
getMapEditorPrices
public Editor getMapEditorPrices()
-
getMapEditorNumbers
public Editor getMapEditorNumbers()
-
getMapEditorTranslations
public Editor getMapEditorTranslations()
-
-