Class EditorExampleMVCController
- 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.EditorExampleMVCController
-
- 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 EditorExampleMVCController extends DefaultWidgetController
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBOOLEAN_EDITORprotected EditorbooleanEditorprotected static java.lang.StringCHECK_BOOLEAN_EDITORprotected EditorchkBoolEditorprotected static java.lang.StringDATE_EDITORprotected EditordateEditorprotected static java.lang.StringDECIMAL_EDITORprotected EditordecimalEditorprotected static java.lang.StringDROPDOWN_BOOLEAN_EDITORprotected static java.lang.StringINTEGER_EDITORprotected EditorintegerEditorprotected static java.lang.StringLIST_EDITORprotected static java.lang.StringLIST_EDITOR_MOLDprotected EditorlistEditorprotected EditorlistEditorOsMoldprotected static java.lang.StringLONG_EDITORprotected EditorlongEditorprotected static java.lang.StringMAP_EDITORprotected EditormapEditorprotected EditorpkEditorprotected EditorpkEditor2protected static java.lang.StringRANGE_EDITORprotected EditorrangeEditorprotected EditorregularLocalizedprotected EditorselBooleanEditorprotected static java.lang.StringSOCKET_IN_MODIFIED_PROPERTY_INPUTprotected static java.lang.StringTEXT_EDITORprotected EditortextEditorprotected EditorwysiwygLocalized
-
Constructor Summary
Constructors Constructor Description EditorExampleMVCController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.voidonBooleanEditorValueModified()voidonChekBooleanEditorValueModified()voidonDateEditorValueModified()voidonDecimalEditorValueModified()voidonDropdownBooleanEditorValueModified()voidonIntegerEditorValueModified()voidonListEditorOsMoldValueModified()voidonListEditorValueModified()voidonLongEditorValueModified()voidonMapEditorValueModified()voidonRangeEditorValueModified()voidonTextEditorValueModified()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
-
DATE_EDITOR
protected static final java.lang.String DATE_EDITOR
- See Also:
- Constant Field Values
-
BOOLEAN_EDITOR
protected static final java.lang.String BOOLEAN_EDITOR
- See Also:
- Constant Field Values
-
CHECK_BOOLEAN_EDITOR
protected static final java.lang.String CHECK_BOOLEAN_EDITOR
- See Also:
- Constant Field Values
-
DROPDOWN_BOOLEAN_EDITOR
protected static final java.lang.String DROPDOWN_BOOLEAN_EDITOR
- See Also:
- Constant Field Values
-
INTEGER_EDITOR
protected static final java.lang.String INTEGER_EDITOR
- See Also:
- Constant Field Values
-
LONG_EDITOR
protected static final java.lang.String LONG_EDITOR
- See Also:
- Constant Field Values
-
DECIMAL_EDITOR
protected static final java.lang.String DECIMAL_EDITOR
- See Also:
- Constant Field Values
-
TEXT_EDITOR
protected static final java.lang.String TEXT_EDITOR
- See Also:
- Constant Field Values
-
RANGE_EDITOR
protected static final java.lang.String RANGE_EDITOR
- See Also:
- Constant Field Values
-
LIST_EDITOR
protected static final java.lang.String LIST_EDITOR
- See Also:
- Constant Field Values
-
LIST_EDITOR_MOLD
protected static final java.lang.String LIST_EDITOR_MOLD
- See Also:
- Constant Field Values
-
MAP_EDITOR
protected static final java.lang.String MAP_EDITOR
- See Also:
- Constant Field Values
-
SOCKET_IN_MODIFIED_PROPERTY_INPUT
protected static final java.lang.String SOCKET_IN_MODIFIED_PROPERTY_INPUT
- See Also:
- Constant Field Values
-
pkEditor
protected transient Editor pkEditor
-
pkEditor2
protected transient Editor pkEditor2
-
dateEditor
protected transient Editor dateEditor
-
booleanEditor
protected transient Editor booleanEditor
-
chkBoolEditor
protected transient Editor chkBoolEditor
-
selBooleanEditor
protected transient Editor selBooleanEditor
-
integerEditor
protected transient Editor integerEditor
-
longEditor
protected transient Editor longEditor
-
decimalEditor
protected transient Editor decimalEditor
-
textEditor
protected transient Editor textEditor
-
rangeEditor
protected transient Editor rangeEditor
-
listEditor
protected transient Editor listEditor
-
mapEditor
protected transient Editor mapEditor
-
regularLocalized
protected transient Editor regularLocalized
-
wysiwygLocalized
protected transient Editor wysiwygLocalized
-
listEditorOsMold
protected transient Editor listEditorOsMold
-
-
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
-
onDateEditorValueModified
public void onDateEditorValueModified()
-
onBooleanEditorValueModified
public void onBooleanEditorValueModified()
-
onChekBooleanEditorValueModified
public void onChekBooleanEditorValueModified()
-
onDropdownBooleanEditorValueModified
public void onDropdownBooleanEditorValueModified()
-
onIntegerEditorValueModified
public void onIntegerEditorValueModified()
-
onLongEditorValueModified
public void onLongEditorValueModified()
-
onDecimalEditorValueModified
public void onDecimalEditorValueModified()
-
onTextEditorValueModified
public void onTextEditorValueModified()
-
onRangeEditorValueModified
public void onRangeEditorValueModified()
-
onListEditorValueModified
public void onListEditorValueModified()
-
onListEditorOsMoldValueModified
public void onListEditorOsMoldValueModified()
-
onMapEditorValueModified
public void onMapEditorValueModified()
-
sendModificationOutput
public void sendModificationOutput(java.lang.String property, java.lang.Object value)
-
receiveModificationInput
public void receiveModificationInput(Couple<java.lang.String,java.lang.Object> couple)
-
-