javax.swing.plaf
Class ColorUIResource

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.Color sample code for java.awt.Color definition code for java.awt.Color 
      extended by javax.swing.plaf.ColorUIResource
All Implemented Interfaces:
Paint sample code for java.awt.Paint definition code for java.awt.Paint , Transparency sample code for java.awt.Transparency definition code for java.awt.Transparency , Serializable sample code for java.io.Serializable definition code for java.io.Serializable , UIResource sample code for javax.swing.plaf.UIResource definition code for javax.swing.plaf.UIResource

public class ColorUIResource
extends Color sample code for java.awt.Color definition code for java.awt.Color
implements UIResource sample code for javax.swing.plaf.UIResource definition code for javax.swing.plaf.UIResource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.Color sample code for java.awt.Color definition code for java.awt.Color
black sample code for java.awt.Color.black definition code for java.awt.Color.black , BLACK sample code for java.awt.Color.BLACK definition code for java.awt.Color.BLACK , blue sample code for java.awt.Color.blue definition code for java.awt.Color.blue , BLUE sample code for java.awt.Color.BLUE definition code for java.awt.Color.BLUE , cyan sample code for java.awt.Color.cyan definition code for java.awt.Color.cyan , CYAN sample code for java.awt.Color.CYAN definition code for java.awt.Color.CYAN , DARK_GRAY sample code for java.awt.Color.DARK_GRAY definition code for java.awt.Color.DARK_GRAY , darkGray sample code for java.awt.Color.darkGray definition code for java.awt.Color.darkGray , gray sample code for java.awt.Color.gray definition code for java.awt.Color.gray , GRAY sample code for java.awt.Color.GRAY definition code for java.awt.Color.GRAY , green sample code for java.awt.Color.green definition code for java.awt.Color.green , GREEN sample code for java.awt.Color.GREEN definition code for java.awt.Color.GREEN , LIGHT_GRAY sample code for java.awt.Color.LIGHT_GRAY definition code for java.awt.Color.LIGHT_GRAY , lightGray sample code for java.awt.Color.lightGray definition code for java.awt.Color.lightGray , magenta sample code for java.awt.Color.magenta definition code for java.awt.Color.magenta , MAGENTA sample code for java.awt.Color.MAGENTA definition code for java.awt.Color.MAGENTA , orange sample code for java.awt.Color.orange definition code for java.awt.Color.orange , ORANGE sample code for java.awt.Color.ORANGE definition code for java.awt.Color.ORANGE , pink sample code for java.awt.Color.pink definition code for java.awt.Color.pink , PINK sample code for java.awt.Color.PINK definition code for java.awt.Color.PINK , red sample code for java.awt.Color.red definition code for java.awt.Color.red , RED sample code for java.awt.Color.RED definition code for java.awt.Color.RED , white sample code for java.awt.Color.white definition code for java.awt.Color.white , WHITE sample code for java.awt.Color.WHITE definition code for java.awt.Color.WHITE , yellow sample code for java.awt.Color.yellow definition code for java.awt.Color.yellow , YELLOW sample code for java.awt.Color.YELLOW definition code for java.awt.Color.YELLOW
 
Fields inherited from interface java.awt.Transparency sample code for java.awt.Transparency definition code for java.awt.Transparency
BITMASK sample code for java.awt.Transparency.BITMASK definition code for java.awt.Transparency.BITMASK , OPAQUE sample code for java.awt.Transparency.OPAQUE definition code for java.awt.Transparency.OPAQUE , TRANSLUCENT sample code for java.awt.Transparency.TRANSLUCENT definition code for java.awt.Transparency.TRANSLUCENT
 
