Class DefaultButtonImageResource

    • Constructor Detail

      • DefaultButtonImageResource

        public DefaultButtonImageResource​(int width,
                                          int height,
                                          String label)
        Parameters:
        label - The label for this button image
        width - Width of image in pixels
        height - Height of image in pixels
    • Method Detail

      • setDefaultHeight

        public static void setDefaultHeight​(int defaultHeight)
        Parameters:
        defaultHeight - The defaultHeight to set.
      • setDefaultWidth

        public static void setDefaultWidth​(int defaultWidth)
        Parameters:
        defaultWidth - The defaultWidth to set.
      • getArcHeight

        public int getArcHeight()
        Returns:
        Returns the arcHeight.
      • getArcWidth

        public int getArcWidth()
        Returns:
        Returns the arcWidth.
      • getFont

        public Font getFont()
        Returns:
        Returns the font.
      • setArcHeight

        public void setArcHeight​(int arcHeight)
        Parameters:
        arcHeight - The arcHeight to set.
      • setArcWidth

        public void setArcWidth​(int arcWidth)
        Parameters:
        arcWidth - The arcWidth to set.
      • setBackgroundColor

        public void setBackgroundColor​(Color backgroundColor)
        Parameters:
        backgroundColor - The backgroundColor to set.
      • setColor

        public void setColor​(Color color)
        Parameters:
        color - The color to set.
      • setFont

        public void setFont​(Font font)
        Parameters:
        font - The font to set.
      • setTextColor

        public void setTextColor​(Color textColor)
        Parameters:
        textColor - The textColor to set.