|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.palo.api.ext.ui.ColorDescriptor
public class ColorDescriptor
A ColorDescriptor is a platform-independent color description
| Constructor Summary | |
|---|---|
ColorDescriptor(int red,
int green,
int blue)
Creates a new ColorDescriptor instance with the given color
parts values |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getBlue()
Returns the blue fraction of specified color |
int |
getGreen()
Returns the green fraction of specified color |
int |
getRed()
Returns the red fraction of specified color |
int |
hashCode()
|
void |
setBlue(int blue)
Sets the blue fraction of specified color |
void |
setGreen(int green)
Sets the green color fraction |
void |
setRed(int red)
Sets the red color fraction |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColorDescriptor(int red,
int green,
int blue)
ColorDescriptor instance with the given color
parts values
red - the red fractiongreen - the green fractionblue - the blue fraction| Method Detail |
|---|
public final int getBlue()
public final void setBlue(int blue)
blue - blue color fractionpublic final int getGreen()
public final void setGreen(int green)
green - green color fractionpublic final int getRed()
public final void setRed(int red)
red - red color fractionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||