Constructor Summary |
---|
Color()
construct function |
Method Summary | ||
---|---|---|
method | equals(obj) | |
Tests whether the specified object is a Color object and is equivalent to this object. | ||
static method | fromArgb(argb) | |
Creates a Color object from a 32-bit ARGB value. | ||
static method | fromArgb(red, green, blue) | |
Creates a Color object from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits. | ||
static method | fromArgb(alpha, red, green, blue) | |
Creates a Color object from the four ARGB component (alpha,red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits. | ||
method | getA() | |
Gets the alpha component value of this Color object. | ||
static method | getAliceBlue() | |
Get a system-defined color. | ||
static method | getAntiqueWhite() | |
Get a system-defined color. | ||
static method | getAqua() | |
Get a system-defined color. | ||
static method | getAquamarine() | |
Get a system-defined color. | ||
static method | getAzure() | |
Get a system-defined color. | ||
method | getB() | |
Gets the blue component value of this Color object. | ||
static method | getBeige() | |
Get a system-defined color. | ||
static method | getBisque() | |
Get a system-defined color. | ||
static method | getBlack() | |
Get a system-defined color. | ||
static method | getBlanchedAlmond() | |
Get a system-defined color. | ||
static method | getBlue() | |
Get a system-defined color. | ||
static method | getBlueViolet() | |
Get a system-defined color. | ||
static method | getBrown() | |
Get a system-defined color. | ||
static method | getBurlyWood() | |
Get a system-defined color. | ||
static method | getCadetBlue() | |
Get a system-defined color. | ||
static method | getChartreuse() | |
Get a system-defined color. | ||
static method | getChocolate() | |
Get a system-defined color. | ||
static method | getCoral() | |
Get a system-defined color. | ||
static method | getCornflowerBlue() | |
Get a system-defined color. | ||
static method | getCornsilk() | |
Get a system-defined color. | ||
static method | getCrimson() | |
Get a system-defined color. | ||
static method | getCyan() | |
Get a system-defined color. | ||
static method | getDarkBlue() | |
Get a system-defined color. | ||
static method | getDarkCyan() | |
Get a system-defined color. | ||
static method | getDarkGoldenrod() | |
Get a system-defined color. | ||
static method | getDarkGray() | |
Get a system-defined color. | ||
static method | getDarkGreen() | |
Get a system-defined color. | ||
static method | getDarkKhaki() | |
Get a system-defined color. | ||
static method | getDarkMagenta() | |
Get a system-defined color. | ||
static method | getDarkOliveGreen() | |
Get a system-defined color. | ||
static method | getDarkOrange() | |
Get a system-defined color. | ||
static method | getDarkOrchid() | |
Get a system-defined color. | ||
static method | getDarkRed() | |
Get a system-defined color. | ||
static method | getDarkSalmon() | |
Get a system-defined color. | ||
static method | getDarkSeaGreen() | |
Get a system-defined color. | ||
static method | getDarkSlateBlue() | |
Get a system-defined color. | ||
static method | getDarkSlateGray() | |
Get a system-defined color. | ||
static method | getDarkTurquoise() | |
Get a system-defined color. | ||
static method | getDarkViolet() | |
Get a system-defined color. | ||
static method | getDeepPink() | |
Get a system-defined color. | ||
static method | getDeepSkyBlue() | |
Get a system-defined color. | ||
static method | getDimGray() | |
Get a system-defined color. | ||
static method | getDodgerBlue() | |
Get a system-defined color. | ||
static method | getEmpty() | |
Get a system-defined empty color. | ||
static method | getFirebrick() | |
Get a system-defined color. | ||
static method | getFloralWhite() | |
Get a system-defined color. | ||
static method | getForestGreen() | |
Get a system-defined color. | ||
static method | getFuchsia() | |
Get a system-defined color. | ||
method | getG() | |
Gets the green component value of this Color object. | ||
static method | getGainsboro() | |
Get a system-defined color. | ||
static method | getGhostWhite() | |
Get a system-defined color. | ||
static method | getGold() | |
Get a system-defined color. | ||
static method | getGoldenrod() | |
Get a system-defined color. | ||
static method | getGray() | |
Get a system-defined color. | ||
static method | getGreen() | |
Get a system-defined color. | ||
static method | getGreenYellow() | |
Get a system-defined color. | ||
static method | getHoneydew() | |
Get a system-defined color. | ||
static method | getHotPink() | |
Get a system-defined color. | ||
static method | getIndianRed() | |
Get a system-defined color. | ||
static method | getIndigo() | |
Get a system-defined color. | ||
static method | getIvory() | |
Get a system-defined color. | ||
static method | getKhaki() | |
Get a system-defined color. | ||
static method | getLavender() | |
Get a system-defined color. | ||
static method | getLavenderBlush() | |
Get a system-defined color. | ||
static method | getLawnGreen() | |
Get a system-defined color. | ||
static method | getLemonChiffon() | |
Get a system-defined color. | ||
static method | getLightBlue() | |
Get a system-defined color. | ||
static method | getLightCoral() | |
Get a system-defined color. | ||
static method | getLightCyan() | |
Get a system-defined color. | ||
static method | getLightGoldenrodYellow() | |
Get a system-defined color. | ||
static method | getLightGray() | |
Get a system-defined color. | ||
static method | getLightGreen() | |
Get a system-defined color. | ||
static method | getLightPink() | |
Get a system-defined color. | ||
static method | getLightSalmon() | |
Get a system-defined color. | ||
static method | getLightSeaGreen() | |
Get a system-defined color. | ||
static method | getLightSkyBlue() | |
Get a system-defined color. | ||
static method | getLightSlateGray() | |
Get a system-defined color. | ||
static method | getLightSteelBlue() | |
Get a system-defined color. | ||
static method | getLightYellow() | |
Get a system-defined color. | ||
static method | getLime() | |
Get a system-defined color. | ||
static method | getLimeGreen() | |
Get a system-defined color. | ||
static method | getLinen() | |
Get a system-defined color. | ||
static method | getMagenta() | |
Get a system-defined color. | ||
static method | getMaroon() | |
Get a system-defined color. | ||
static method | getMediumAquamarine() | |
Get a system-defined color. | ||
static method | getMediumBlue() | |
Get a system-defined color. | ||
static method | getMediumOrchid() | |
Get a system-defined color. | ||
static method | getMediumPurple() | |
Get a system-defined color. | ||
static method | getMediumSeaGreen() | |
Get a system-defined color. | ||
static method | getMediumSlateBlue() | |
Get a system-defined color. | ||
static method | getMediumSpringGreen() | |
Get a system-defined color. | ||
static method | getMediumTurquoise() | |
Get a system-defined color. | ||
static method | getMediumVioletRed() | |
Get a system-defined color. | ||
static method | getMidnightBlue() | |
Get a system-defined color. | ||
static method | getMintCream() | |
Get a system-defined color. | ||
static method | getMistyRose() | |
Get a system-defined color. | ||
static method | getMoccasin() | |
Get a system-defined color. | ||
static method | getNavajoWhite() | |
Get a system-defined color. | ||
static method | getNavy() | |
Get a system-defined color. | ||
static method | getOldLace() | |
Get a system-defined color. | ||
static method | getOlive() | |
Get a system-defined color. | ||
static method | getOliveDrab() | |
Get a system-defined color. | ||
static method | getOrange() | |
Get a system-defined color. | ||
static method | getOrangeRed() | |
Get a system-defined color. | ||
static method | getOrchid() | |
Get a system-defined color. | ||
static method | getPaleGoldenrod() | |
Get a system-defined color. | ||
static method | getPaleGreen() | |
Get a system-defined color. | ||
static method | getPaleTurquoise() | |
Get a system-defined color. | ||
static method | getPaleVioletRed() | |
Get a system-defined color. | ||
static method | getPapayaWhip() | |
Get a system-defined color. | ||
static method | getPeachPuff() | |
Get a system-defined color. | ||
static method | getPeru() | |
Get a system-defined color. | ||
static method | getPink() | |
Get a system-defined color. | ||
static method | getPlum() | |
Get a system-defined color. | ||
static method | getPowderBlue() | |
Get a system-defined color. | ||
static method | getPurple() | |
Get a system-defined color. | ||
method | getR() | |
Gets the red component value of this Color object. | ||
static method | getRed() | |
Get a system-defined color. | ||
static method | getRosyBrown() | |
Get a system-defined color. | ||
static method | getRoyalBlue() | |
Get a system-defined color. | ||
static method | getSaddleBrown() | |
Get a system-defined color. | ||
static method | getSalmon() | |
Get a system-defined color. | ||
static method | getSandyBrown() | |
Get a system-defined color. | ||
static method | getSeaGreen() | |
Get a system-defined color. | ||
static method | getSeaShell() | |
Get a system-defined color. | ||
static method | getSienna() | |
Get a system-defined color. | ||
static method | getSilver() | |
Get a system-defined color. | ||
static method | getSkyBlue() | |
Get a system-defined color. | ||
static method | getSlateBlue() | |
Get a system-defined color. | ||
static method | getSlateGray() | |
Get a system-defined color. | ||
static method | getSnow() | |
Get a system-defined color. | ||
static method | getSpringGreen() | |
Get a system-defined color. | ||
static method | getSteelBlue() | |
Get a system-defined color. | ||
static method | getTan() | |
Get a system-defined color. | ||
static method | getTeal() | |
Get a system-defined color. | ||
static method | getThistle() | |
Get a system-defined color. | ||
static method | getTomato() | |
Get a system-defined color. | ||
static method | getTransparent() | |
Get a system-defined color. | ||
static method | getTurquoise() | |
Get a system-defined color. | ||
static method | getViolet() | |
Get a system-defined color. | ||
static method | getWheat() | |
Get a system-defined color. | ||
static method | getWhite() | |
Get a system-defined color. | ||
static method | getWhiteSmoke() | |
Get a system-defined color. | ||
static method | getYellow() | |
Get a system-defined color. | ||
static method | getYellowGreen() | |
Get a system-defined color. | ||
method | hashCode() | |
Returns a hash code for this Color object. | ||
method | isEmpty() | |
Specifies whether this Color object is uninitialized. | ||
method | toArgb() | |
Gets the 32-bit ARGB value of this Color object. |
Constructor Detail |
---|
Color()
Method Detail |
---|
getSienna | |
static Color getSienna() |
getSilver | |
static Color getSilver() |
getSkyBlue | |
static Color getSkyBlue() |
getSlateBlue | |
static Color getSlateBlue() |
getSlateGray | |
static Color getSlateGray() |
getSnow | |
static Color getSnow() |
getSpringGreen | |
static Color getSpringGreen() |
getSteelBlue | |
static Color getSteelBlue() |
getTan | |
static Color getTan() |
getTeal | |
static Color getTeal() |
getThistle | |
static Color getThistle() |
getTomato | |
static Color getTomato() |
getTransparent | |
static Color getTransparent() |
getTurquoise | |
static Color getTurquoise() |
getViolet | |
static Color getViolet() |
getWheat | |
static Color getWheat() |
getWhite | |
static Color getWhite() |
getWhiteSmoke | |
static Color getWhiteSmoke() |
getYellow | |
static Color getYellow() |
getYellowGreen | |
static Color getYellowGreen() |
getA | |
byte getA() |
getR | |
byte getR() |
getG | |
byte getG() |
getB | |
byte getB() |
isEmpty | |
boolean isEmpty() |
toArgb | |
int toArgb() |
equals | |
boolean equals(obj) |
obj: Object
- The object to test.hashCode | |
int hashCode() |
fromArgb | |
static Color fromArgb(argb) |
argb: int
- A value specifying the 32-bit ARGB value.fromArgb | |
static Color fromArgb(red, green, blue) |
red: int
- The red component value for the new Color object. Valid values are 0 through 255.green: int
- The green component value for the new Color object. Valid values are 0 through 255.blue: int
- The blue component value for the new Color object. Valid values are 0 through 255.fromArgb | |
static Color fromArgb(alpha, red, green, blue) |
alpha: int
- The alpha component. Valid values are 0 through 255.red: int
- The red component. Valid values are 0 through 255.green: int
- The green component. Valid values are 0 through 255.blue: int
- The blue component. Valid values are 0 through 255.getEmpty | |
static Color getEmpty() |
getAliceBlue | |
static Color getAliceBlue() |
getAntiqueWhite | |
static Color getAntiqueWhite() |
getAzure | |
static Color getAzure() |
getAquamarine | |
static Color getAquamarine() |
getAqua | |
static Color getAqua() |
getBeige | |
static Color getBeige() |
getBisque | |
static Color getBisque() |
getBlack | |
static Color getBlack() |
getBlanchedAlmond | |
static Color getBlanchedAlmond() |
getBlue | |
static Color getBlue() |
getBlueViolet | |
static Color getBlueViolet() |
getBrown | |
static Color getBrown() |
getCadetBlue | |
static Color getCadetBlue() |
getBurlyWood | |
static Color getBurlyWood() |
getChartreuse | |
static Color getChartreuse() |
getChocolate | |
static Color getChocolate() |
getCoral | |
static Color getCoral() |
getCornflowerBlue | |
static Color getCornflowerBlue() |
getCornsilk | |
static Color getCornsilk() |
getCrimson | |
static Color getCrimson() |
getCyan | |
static Color getCyan() |
getDarkBlue | |
static Color getDarkBlue() |
getDarkCyan | |
static Color getDarkCyan() |
getDarkGoldenrod | |
static Color getDarkGoldenrod() |
getDarkGray | |
static Color getDarkGray() |
getDarkGreen | |
static Color getDarkGreen() |
getDarkKhaki | |
static Color getDarkKhaki() |
getDarkMagenta | |
static Color getDarkMagenta() |
getDarkOliveGreen | |
static Color getDarkOliveGreen() |
getDarkOrange | |
static Color getDarkOrange() |
getDarkOrchid | |
static Color getDarkOrchid() |
getDarkRed | |
static Color getDarkRed() |
getDarkSalmon | |
static Color getDarkSalmon() |
getDarkSeaGreen | |
static Color getDarkSeaGreen() |
getDarkSlateBlue | |
static Color getDarkSlateBlue() |
getDarkSlateGray | |
static Color getDarkSlateGray() |
getDarkTurquoise | |
static Color getDarkTurquoise() |
getDarkViolet | |
static Color getDarkViolet() |
getDeepPink | |
static Color getDeepPink() |
getDeepSkyBlue | |
static Color getDeepSkyBlue() |
getDimGray | |
static Color getDimGray() |
getDodgerBlue | |
static Color getDodgerBlue() |
getFirebrick | |
static Color getFirebrick() |
getFloralWhite | |
static Color getFloralWhite() |
getForestGreen | |
static Color getForestGreen() |
getFuchsia | |
static Color getFuchsia() |
getGainsboro | |
static Color getGainsboro() |
getGhostWhite | |
static Color getGhostWhite() |
getGold | |
static Color getGold() |
getGoldenrod | |
static Color getGoldenrod() |
getGray | |
static Color getGray() |
getGreen | |
static Color getGreen() |
getGreenYellow | |
static Color getGreenYellow() |
getHoneydew | |
static Color getHoneydew() |
getHotPink | |
static Color getHotPink() |
getIndianRed | |
static Color getIndianRed() |
getIndigo | |
static Color getIndigo() |
getIvory | |
static Color getIvory() |
getKhaki | |
static Color getKhaki() |
getLavender | |
static Color getLavender() |
getLavenderBlush | |
static Color getLavenderBlush() |
getLawnGreen | |
static Color getLawnGreen() |
getLemonChiffon | |
static Color getLemonChiffon() |
getLightBlue | |
static Color getLightBlue() |
getLightCoral | |
static Color getLightCoral() |
getLightCyan | |
static Color getLightCyan() |
getLightGoldenrodYellow | |
static Color getLightGoldenrodYellow() |
getLightGray | |
static Color getLightGray() |
getLightGreen | |
static Color getLightGreen() |
getLightPink | |
static Color getLightPink() |
getLightSalmon | |
static Color getLightSalmon() |
getLightSeaGreen | |
static Color getLightSeaGreen() |
getLightSkyBlue | |
static Color getLightSkyBlue() |
getLightSlateGray | |
static Color getLightSlateGray() |
getLightSteelBlue | |
static Color getLightSteelBlue() |
getLightYellow | |
static Color getLightYellow() |
getLime | |
static Color getLime() |
getLimeGreen | |
static Color getLimeGreen() |
getLinen | |
static Color getLinen() |
getMagenta | |
static Color getMagenta() |
getMaroon | |
static Color getMaroon() |
getMediumAquamarine | |
static Color getMediumAquamarine() |
getMediumBlue | |
static Color getMediumBlue() |
getMediumOrchid | |
static Color getMediumOrchid() |
getMediumPurple | |
static Color getMediumPurple() |
getMediumSeaGreen | |
static Color getMediumSeaGreen() |
getMediumSlateBlue | |
static Color getMediumSlateBlue() |
getMediumSpringGreen | |
static Color getMediumSpringGreen() |
getMediumTurquoise | |
static Color getMediumTurquoise() |
getMediumVioletRed | |
static Color getMediumVioletRed() |
getMidnightBlue | |
static Color getMidnightBlue() |
getMintCream | |
static Color getMintCream() |
getMistyRose | |
static Color getMistyRose() |
getMoccasin | |
static Color getMoccasin() |
getNavajoWhite | |
static Color getNavajoWhite() |
getNavy | |
static Color getNavy() |
getOldLace | |
static Color getOldLace() |
getOlive | |
static Color getOlive() |
getOliveDrab | |
static Color getOliveDrab() |
getOrange | |
static Color getOrange() |
getOrangeRed | |
static Color getOrangeRed() |
getOrchid | |
static Color getOrchid() |
getPaleGoldenrod | |
static Color getPaleGoldenrod() |
getPaleGreen | |
static Color getPaleGreen() |
getPaleTurquoise | |
static Color getPaleTurquoise() |
getPaleVioletRed | |
static Color getPaleVioletRed() |
getPapayaWhip | |
static Color getPapayaWhip() |
getPeachPuff | |
static Color getPeachPuff() |
getPeru | |
static Color getPeru() |
getPink | |
static Color getPink() |
getPlum | |
static Color getPlum() |
getPowderBlue | |
static Color getPowderBlue() |
getPurple | |
static Color getPurple() |
getRed | |
static Color getRed() |
getRosyBrown | |
static Color getRosyBrown() |
getRoyalBlue | |
static Color getRoyalBlue() |
getSaddleBrown | |
static Color getSaddleBrown() |
getSalmon | |
static Color getSalmon() |
getSandyBrown | |
static Color getSandyBrown() |
getSeaGreen | |
static Color getSeaGreen() |
getSeaShell | |
static Color getSeaShell() |