org.dishevelled.iconbundle.impl
Class IconBundleUtils

java.lang.Object
  extended by org.dishevelled.iconbundle.impl.IconBundleUtils

public final class IconBundleUtils
extends Object

IconBundle static utility class.

Version:
$Revision: 974 $ $Date: 2011-01-04 21:40:23 -0600 (Tue, 04 Jan 2011) $
Author:
Michael Heuer

Method Summary
static Image makeActive(BufferedImage src)
          Make the specified source image active.
static Image makeDisabled(BufferedImage src)
          Make the specified source image disabled.
static Image makeDragging(BufferedImage src)
          Make the specified source image dragging.
static Image makeMouseover(BufferedImage src)
          Make the specified source image mouseover.
static Image makeSelected(BufferedImage src, Color selectionColor)
          Make the specified source image selected.
static Image makeSelectedMouseover(BufferedImage src, Color selectionColor)
          Make the specified source image selected mouseover.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeActive

public static Image makeActive(BufferedImage src)
Make the specified source image active.

Parameters:
src - source image
Returns:
filtered source image

makeDisabled

public static Image makeDisabled(BufferedImage src)
Make the specified source image disabled.

Parameters:
src - source image
Returns:
filtered source image

makeDragging

public static Image makeDragging(BufferedImage src)
Make the specified source image dragging.

Parameters:
src - source image
Returns:
filtered source image

makeMouseover

public static Image makeMouseover(BufferedImage src)
Make the specified source image mouseover.

Parameters:
src - source image
Returns:
filtered source image

makeSelected

public static Image makeSelected(BufferedImage src,
                                 Color selectionColor)
Make the specified source image selected.

Parameters:
src - source image
selectionColor - selection color
Returns:
filtered source image

makeSelectedMouseover

public static Image makeSelectedMouseover(BufferedImage src,
                                          Color selectionColor)
Make the specified source image selected mouseover.

Parameters:
src - source image
selectionColor - selection color
Returns:
filtered source image


Copyright (c) 2003-2011 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).