|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ui.text.TextColorSet
public class TextColorSet
Provides a set of colors for text.
| Constructor Summary | |
|---|---|
TextColorSet()
Construct this object. |
|
TextColorSet(Color foreground,
Color background)
Construct this object. |
|
| Method Summary | |
|---|---|
Object |
clone()
Return a clone of this instance. |
boolean |
equals(Object object)
Return true if the given object is equal to this. |
Color |
getBackground()
|
Color |
getForeground()
|
int |
hashCode()
Returns a hash code value for the object. |
void |
setBackground(Color color)
|
void |
setForeground(Color color)
|
String |
toString()
Return a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextColorSet()
public TextColorSet(Color foreground,
Color background)
foreground - Foreground color.background - Background color.| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean equals(Object object)
equals in class Objectobject - The object to compare.public Color getBackground()
public Color getForeground()
public int hashCode()
hashCode in class Objectpublic void setBackground(Color color)
color - The background to set.public void setForeground(Color color)
color - The foreground to set.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |