ch.sahits.game.graphic.display.notice
Class ColorProvider

java.lang.Object
  extended by ch.sahits.game.graphic.display.notice.ColorProvider

 class ColorProvider
extends Object

This utility class provides the color for Strings in different states as well as other colors used in the notice view.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 21, 2011

Constructor Summary
ColorProvider()
           
 
Method Summary
static Color getStringColor(EStringSelectionState state)
          Retrieve the color by the state
static Color getStringColorActive()
          Provide the color of the String that represents the active selection
static Color getStringColorDisabled()
          Provide the color of a String that is currently disabled
static Color getStringColorInactive()
          Provide the color of a String that represents an inactive selection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorProvider

ColorProvider()
Method Detail

getStringColorActive

public static Color getStringColorActive()
Provide the color of the String that represents the active selection

Returns:

getStringColorInactive

public static Color getStringColorInactive()
Provide the color of a String that represents an inactive selection

Returns:

getStringColorDisabled

public static Color getStringColorDisabled()
Provide the color of a String that is currently disabled

Returns:

getStringColor

public static Color getStringColor(EStringSelectionState state)
Retrieve the color by the state

Parameters:
state -
Returns:


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.