org.tbee.swing
Class ButtonUtils

java.lang.Object
  extended by org.tbee.swing.ButtonUtils

public class ButtonUtils
extends Object

This is a small class for providing some scalable button images.

Version:
$Revision: 1.13 $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ButtonUtils()
           
 
Method Summary
static BufferedImage createAquaButton(int width, int height, Color backColorDark, Color backColorLight, Color topHighlightColor, JLabel label)
           
static BufferedImage createAquaButton(int width, int height, Color baseColor, JLabel label)
           
static BufferedImage createAquaButton(int width, int height, Color baseColor, String label)
           
static BufferedImage createAquaButton(int width, int height, JLabel label)
           
static BufferedImage createAquaButton(int width, int height, String label)
           
static BufferedImage createGelButton(int width, int height, Color outerMostColor, Color color2, Color color3, Color innerMostColor, JLabel label)
           
static BufferedImage createGelButton(int width, int height, Color baseColor, JLabel label)
           
static BufferedImage createGelButton(int width, int height, Color baseColor, String label)
           
static BufferedImage createGelButton(int width, int height, JLabel label)
           
static BufferedImage createGelButton(int width, int height, String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

ButtonUtils

public ButtonUtils()
Method Detail

createGelButton

public static BufferedImage createGelButton(int width,
                                            int height,
                                            String label)

createGelButton

public static BufferedImage createGelButton(int width,
                                            int height,
                                            JLabel label)

createGelButton

public static BufferedImage createGelButton(int width,
                                            int height,
                                            Color baseColor,
                                            String label)

createGelButton

public static BufferedImage createGelButton(int width,
                                            int height,
                                            Color baseColor,
                                            JLabel label)

createGelButton

public static BufferedImage createGelButton(int width,
                                            int height,
                                            Color outerMostColor,
                                            Color color2,
                                            Color color3,
                                            Color innerMostColor,
                                            JLabel label)

createAquaButton

public static BufferedImage createAquaButton(int width,
                                             int height,
                                             String label)

createAquaButton

public static BufferedImage createAquaButton(int width,
                                             int height,
                                             JLabel label)

createAquaButton

public static BufferedImage createAquaButton(int width,
                                             int height,
                                             Color baseColor,
                                             String label)

createAquaButton

public static BufferedImage createAquaButton(int width,
                                             int height,
                                             Color baseColor,
                                             JLabel label)

createAquaButton

public static BufferedImage createAquaButton(int width,
                                             int height,
                                             Color backColorDark,
                                             Color backColorLight,
                                             Color topHighlightColor,
                                             JLabel label)


Copyright © 2012 KnowledgePlaza. All Rights Reserved.