Class GenericChartController

  • All Implemented Interfaces:
    com.hybris.cockpitng.core.WidgetController, com.hybris.cockpitng.dnd.WidgetDragAndDropAware, com.hybris.cockpitng.engine.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 GenericChartController
    extends com.hybris.cockpitng.util.DefaultWidgetController
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REFRESH_INPUT_SOCKET  
      static java.lang.String YW_GENERIC_CHART_INFO_LABEL  
      static java.lang.String YW_GENERIC_CHART_INFO_VALUE  
      static java.lang.String YW_GENERIC_CHART_INFO_WRAPPER  
      • Fields inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer

        _separator, application, applicationScope, arg, componentScope, desktop, desktopScope, execution, page, pageScope, param, requestScope, self, session, sessionScope, spaceOwner, spaceScope
      • Fields inherited from class org.zkoss.zk.ui.util.GenericComposer

        _applied
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.zkoss.chart.Charts getCharts()  
      protected org.zkoss.zul.Div getInfoContainer()  
      void initialize​(org.zkoss.zk.ui.Component comp)  
      void refresh()  
      protected void renderInfoLabels​(java.util.Collection<ChartInfoLabel> infoLabels)  
      • 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
      • Methods inherited from class org.zkoss.zk.ui.util.GenericComposer

        doCatch, doFinally
      • Methods inherited from class org.zkoss.zk.ui.event.GenericEventListener

        bindComponent, getController, onEvent, unbindComponent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • REFRESH_INPUT_SOCKET

        public static final java.lang.String REFRESH_INPUT_SOCKET
        See Also:
        Constant Field Values
      • YW_GENERIC_CHART_INFO_WRAPPER

        public static final java.lang.String YW_GENERIC_CHART_INFO_WRAPPER
        See Also:
        Constant Field Values
      • YW_GENERIC_CHART_INFO_VALUE

        public static final java.lang.String YW_GENERIC_CHART_INFO_VALUE
        See Also:
        Constant Field Values
      • YW_GENERIC_CHART_INFO_LABEL

        public static final java.lang.String YW_GENERIC_CHART_INFO_LABEL
        See Also:
        Constant Field Values
    • Constructor Detail

      • GenericChartController

        public GenericChartController()
    • Method Detail

      • initialize

        public void initialize​(org.zkoss.zk.ui.Component comp)
        Overrides:
        initialize in class com.hybris.cockpitng.util.DefaultWidgetController
      • renderInfoLabels

        protected void renderInfoLabels​(java.util.Collection<ChartInfoLabel> infoLabels)
      • refresh

        public void refresh()
      • getCharts

        protected org.zkoss.chart.Charts getCharts()
      • getInfoContainer

        protected org.zkoss.zul.Div getInfoContainer()