nl.gx.webmanager.handler.forms
Class FormPartType

java.lang.Object
  extended by nl.gx.webmanager.handler.forms.FormPartType

public class FormPartType
extends java.lang.Object

Models the different types of formparts: text, list, file, subform, button, special & static.


Field Summary
static int TYPE_BUTTON
           
static int TYPE_FILE
           
static int TYPE_FORMPART_VALUE
           
static int TYPE_LIST
           
static int TYPE_SPECIAL
           
static int TYPE_STATIC
           
static int TYPE_SUBFORM
           
static int TYPE_TEXT
           
static int TYPE_UNKNOWN
           
 
Constructor Summary
FormPartType()
           
 
Method Summary
static int getType(java.lang.String name)
          Lookup typename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
See Also:
Constant Field Values

TYPE_TEXT

public static final int TYPE_TEXT
See Also:
Constant Field Values

TYPE_LIST

public static final int TYPE_LIST
See Also:
Constant Field Values

TYPE_FILE

public static final int TYPE_FILE
See Also:
Constant Field Values

TYPE_SUBFORM

public static final int TYPE_SUBFORM
See Also:
Constant Field Values

TYPE_BUTTON

public static final int TYPE_BUTTON
See Also:
Constant Field Values

TYPE_SPECIAL

public static final int TYPE_SPECIAL
See Also:
Constant Field Values

TYPE_STATIC

public static final int TYPE_STATIC
See Also:
Constant Field Values

TYPE_FORMPART_VALUE

public static final int TYPE_FORMPART_VALUE
See Also:
Constant Field Values
Constructor Detail

FormPartType

public FormPartType()
Method Detail

getType

public static int getType(java.lang.String name)
                   throws java.lang.IllegalArgumentException
Lookup typename.

Parameters:
name -
Returns:
The type number for typename.
Throws:
java.lang.IllegalArgumentException - if the type does not exists.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.