|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tools.forms.FormField
public abstract class FormField
Field Summary | |
---|---|
protected FormManager |
manager
The associated form manager. |
protected java.lang.String |
name
The field's name. |
protected java.lang.String |
title
The field's title. |
Constructor Summary | |
---|---|
FormField(FormManager manager,
java.lang.String name,
java.lang.String title)
Form field basic constructor. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the field's name. |
java.lang.String |
getTitle()
Get the field's title. |
abstract java.lang.Object |
getValue()
Get this field value's in its native type. |
protected void |
gotFocus()
Our editor is telling us that it got the focus, propagate to manager. |
void |
setValue(java.lang.Object value,
boolean update)
Set this field's value, notifying the manager. |
abstract void |
setValue(java.lang.Object value,
boolean notify,
boolean update)
Set this field value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String title
protected FormManager manager
Constructor Detail |
---|
public FormField(FormManager manager, java.lang.String name, java.lang.String title)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getTitle()
protected void gotFocus()
public abstract java.lang.Object getValue()
public abstract void setValue(java.lang.Object value, boolean notify, boolean update) throws IllegalFieldValueException
value
- This field's new value.notify
- Should we notify the manager for this change ?update
- Update the editor view, if true.
IllegalFieldValueException
- If the field rejected the
value.public void setValue(java.lang.Object value, boolean update) throws IllegalFieldValueException
value
- The new field value.update
- Should we update the editor's view ?
IllegalFieldValueException
- If the field rejected the value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |