Class RangeLabelProvider

  • All Implemented Interfaces:
    com.hybris.cockpitng.labels.LabelProvider<com.hybris.cockpitng.util.Range>

    public class RangeLabelProvider
    extends java.lang.Object
    implements com.hybris.cockpitng.labels.LabelProvider<com.hybris.cockpitng.util.Range>
    Label Provider for Ranges. It delegates label resolution to * LabelService.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getDefaultNoValue()  
      java.lang.String getDescription​(com.hybris.cockpitng.util.Range range)  
      java.lang.String getIconPath​(com.hybris.cockpitng.util.Range range)  
      java.lang.String getLabel​(com.hybris.cockpitng.util.Range range)  
      protected java.lang.String getLabelFrom()  
      protected com.hybris.cockpitng.labels.LabelService getLabelService()  
      protected java.lang.String getLabelTo()  
      protected java.lang.String getStringValue​(java.lang.Object object)  
      void setLabelService​(com.hybris.cockpitng.labels.LabelService labelService)  
      • 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.labels.LabelProvider

        getShortLabel
    • Constructor Detail

      • RangeLabelProvider

        public RangeLabelProvider()
    • Method Detail

      • getLabel

        public java.lang.String getLabel​(com.hybris.cockpitng.util.Range range)
        Specified by:
        getLabel in interface com.hybris.cockpitng.labels.LabelProvider<com.hybris.cockpitng.util.Range>
      • getDefaultNoValue

        protected java.lang.String getDefaultNoValue()
      • getLabelFrom

        protected java.lang.String getLabelFrom()
      • getLabelTo

        protected java.lang.String getLabelTo()
      • getStringValue

        protected java.lang.String getStringValue​(java.lang.Object object)
      • getDescription

        public java.lang.String getDescription​(com.hybris.cockpitng.util.Range range)
        Specified by:
        getDescription in interface com.hybris.cockpitng.labels.LabelProvider<com.hybris.cockpitng.util.Range>
      • getIconPath

        public java.lang.String getIconPath​(com.hybris.cockpitng.util.Range range)
        Specified by:
        getIconPath in interface com.hybris.cockpitng.labels.LabelProvider<com.hybris.cockpitng.util.Range>
      • getLabelService

        protected com.hybris.cockpitng.labels.LabelService getLabelService()
      • setLabelService

        public void setLabelService​(com.hybris.cockpitng.labels.LabelService labelService)