gui.icons
Class IconUtils

java.lang.Object
  extended by gui.icons.IconUtils

public class IconUtils
extends java.lang.Object


Nested Class Summary
static class IconUtils.OpenImageButton
           
 
Constructor Summary
IconUtils()
           
 
Method Summary
static javax.swing.Icon getColorIcon(java.awt.Image img)
           
static javax.swing.Icon getColorIcon(short[][] r)
           
static javax.swing.Icon getColorIcon(short[][] r, double ar, double ag, double ab)
           
static javax.swing.Icon getIcon(short[][] r)
           
static IconComponent getIconComponent(byte[][] icon)
           
static void updateImage(double ar, double ag, double ab, RunButton rb)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconUtils

public IconUtils()
Method Detail

updateImage

public static void updateImage(double ar,
                               double ag,
                               double ab,
                               RunButton rb)

getColorIcon

public static javax.swing.Icon getColorIcon(java.awt.Image img)

getColorIcon

public static javax.swing.Icon getColorIcon(short[][] r)

getColorIcon

public static javax.swing.Icon getColorIcon(short[][] r,
                                            double ar,
                                            double ag,
                                            double ab)

getIcon

public static javax.swing.Icon getIcon(short[][] r)

getIconComponent

public static IconComponent getIconComponent(byte[][] icon)