|
Oracle Outside In Java API Reference 8.5.4 F11002-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.outsidein.ColorInfo
public class ColorInfo
Contains color information for use in annotations and options such as transparency color.
Constructor Summary | |
---|---|
ColorInfo() The default constructor that uses the default color |
|
ColorInfo(byte red, byte green, byte blue) Constructor used to create a specific color. |
Method Summary | |
---|---|
byte |
getBlue() Retrieves the current blue color as a byte value. |
byte |
getGreen() Retrieves the current blue color as a byte value. |
long |
getOptionValue() An internally used method to obtain the color as a long value. |
byte |
getRed() Retrieves the current red color as a byte value. |
boolean |
isDefaultColor() Tells whether or not the color is using the default red, green, and blue values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorInfo()
public ColorInfo(byte red, byte green, byte blue)
red
- The red component of the color to creategreen
- The green component of the color to createblue
- The blue component of the color to createMethod Detail |
---|
public byte getRed()
public byte getGreen()
public byte getBlue()
public boolean isDefaultColor()
ColorInfo
object is created with the ColorInfo()
constructor. This color may be system dependent.true
if and only if, the color is set to the default color valuepublic long getOptionValue()
|
Oracle Outside In Java API Reference 8.5.4 F11002-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |