|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Color
com.sptci.echo2.style.Background
public class Background
A singleton used to ensure a consistent background colour across
the application. Uses HEX_VALUE as the default value.
Note: It is recommended that you use the getInstance()
factory method to fetch instances of this class and not create new instances
using the Background constructor.
Copyright 2006 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
static int |
HEX_VALUE
The default hex value for the background used across the application. |
private static Color |
singleton
The singleton instance of the background class. |
| Fields inherited from class nextapp.echo2.app.Color |
|---|
BLACK, BLUE, CYAN, DARKGRAY, GREEN, LIGHTGRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW |
| Constructor Summary | |
|---|---|
Background()
Deprecated. Use getInstance() instead. |
|
| Method Summary | |
|---|---|
static Color |
getInstance()
Return the singleton instance. |
| Methods inherited from class nextapp.echo2.app.Color |
|---|
equals, getBlue, getGreen, getRed, getRgb, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int HEX_VALUE
private static final Color singleton
| Constructor Detail |
|---|
@Deprecated public Background()
getInstance() instead.
| Method Detail |
|---|
public static final Color getInstance()
singleton instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||