Class OutputTestWidgetController
- 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.OutputTestWidgetController
-
- 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 OutputTestWidgetController extends DefaultWidgetController
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringATTRIBUTE_VALUE_LISTprotected static java.lang.StringCOLLINPUTprotected static java.lang.StringCONSTANTSprotected static java.lang.StringGENERIC_INPUTprotected static java.lang.StringQUALIFIED_NAMESprotected static java.lang.StringSHOW_COLL_INPUTprotected static java.lang.StringSTATIC_VARIABLES
-
Constructor Summary
Constructors Constructor Description OutputTestWidgetController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchooseObjectFromCol(java.lang.Object object)voidfilterConstants()voidfilterQualifiedNames()voidfilterStaticVariables()org.zkoss.zul.ListboxgetAttributeValueList()org.zkoss.zul.MenuitemgetConstants()org.zkoss.zul.MenuitemgetConstantsMenuItem()org.zkoss.zul.MenuitemgetQualifiedNames()org.zkoss.zul.ListboxgetShowCollInput()org.zkoss.zul.MenuitemgetStaticVariables()voidhandleDrop(org.zkoss.zk.ui.event.Event event)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.voidselectObjectFromCollection()voidupdateTextboxInput(java.lang.Object object)-
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
-
ATTRIBUTE_VALUE_LIST
protected static final java.lang.String ATTRIBUTE_VALUE_LIST
- See Also:
- Constant Field Values
-
COLLINPUT
protected static final java.lang.String COLLINPUT
- See Also:
- Constant Field Values
-
SHOW_COLL_INPUT
protected static final java.lang.String SHOW_COLL_INPUT
- See Also:
- Constant Field Values
-
GENERIC_INPUT
protected static final java.lang.String GENERIC_INPUT
- See Also:
- Constant Field Values
-
CONSTANTS
protected static final java.lang.String CONSTANTS
- See Also:
- Constant Field Values
-
STATIC_VARIABLES
protected static final java.lang.String STATIC_VARIABLES
- See Also:
- Constant Field Values
-
QUALIFIED_NAMES
protected static final java.lang.String QUALIFIED_NAMES
- See Also:
- Constant Field Values
-
-
Method Detail
-
chooseObjectFromCol
public void chooseObjectFromCol(java.lang.Object object)
-
selectObjectFromCollection
public void selectObjectFromCollection() throws java.lang.IllegalAccessException- Throws:
java.lang.IllegalAccessException
-
updateTextboxInput
public void updateTextboxInput(java.lang.Object object) throws java.lang.IllegalAccessException- Throws:
java.lang.IllegalAccessException
-
handleDrop
public void handleDrop(org.zkoss.zk.ui.event.Event event) throws java.lang.IllegalAccessException- Throws:
java.lang.IllegalAccessException
-
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
-
filterQualifiedNames
public void filterQualifiedNames()
-
filterStaticVariables
public void filterStaticVariables()
-
filterConstants
public void filterConstants()
-
getShowCollInput
public org.zkoss.zul.Listbox getShowCollInput()
-
getConstants
public org.zkoss.zul.Menuitem getConstants()
-
getStaticVariables
public org.zkoss.zul.Menuitem getStaticVariables()
-
getQualifiedNames
public org.zkoss.zul.Menuitem getQualifiedNames()
-
getAttributeValueList
public org.zkoss.zul.Listbox getAttributeValueList()
-
getConstantsMenuItem
public org.zkoss.zul.Menuitem getConstantsMenuItem()
-
-