Color
Inheritance: java.lang.Object
public class Color
Represents an ARGB (alpha, red, green, blue) color.
Constructors
Constructor | Description |
---|---|
Color() | construct function |
Methods
Method | Description |
---|---|
equals(Object obj) | Tests whether the specified object is a Color object and is equivalent to this object. |
fromArgb(int argb) | Creates a Color object from a 32-bit ARGB value. |
fromArgb(int red, int green, int blue) | Creates a Color object from the specified 8-bit color values (red, green, and blue). |
fromArgb(int alpha, int red, int green, int blue) | Creates a Color object from the four ARGB component (alpha,red, green, and blue) values. |
getA() | Gets the alpha component value of this Color object. |
getAliceBlue() | Get a system-defined color. |
getAntiqueWhite() | Get a system-defined color. |
getAqua() | Get a system-defined color. |
getAquamarine() | Get a system-defined color. |
getAzure() | Get a system-defined color. |
getB() | Gets the blue component value of this Color object. |
getBeige() | Get a system-defined color. |
getBisque() | Get a system-defined color. |
getBlack() | Get a system-defined color. |
getBlanchedAlmond() | Get a system-defined color. |
getBlue() | Get a system-defined color. |
getBlueViolet() | Get a system-defined color. |
getBrown() | Get a system-defined color. |
getBurlyWood() | Get a system-defined color. |
getCadetBlue() | Get a system-defined color. |
getChartreuse() | Get a system-defined color. |
getChocolate() | Get a system-defined color. |
getClass() | |
getCoral() | Get a system-defined color. |
getCornflowerBlue() | Get a system-defined color. |
getCornsilk() | Get a system-defined color. |
getCrimson() | Get a system-defined color. |
getCyan() | Get a system-defined color. |
getDarkBlue() | Get a system-defined color. |
getDarkCyan() | Get a system-defined color. |
getDarkGoldenrod() | Get a system-defined color. |
getDarkGray() | Get a system-defined color. |
getDarkGreen() | Get a system-defined color. |
getDarkKhaki() | Get a system-defined color. |
getDarkMagenta() | Get a system-defined color. |
getDarkOliveGreen() | Get a system-defined color. |
getDarkOrange() | Get a system-defined color. |
getDarkOrchid() | Get a system-defined color. |
getDarkRed() | Get a system-defined color. |
getDarkSalmon() | Get a system-defined color. |
getDarkSeaGreen() | Get a system-defined color. |
getDarkSlateBlue() | Get a system-defined color. |
getDarkSlateGray() | Get a system-defined color. |
getDarkTurquoise() | Get a system-defined color. |
getDarkViolet() | Get a system-defined color. |
getDeepPink() | Get a system-defined color. |
getDeepSkyBlue() | Get a system-defined color. |
getDimGray() | Get a system-defined color. |
getDodgerBlue() | Get a system-defined color. |
getEmpty() | Get a system-defined empty color. |
getFirebrick() | Get a system-defined color. |
getFloralWhite() | Get a system-defined color. |
getForestGreen() | Get a system-defined color. |
getFuchsia() | Get a system-defined color. |
getG() | Gets the green component value of this Color object. |
getGainsboro() | Get a system-defined color. |
getGhostWhite() | Get a system-defined color. |
getGold() | Get a system-defined color. |
getGoldenrod() | Get a system-defined color. |
getGray() | Get a system-defined color. |
getGreen() | Get a system-defined color. |
getGreenYellow() | Get a system-defined color. |
getHoneydew() | Get a system-defined color. |
getHotPink() | Get a system-defined color. |
getIndianRed() | Get a system-defined color. |
getIndigo() | Get a system-defined color. |
getIvory() | Get a system-defined color. |
getKhaki() | Get a system-defined color. |
getLavender() | Get a system-defined color. |
getLavenderBlush() | Get a system-defined color. |
getLawnGreen() | Get a system-defined color. |
getLemonChiffon() | Get a system-defined color. |
getLightBlue() | Get a system-defined color. |
getLightCoral() | Get a system-defined color. |
getLightCyan() | Get a system-defined color. |
getLightGoldenrodYellow() | Get a system-defined color. |
getLightGray() | Get a system-defined color. |
getLightGreen() | Get a system-defined color. |
getLightPink() | Get a system-defined color. |
getLightSalmon() | Get a system-defined color. |
getLightSeaGreen() | Get a system-defined color. |
getLightSkyBlue() | Get a system-defined color. |
getLightSlateGray() | Get a system-defined color. |
getLightSteelBlue() | Get a system-defined color. |
getLightYellow() | Get a system-defined color. |
getLime() | Get a system-defined color. |
getLimeGreen() | Get a system-defined color. |
getLinen() | Get a system-defined color. |
getMagenta() | Get a system-defined color. |
getMaroon() | Get a system-defined color. |
getMediumAquamarine() | Get a system-defined color. |
getMediumBlue() | Get a system-defined color. |
getMediumOrchid() | Get a system-defined color. |
getMediumPurple() | Get a system-defined color. |
getMediumSeaGreen() | Get a system-defined color. |
getMediumSlateBlue() | Get a system-defined color. |
getMediumSpringGreen() | Get a system-defined color. |
getMediumTurquoise() | Get a system-defined color. |
getMediumVioletRed() | Get a system-defined color. |
getMidnightBlue() | Get a system-defined color. |
getMintCream() | Get a system-defined color. |
getMistyRose() | Get a system-defined color. |
getMoccasin() | Get a system-defined color. |
getNavajoWhite() | Get a system-defined color. |
getNavy() | Get a system-defined color. |
getOldLace() | Get a system-defined color. |
getOlive() | Get a system-defined color. |
getOliveDrab() | Get a system-defined color. |
getOrange() | Get a system-defined color. |
getOrangeRed() | Get a system-defined color. |
getOrchid() | Get a system-defined color. |
getPaleGoldenrod() | Get a system-defined color. |
getPaleGreen() | Get a system-defined color. |
getPaleTurquoise() | Get a system-defined color. |
getPaleVioletRed() | Get a system-defined color. |
getPapayaWhip() | Get a system-defined color. |
getPeachPuff() | Get a system-defined color. |
getPeru() | Get a system-defined color. |
getPink() | Get a system-defined color. |
getPlum() | Get a system-defined color. |
getPowderBlue() | Get a system-defined color. |
getPurple() | Get a system-defined color. |
getR() | Gets the red component value of this Color object. |
getRed() | Get a system-defined color. |
getRosyBrown() | Get a system-defined color. |
getRoyalBlue() | Get a system-defined color. |
getSaddleBrown() | Get a system-defined color. |
getSalmon() | Get a system-defined color. |
getSandyBrown() | Get a system-defined color. |
getSeaGreen() | Get a system-defined color. |
getSeaShell() | Get a system-defined color. |
getSienna() | Get a system-defined color. |
getSilver() | Get a system-defined color. |
getSkyBlue() | Get a system-defined color. |
getSlateBlue() | Get a system-defined color. |
getSlateGray() | Get a system-defined color. |
getSnow() | Get a system-defined color. |
getSpringGreen() | Get a system-defined color. |
getSteelBlue() | Get a system-defined color. |
getTan() | Get a system-defined color. |
getTeal() | Get a system-defined color. |
getThistle() | Get a system-defined color. |
getTomato() | Get a system-defined color. |
getTransparent() | Get a system-defined color. |
getTurquoise() | Get a system-defined color. |
getViolet() | Get a system-defined color. |
getWheat() | Get a system-defined color. |
getWhite() | Get a system-defined color. |
getWhiteSmoke() | Get a system-defined color. |
getYellow() | Get a system-defined color. |
getYellowGreen() | Get a system-defined color. |
hashCode() | Returns a hash code for this Color object. |
isEmpty() | Specifies whether this Color object is uninitialized. |
notify() | |
notifyAll() | |
toArgb() | Gets the 32-bit ARGB value of this Color object. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
Color()
public Color()
construct function
equals(Object obj)
public boolean equals(Object obj)
Tests whether the specified object is a Color object and is equivalent to this object.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The object to test. |
Returns: boolean - true if obj is a Color object and equivalent to this Color object; otherwise, false.
fromArgb(int argb)
public static Color fromArgb(int argb)
Creates a Color object from a 32-bit ARGB value.
Parameters:
Parameter | Type | Description |
---|---|---|
argb | int | A value specifying the 32-bit ARGB value. |
Returns: Color - The Color object that this method creates.
fromArgb(int red, int green, int blue)
public static Color fromArgb(int red, int green, int 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.
Parameters:
Parameter | Type | Description |
---|---|---|
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. |
Returns: Color - The Color object that this method creates.
fromArgb(int alpha, int red, int green, int blue)
public static Color fromArgb(int alpha, int red, int green, int 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.
Parameters:
Parameter | Type | Description |
---|---|---|
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. |
Returns: Color - The Color object that this method creates.
getA()
public byte getA()
Gets the alpha component value of this Color object.
Returns: byte - The alpha component value of this Color object.
getAliceBlue()
public static Color getAliceBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getAntiqueWhite()
public static Color getAntiqueWhite()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getAqua()
public static Color getAqua()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getAquamarine()
public static Color getAquamarine()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getAzure()
public static Color getAzure()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getB()
public byte getB()
Gets the blue component value of this Color object.
Returns: byte - The blue component value of this Color object.
getBeige()
public static Color getBeige()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBisque()
public static Color getBisque()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBlack()
public static Color getBlack()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBlanchedAlmond()
public static Color getBlanchedAlmond()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBlue()
public static Color getBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBlueViolet()
public static Color getBlueViolet()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBrown()
public static Color getBrown()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getBurlyWood()
public static Color getBurlyWood()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getCadetBlue()
public static Color getCadetBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getChartreuse()
public static Color getChartreuse()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getChocolate()
public static Color getChocolate()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getCoral()
public static Color getCoral()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getCornflowerBlue()
public static Color getCornflowerBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getCornsilk()
public static Color getCornsilk()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getCrimson()
public static Color getCrimson()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getCyan()
public static Color getCyan()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkBlue()
public static Color getDarkBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkCyan()
public static Color getDarkCyan()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkGoldenrod()
public static Color getDarkGoldenrod()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkGray()
public static Color getDarkGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkGreen()
public static Color getDarkGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkKhaki()
public static Color getDarkKhaki()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkMagenta()
public static Color getDarkMagenta()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkOliveGreen()
public static Color getDarkOliveGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkOrange()
public static Color getDarkOrange()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkOrchid()
public static Color getDarkOrchid()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkRed()
public static Color getDarkRed()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkSalmon()
public static Color getDarkSalmon()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkSeaGreen()
public static Color getDarkSeaGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkSlateBlue()
public static Color getDarkSlateBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkSlateGray()
public static Color getDarkSlateGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkTurquoise()
public static Color getDarkTurquoise()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDarkViolet()
public static Color getDarkViolet()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDeepPink()
public static Color getDeepPink()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDeepSkyBlue()
public static Color getDeepSkyBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDimGray()
public static Color getDimGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getDodgerBlue()
public static Color getDodgerBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getEmpty()
public static Color getEmpty()
Get a system-defined empty color.
Returns: Color - A Color object representing a system-defined color.
getFirebrick()
public static Color getFirebrick()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getFloralWhite()
public static Color getFloralWhite()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getForestGreen()
public static Color getForestGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getFuchsia()
public static Color getFuchsia()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getG()
public byte getG()
Gets the green component value of this Color object.
Returns: byte - The green component value of this Color object.
getGainsboro()
public static Color getGainsboro()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getGhostWhite()
public static Color getGhostWhite()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getGold()
public static Color getGold()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getGoldenrod()
public static Color getGoldenrod()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getGray()
public static Color getGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getGreen()
public static Color getGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getGreenYellow()
public static Color getGreenYellow()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getHoneydew()
public static Color getHoneydew()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getHotPink()
public static Color getHotPink()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getIndianRed()
public static Color getIndianRed()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getIndigo()
public static Color getIndigo()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getIvory()
public static Color getIvory()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getKhaki()
public static Color getKhaki()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLavender()
public static Color getLavender()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLavenderBlush()
public static Color getLavenderBlush()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLawnGreen()
public static Color getLawnGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLemonChiffon()
public static Color getLemonChiffon()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightBlue()
public static Color getLightBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightCoral()
public static Color getLightCoral()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightCyan()
public static Color getLightCyan()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightGoldenrodYellow()
public static Color getLightGoldenrodYellow()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightGray()
public static Color getLightGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightGreen()
public static Color getLightGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightPink()
public static Color getLightPink()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightSalmon()
public static Color getLightSalmon()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightSeaGreen()
public static Color getLightSeaGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightSkyBlue()
public static Color getLightSkyBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightSlateGray()
public static Color getLightSlateGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightSteelBlue()
public static Color getLightSteelBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLightYellow()
public static Color getLightYellow()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLime()
public static Color getLime()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLimeGreen()
public static Color getLimeGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getLinen()
public static Color getLinen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMagenta()
public static Color getMagenta()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMaroon()
public static Color getMaroon()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumAquamarine()
public static Color getMediumAquamarine()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumBlue()
public static Color getMediumBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumOrchid()
public static Color getMediumOrchid()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumPurple()
public static Color getMediumPurple()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumSeaGreen()
public static Color getMediumSeaGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumSlateBlue()
public static Color getMediumSlateBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumSpringGreen()
public static Color getMediumSpringGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumTurquoise()
public static Color getMediumTurquoise()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMediumVioletRed()
public static Color getMediumVioletRed()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMidnightBlue()
public static Color getMidnightBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMintCream()
public static Color getMintCream()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMistyRose()
public static Color getMistyRose()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getMoccasin()
public static Color getMoccasin()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getNavajoWhite()
public static Color getNavajoWhite()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getNavy()
public static Color getNavy()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getOldLace()
public static Color getOldLace()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getOlive()
public static Color getOlive()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getOliveDrab()
public static Color getOliveDrab()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getOrange()
public static Color getOrange()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getOrangeRed()
public static Color getOrangeRed()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getOrchid()
public static Color getOrchid()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPaleGoldenrod()
public static Color getPaleGoldenrod()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPaleGreen()
public static Color getPaleGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPaleTurquoise()
public static Color getPaleTurquoise()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPaleVioletRed()
public static Color getPaleVioletRed()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPapayaWhip()
public static Color getPapayaWhip()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPeachPuff()
public static Color getPeachPuff()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPeru()
public static Color getPeru()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPink()
public static Color getPink()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPlum()
public static Color getPlum()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPowderBlue()
public static Color getPowderBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getPurple()
public static Color getPurple()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getR()
public byte getR()
Gets the red component value of this Color object.
Returns: byte - The red component value of this Color object.
getRed()
public static Color getRed()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getRosyBrown()
public static Color getRosyBrown()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getRoyalBlue()
public static Color getRoyalBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSaddleBrown()
public static Color getSaddleBrown()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSalmon()
public static Color getSalmon()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSandyBrown()
public static Color getSandyBrown()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSeaGreen()
public static Color getSeaGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSeaShell()
public static Color getSeaShell()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSienna()
public static Color getSienna()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSilver()
public static Color getSilver()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSkyBlue()
public static Color getSkyBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSlateBlue()
public static Color getSlateBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSlateGray()
public static Color getSlateGray()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSnow()
public static Color getSnow()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSpringGreen()
public static Color getSpringGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getSteelBlue()
public static Color getSteelBlue()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getTan()
public static Color getTan()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getTeal()
public static Color getTeal()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getThistle()
public static Color getThistle()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getTomato()
public static Color getTomato()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getTransparent()
public static Color getTransparent()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getTurquoise()
public static Color getTurquoise()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getViolet()
public static Color getViolet()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getWheat()
public static Color getWheat()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getWhite()
public static Color getWhite()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getWhiteSmoke()
public static Color getWhiteSmoke()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getYellow()
public static Color getYellow()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
getYellowGreen()
public static Color getYellowGreen()
Get a system-defined color.
Returns: Color - A Color object representing a system-defined color.
hashCode()
public int hashCode()
Returns a hash code for this Color object.
Returns: int - An integer value that specifies the hash code for this Color object.
isEmpty()
public boolean isEmpty()
Specifies whether this Color object is uninitialized.
Returns: boolean - This property returns true if this color is uninitialized; otherwise, false.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toArgb()
public int toArgb()
Gets the 32-bit ARGB value of this Color object.
Returns: int - The 32-bit ARGB value of this Color object.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |