ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.gui
Enum Hints.Option

java.lang.Object
  extended by java.lang.Enum<Hints.Option>
      extended by com.ehsbe.commons.gui.Hints.Option
All Implemented Interfaces:
Serializable, Comparable<Hints.Option>
Enclosing class:
Hints

public static enum Hints.Option
extends Enum<Hints.Option>

some options, which are used to manipulate the labels text with hints


Enum Constant Summary
DEPEND
          indicates a dependency to something
HINT
          indicates "hint available"
INVALID
          indicates an invalid state
MONEY
          indicates a money value
REQUIRED
          indicates a requirement
 
Method Summary
static Hints.Option valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Hints.Option[] 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

REQUIRED

public static final Hints.Option REQUIRED
indicates a requirement


HINT

public static final Hints.Option HINT
indicates "hint available"


DEPEND

public static final Hints.Option DEPEND
indicates a dependency to something


MONEY

public static final Hints.Option MONEY
indicates a money value


INVALID

public static final Hints.Option INVALID
indicates an invalid state

Method Detail

values

public static Hints.Option[] 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 (Hints.Option c : Hints.Option.values())
    System.out.println(c);

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

valueOf

public static Hints.Option 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.