SPT Core API

com.sptci.echo.style
Class Background

java.lang.Object
  extended by nextapp.echo.app.Color
      extended by 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
 
Constructor Summary
Background()
          Deprecated. Use getInstance() instead.
 
Method Summary
static Color getInstance()
          Return the singleton instance.
 
Methods inherited from class nextapp.echo.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

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
Constructor Detail

Background

@Deprecated
public Background()
Deprecated. Use getInstance() instead.

Create a new instance of the background.

Method Detail

getInstance

public static Color getInstance()
Return the singleton instance.

Returns:
The default background colour to use.

SPT Core API