Java Swing Tutorial - Color Example
Field
- Java Color black
- Java Color BLACK
- Java Color blue
- Java Color BLUE
- Java Color cyan
- Java Color CYAN
- Java Color DARK_GRAY
- Java Color darkGray
- Java Color gray
- Java Color GRAY
- Java Color green
- Java Color GREEN
- Java Color LIGHT_GRAY
- Java Color lightGray
- Java Color magenta
- Java Color MAGENTA
- Java Color orange
- Java Color ORANGE
- Java Color pink
- Java Color PINK
- Java Color red
- Java Color RED
- Java Color white
- Java Color WHITE
- Java Color yellow
- Java Color YELLOW
Constructor
- Java Color(ColorSpace cspace, float[] components, float alpha) Constructor
- Java Color(float r, float g, float b) Constructor
- Java Color(float r, float g, float b, float a) Constructor
- Java Color(int rgb) Constructor
- Java Color(int rgba, boolean hasalpha) Constructor
- Java Color(int r, int g, int b) Constructor
- Java Color(int r, int g, int b, int a) Constructor
Method
- Java Color.brighter()
- Java Color.darker()
- Java Color.decode(String nm)
- Java Color.equals(Object obj)
- Java Color.getAlpha()
- Java Color.getBlue()
- Java Color.getColor(String nm)
- Java Color.getColor(String nm, Color v)
- Java Color.getColor(String nm, int v)
- Java Color .getColorComponents (ColorSpace cspace, float[] compArray)
- Java Color .getColorComponents (float[] compArray)
- Java Color.getColorSpace()
- Java Color .getComponents (ColorSpace cspace, float[] compArray)
- Java Color.getComponents(float[] compArray)
- Java Color.getGreen()
- Java Color.getHSBColor(float h, float s, float b)
- Java Color.getRed()
- Java Color.getRGB()
- Java Color .getRGBColorComponents (float[] compArray)
- Java Color .getRGBComponents (float[] compArray)
- Java Color.getTransparency()
- Java Color.hashCode()
- Java Color.HSBtoRGB(float hue, float saturation, float brightness)
- Java Color.RGBtoHSB(int r, int g, int b, float[] hsbvals)
- Java Color.toString()