com.sptci.echo.style
Class Background
java.lang.Object
nextapp.echo.app.Color
com.sptci.echo.style.Background
- All Implemented Interfaces:
- Serializable
public class Background
- extends Color
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.
- Version:
- $Id: Background.java 4553 2008-12-24 10:34:16Z rakesh $
- Author:
- Rakesh Vidyadharan 2007-01-05
- See Also:
- Serialized Form
|
Field Summary |
static int |
HEX_VALUE
The default hex value for the background used across the application. |
| Fields inherited from class nextapp.echo.app.Color |
BLACK, BLUE, CYAN, DARKGRAY, GREEN, LIGHTGRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW |
HEX_VALUE
public static final int HEX_VALUE
- The default hex value for the background used across the application.
This is colour that is used on the SPT website.
- See Also:
- Constant Field Values
Background
@Deprecated
public Background()
- Deprecated. Use
getInstance() instead.
- Create a new instance of the background.
getInstance
public static Color getInstance()
- Return the
singleton instance.
- Returns:
- The default background colour to use.