org.rapla.gui.toolkit
Class RaplaColorList

java.lang.Object
  extended by org.rapla.gui.toolkit.RaplaColorList

public final class RaplaColorList
extends Object

WARNING: This class is about to change its API. Dont use it


Field Summary
static Color[] APPOINTMENT_COLORS
           
static Color[] COLORS
           
static String DEFAULT_COLOR_AS_STRING
           
 
Constructor Summary
RaplaColorList()
           
 
Method Summary
static Color darken(Color color, int i)
           
static Color getAppointmentColor(int nr)
           
static Color getColorForHex(String hexString)
           
static Color getColorForHexOrNull(String hexString)
           
static String getHexForColor(Color color)
           
static Color getResourceColor(int nr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLORS

public static final Color[] COLORS

APPOINTMENT_COLORS

public static final Color[] APPOINTMENT_COLORS

DEFAULT_COLOR_AS_STRING

public static final String DEFAULT_COLOR_AS_STRING
Constructor Detail

RaplaColorList

public RaplaColorList()
Method Detail

getResourceColor

public static final Color getResourceColor(int nr)

getAppointmentColor

public static final Color getAppointmentColor(int nr)

getHexForColor

public static String getHexForColor(Color color)

getColorForHexOrNull

public static Color getColorForHexOrNull(String hexString)

getColorForHex

public static Color getColorForHex(String hexString)
                            throws NumberFormatException
Throws:
NumberFormatException

darken

public static Color darken(Color color,
                           int i)


Copyright 2000-2006 Rapla Team. All Rights Reseserved.