|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.gui.html.form.FormField
FormField is the baseuser interface widget that creates an input
field consisting of a label and an input entry field to be displayed to the user
for user input.
| Nested Class Summary | |
static interface |
FormField.Label
Label contains Cascading Style Sheet class names for class
FormField labels. |
| Field Summary | |
static int |
COLUMN
The input field add column constant. |
static String |
DISABLED
A Cascading Style Sheet class style name representing a normal input field. |
static String |
ENABLED
A Cascading Style Sheet class style name representing a normal input field. |
static String |
ERROR
A Cascading Style Sheet class style name representing an input field error. |
static String |
REQUIRED
A Cascading Style Sheet class style name representing a required input field. |
static int |
ROW
The input field add row (and column) constant. |
static String |
WARNING
A Cascading Style Sheet class style name representing an input field warning. |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
FormField()
Constructs a new FormField object. |
|
| Method Summary | |
void |
add(int tag)
Sets the flag(s) to add table row and/or column tags to the input field. |
protected Type |
getType()
Returns the input field type. |
protected boolean |
isAddColumn()
Returns true if table column tags are to be added to the input field. |
protected boolean |
isAddRow()
Returns true if table row (and column) tags are to be added to the input field. |
abstract boolean |
isChanged()
Returns true if the input field value entered by the user has changed. |
abstract boolean |
isError()
Returns true if the input field value entered by the user is in error. |
abstract void |
reset()
Reset the input field, i.e. |
protected void |
setType(Type type)
Sets the input field type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String ENABLED
public static final String DISABLED
public static final String REQUIRED
public static final String WARNING
public static final String ERROR
public static final int COLUMN
public static final int ROW
| Constructor Detail |
public FormField()
| Method Detail |
public void add(int tag)
protected Type getType()
protected boolean isAddColumn()
protected boolean isAddRow()
public abstract boolean isChanged()
public abstract boolean isError()
public abstract void reset()
protected void setType(Type type)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||