org.opentox.toxotis.core.html
Enum HTMLInput.HTMLInputType

java.lang.Object
  extended by java.lang.Enum<HTMLInput.HTMLInputType>
      extended by org.opentox.toxotis.core.html.HTMLInput.HTMLInputType
All Implemented Interfaces:
Serializable, Comparable<HTMLInput.HTMLInputType>
Enclosing interface:
HTMLInput

public static enum HTMLInput.HTMLInputType
extends Enum<HTMLInput.HTMLInputType>


Enum Constant Summary
BUTTON
           
CHECKBOX
           
HIDDEN
           
PASSWORD
           
RADIO
           
RESET
           
SUBMIT
           
TEXT
           
 
Method Summary
 String toString()
           
static HTMLInput.HTMLInputType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HTMLInput.HTMLInputType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUBMIT

public static final HTMLInput.HTMLInputType SUBMIT

TEXT

public static final HTMLInput.HTMLInputType TEXT

HIDDEN

public static final HTMLInput.HTMLInputType HIDDEN

BUTTON

public static final HTMLInput.HTMLInputType BUTTON

CHECKBOX

public static final HTMLInput.HTMLInputType CHECKBOX

PASSWORD

public static final HTMLInput.HTMLInputType PASSWORD

RADIO

public static final HTMLInput.HTMLInputType RADIO

RESET

public static final HTMLInput.HTMLInputType RESET
Method Detail

values

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

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

valueOf

public static HTMLInput.HTMLInputType 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

toString

public String toString()
Overrides:
toString in class Enum<HTMLInput.HTMLInputType>


Copyright © 2011-2012 OpenTox. All Rights Reserved.