Constructor Summary
ColorUIResource sample code for javax.swing.plaf.ColorUIResource.ColorUIResource(java.awt.Color) definition code for javax.swing.plaf.ColorUIResource.ColorUIResource(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
           
ColorUIResource sample code for javax.swing.plaf.ColorUIResource.ColorUIResource(float, float, float) definition code for javax.swing.plaf.ColorUIResource.ColorUIResource(float, float, float) (float r, float g, float b)
           
ColorUIResource sample code for javax.swing.plaf.ColorUIResource.ColorUIResource(int) definition code for javax.swing.plaf.ColorUIResource.ColorUIResource(int) (int rgb)
           
ColorUIResource sample code for javax.swing.plaf.ColorUIResource.ColorUIResource(int, int, int) definition code for javax.swing.plaf.ColorUIResource.ColorUIResource(int, int, int) (int r, int g, int b)
           
 
Method Summary
 
Methods inherited from class java.awt.Color sample code for java.awt.Color definition code for java.awt.Color
brighter sample code for java.awt.Color.brighter() definition code for java.awt.Color.brighter() , createContext sample code for java.awt.Color.createContext(java.awt.image.ColorModel, java.awt.Rectangle, java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform, java.awt.RenderingHints) definition code for java.awt.Color.createContext(java.awt.image.ColorModel, java.awt.Rectangle, java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform, java.awt.RenderingHints) , darker sample code for java.awt.Color.darker() definition code for java.awt.Color.darker() , decode sample code for java.awt.Color.decode(java.lang.String) definition code for java.awt.Color.decode(java.lang.String) , equals sample code for java.awt.Color.equals(java.lang.Object) definition code for java.awt.Color.equals(java.lang.Object) , getAlpha sample code for java.awt.Color.getAlpha() definition code for java.awt.Color.getAlpha() , getBlue sample code for java.awt.Color.getBlue() definition code for java.awt.Color.getBlue() , getColor sample code for java.awt.Color.getColor(java.lang.String) definition code for java.awt.Color.getColor(java.lang.String) , getColor sample code for java.awt.Color.getColor(java.lang.String, java.awt.Color) definition code for java.awt.Color.getColor(java.lang.String, java.awt.Color) , getColor sample code for java.awt.Color.getColor(java.lang.String, int) definition code for java.awt.Color.getColor(java.lang.String, int) , getColorComponents sample code for java.awt.Color.getColorComponents(java.awt.color.ColorSpace, float[]) definition code for java.awt.Color.getColorComponents(java.awt.color.ColorSpace, float[]) , getColorComponents sample code for java.awt.Color.getColorComponents(float[]) definition code for java.awt.Color.getColorComponents(float[]) , getColorSpace sample code for java.awt.Color.getColorSpace() definition code for java.awt.Color.getColorSpace() , getComponents sample code for java.awt.Color.getComponents(java.awt.color.ColorSpace, float[]) definition code for java.awt.Color.getComponents(java.awt.color.ColorSpace, float[]) , getComponents sample code for java.awt.Color.getComponents(float[]) definition code for java.awt.Color.getComponents(float[]) , getGreen sample code for java.awt.Color.getGreen() definition code for java.awt.Color.getGreen() , getHSBColor sample code for java.awt.Color.getHSBColor(float, float, float) definition code for java.awt.Color.getHSBColor(float, float, float) , getRed sample code for java.awt.Color.getRed() definition code for java.awt.Color.getRed() , getRGB sample code for java.awt.Color.getRGB() definition code for java.awt.Color.getRGB() , getRGBColorComponents sample code for java.awt.Color.getRGBColorComponents(float[]) definition code for java.awt.Color.getRGBColorComponents(float[]) , getRGBComponents sample code for java.awt.Color.getRGBComponents(float[]) definition code for java.awt.Color.getRGBComponents(float[]) , getTransparency sample code for java.awt.Color.getTransparency() definition code for java.awt.Color.getTransparency() , hashCode sample code for java.awt.Color.hashCode() definition code for java.awt.Color.hashCode() , HSBtoRGB sample code for java.awt.Color.HSBtoRGB(float, float, float) definition code for java.awt.Color.HSBtoRGB(float, float, float) , RGBtoHSB sample code for java.awt.Color.RGBtoHSB(int, int, int, float[]) definition code for java.awt.Color.RGBtoHSB(int, int, int, float[]) , toString sample code for java.awt.Color.toString() definition code for java.awt.Color.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

ColorUIResource sample code for javax.swing.plaf.ColorUIResource(int, int, int) definition code for javax.swing.plaf.ColorUIResource(int, int, int)

public ColorUIResource(int r,
                       int g,
                       int b)

ColorUIResource sample code for javax.swing.plaf.ColorUIResource(int) definition code for javax.swing.plaf.ColorUIResource(int)

public ColorUIResource(int rgb)

ColorUIResource sample code for javax.swing.plaf.ColorUIResource(float, float, float) definition code for javax.swing.plaf.ColorUIResource(float, float, float)

public ColorUIResource(float r,
                       float g,
                       float b)

ColorUIResource sample code for javax.swing.plaf.ColorUIResource(java.awt.Color) definition code for javax.swing.plaf.ColorUIResource(java.awt.Color)

public ColorUIResource(Color sample code for java.awt.Color definition code for java.awt.Color  c)