ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.gui.util
Enum CellTableThreshold.State

java.lang.Object
  extended by java.lang.Enum<CellTableThreshold.State>
      extended by com.ehsbe.commons.gui.util.CellTableThreshold.State
All Implemented Interfaces:
Serializable, Comparable<CellTableThreshold.State>
Enclosing interface:
CellTableThreshold

public static enum CellTableThreshold.State
extends Enum<CellTableThreshold.State>

The state of a table cell.

Version:
$Revision: 432 $
Author:
Jens Elkner

Enum Constant Summary
ALERT
          alert state (below lower threshold)
NORMAL
          normal state
WARN
          warning state (between lower and upper threshold
 
Method Summary
static CellTableThreshold.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CellTableThreshold.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMAL

public static final CellTableThreshold.State NORMAL
normal state


WARN

public static final CellTableThreshold.State WARN
warning state (between lower and upper threshold


ALERT

public static final CellTableThreshold.State ALERT
alert state (below lower threshold)

Method Detail

values

public static CellTableThreshold.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CellTableThreshold.State c : CellTableThreshold.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CellTableThreshold.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.