Class AbstractLimitedTextRenderer

    • Field Detail

      • m_Limit

        protected int m_Limit
        the maximum to render.
      • m_ActualLimit

        protected int m_ActualLimit
        the actual limit.
    • Constructor Detail

      • AbstractLimitedTextRenderer

        public AbstractLimitedTextRenderer()
    • Method Detail

      • getDefaultLimit

        public abstract int getDefaultLimit()
        Returns the default limit.
        Specified by:
        getDefaultLimit in interface LimitedTextRenderer
        Returns:
        the default
      • setLimit

        public void setLimit​(int value)
        Sets the maximum of rows to render.
        Specified by:
        setLimit in interface LimitedTextRenderer
        Parameters:
        value - the maximum
      • getLimit

        public int getLimit()
        Returns the maximum of rows to render.
        Specified by:
        getLimit in interface LimitedTextRenderer
        Returns:
        the maximum
      • limitTipText

        public abstract String limitTipText()
        Returns the tip text for this property.
        Specified by:
        limitTipText in interface LimitedTextRenderer
        Returns:
        tip text for this property suitable for displaying in the explorer/experimenter gui
      • getActualLimit

        protected int getActualLimit()
        Returns the actual limit to use.
        Returns:
        the actual limit
      • renderUnlimited

        public String renderUnlimited​(Object obj)
        Renders the object as text with no limits.
        Specified by:
        renderUnlimited in interface LimitedTextRenderer
        Parameters:
        obj - the object to render
        Returns:
        the generated string or null if failed to render