Class RuleAvailabilityListCellRenderer<R extends AbstractRuleModel>

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zul.Listcell,​com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn,​R>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.Listcell,​com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn,​R>

    public class RuleAvailabilityListCellRenderer<R extends AbstractRuleModel>
    extends com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zul.Listcell,​com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn,​R>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getLabelText​(AbstractRuleModel rule)
      Finds all the rule modules for the given rule and concatenates their names to obtain a comma separated string value
      void render​(org.zkoss.zul.Listcell parent, com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn columnConfiguration, R rule, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)  
      • Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer

        addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer

        render
    • Constructor Detail

      • RuleAvailabilityListCellRenderer

        public RuleAvailabilityListCellRenderer()
    • Method Detail

      • render

        public void render​(org.zkoss.zul.Listcell parent,
                           com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn columnConfiguration,
                           R rule,
                           com.hybris.cockpitng.dataaccess.facades.type.DataType dataType,
                           com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
      • getLabelText

        protected java.lang.String getLabelText​(AbstractRuleModel rule)
        Finds all the rule modules for the given rule and concatenates their names to obtain a comma separated string value