Class LeftPad

    • Field Detail

      • m_Width

        protected int m_Width
        the width in chars to pad up to.
      • m_PadCharacter

        protected String m_PadCharacter
        the padding character.
    • Constructor Detail

      • LeftPad

        public LeftPad()
    • Method Detail

      • setWidth

        public void setWidth​(int value)
        Sets the width of the padded string.
        Parameters:
        value - the width
      • getWidth

        public int getWidth()
        Returns the width of the padded string.
        Returns:
        the width
      • widthTipText

        public String widthTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPadCharacter

        public void setPadCharacter​(String value)
        Sets the character to pad with.
        Parameters:
        value - the character
      • getPadCharacter

        public String getPadCharacter()
        Returns the character to pad width.
        Returns:
        the width
      • padCharacterTipText

        public String padCharacterTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.