|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.style.BackgroundStyle
public class BackgroundStyle
Style that changes the background colour of the component.
| Constructor Summary | |
|---|---|
BackgroundStyle()
White colour |
|
BackgroundStyle(Color color)
Constructor with a given colour |
|
| Method Summary | |
|---|---|
void |
apply(Component component)
Applies this style to this component |
Color |
getColor()
Gets the colour to apply as background |
void |
setColor(Color color)
Sets the colour to apply as background |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackgroundStyle()
public BackgroundStyle(Color color)
color - Colour to apply as background| Method Detail |
|---|
public void apply(Component component)
Style
apply in interface Stylecomponent - Component to apply the style topublic Color getColor()
public void setColor(Color color)
color - Colour
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||