Blackjack

com.amoebacode.blackjack.display
Class ColorFactory

java.lang.Object
  |
  +--com.amoebacode.blackjack.display.ColorFactory

public abstract class ColorFactory
extends java.lang.Object

ColorFactory creates all colors.

Version:
0.9
Author:
Jason Gurney

Field Summary
private static java.awt.Color BLUE
          The text color for select boxes and background color for buttons
private static java.awt.Color GREEN
          The primary background color
private static java.awt.Color LIGHT_BLUE
          The button mouse over color
 
Constructor Summary
ColorFactory()
           
 
Method Summary
static java.awt.Color getBlueColor()
          Returns the text color for select boxes and background color for buttons.
static java.awt.Color getGreenColor()
          Returns primary background color.
static java.awt.Color getLightBlueColor()
          Returns the button mouse over color.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

BLUE

private static final java.awt.Color BLUE
The text color for select boxes and background color for buttons

GREEN

private static final java.awt.Color GREEN
The primary background color

LIGHT_BLUE

private static final java.awt.Color LIGHT_BLUE
The button mouse over color
Constructor Detail

ColorFactory

public ColorFactory()
Method Detail

getBlueColor

public static java.awt.Color getBlueColor()
Returns the text color for select boxes and background color for buttons.
Returns:
the blue Color

getLightBlueColor

public static java.awt.Color getLightBlueColor()
Returns the button mouse over color.
Returns:
the light blue Color

getGreenColor

public static java.awt.Color getGreenColor()
Returns primary background color.
Returns:
the green Color

Blackjack

Copyright © 2002 amoebacode.com.