org.apache.empire.struts2.jsp.components
Enum InputControlComponent.DisabledMode

java.lang.Object
  extended by java.lang.Enum<InputControlComponent.DisabledMode>
      extended by org.apache.empire.struts2.jsp.components.InputControlComponent.DisabledMode
All Implemented Interfaces:
Serializable, Comparable<InputControlComponent.DisabledMode>
Enclosing class:
InputControlComponent

public static enum InputControlComponent.DisabledMode
extends Enum<InputControlComponent.DisabledMode>


Enum Constant Summary
CONTROL
           
CONTROLHIDDEN
           
DEFAULT
           
TEXT
           
TEXTHIDDEN
           
 
Method Summary
static InputControlComponent.DisabledMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InputControlComponent.DisabledMode[] 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

DEFAULT

public static final InputControlComponent.DisabledMode DEFAULT

TEXT

public static final InputControlComponent.DisabledMode TEXT

TEXTHIDDEN

public static final InputControlComponent.DisabledMode TEXTHIDDEN

CONTROL

public static final InputControlComponent.DisabledMode CONTROL

CONTROLHIDDEN

public static final InputControlComponent.DisabledMode CONTROLHIDDEN
Method Detail

values

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

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

valueOf

public static InputControlComponent.DisabledMode 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


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.