fc.web.forms
Class Field.Type

java.lang.Object
  extended by fc.web.forms.Field.Type
Enclosing class:
Field

public static class Field.Type
extends Object

Encapsulates different types of HTML form elements. Needed because various subclasses return a specific type which is then used internally inside the Field.render(fc.web.forms.FormData, java.io.Writer) method ( each HTML form element must have a type for example, <input type=radio...> or <input type=text....> etc.)


Field Summary
static Field.Type CHECKBOX
           
static Field.Type HIDDEN
           
static Field.Type PASSWORD
           
static Field.Type RADIO
           
static Field.Type SELECT
           
static Field.Type TEXT
           
static Field.Type TEXTAREA
           
 
Method Summary
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHECKBOX

public static final Field.Type CHECKBOX

HIDDEN

public static final Field.Type HIDDEN

TEXT

public static final Field.Type TEXT

TEXTAREA

public static final Field.Type TEXTAREA

PASSWORD

public static final Field.Type PASSWORD

RADIO

public static final Field.Type RADIO

SELECT

public static final Field.Type SELECT
Method Detail

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object