|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object charva.awt.ColorPair
This class is used to represent a color-pair (a combination of a foreground color and a background color).
Constructor Summary | |
ColorPair(Color foreground_,
Color background_)
Construct a color-pair from a foreground color and a background color. |
Method Summary | |
boolean |
equals(java.lang.Object object_)
Returns true if this color pair is equal to the specified color pair. |
int |
getBackground()
|
int |
getForeground()
|
void |
setBackground(int color_)
Set the background color. |
void |
setForeground(int color_)
Set the foreground color. |
java.lang.String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ColorPair(Color foreground_, Color background_)
Method Detail |
public boolean equals(java.lang.Object object_)
public int getForeground()
public int getBackground()
public void setForeground(int color_)
public void setBackground(int color_)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |