org.tbee.swing
Class IconUtils

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

public class IconUtils
extends Object

This is a small class providing some basic and very often used image functions associated with Swing. For example the gradient image which is often used in conjunction with JPanelWithBackground.

Version:
$Revision: 1.2 $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
IconUtils()
           
 
Method Summary
static ImageIcon createBrighterIcon(Icon icon)
           
static BufferedImage createBufferedImage(Icon icon)
           
static ImageIcon createDarkerIcon(Icon icon)
           
 
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

IconUtils

public IconUtils()
Method Detail

createBufferedImage

public static BufferedImage createBufferedImage(Icon icon)
Parameters:
icon -
Returns:

createBrighterIcon

public static ImageIcon createBrighterIcon(Icon icon)
Parameters:
icon -
Returns:

createDarkerIcon

public static ImageIcon createDarkerIcon(Icon icon)
Parameters:
icon -
Returns:


Copyright © 2011 KnowledgePlaza. All Rights Reserved.