|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Form
Defines a form that acts as a host for FormEditor's.
Method Summary | |
---|---|
void |
addEditor(String property,
FormEditor editor)
|
void |
addEditor(String property,
FormEditor editor,
ValueConverter converter)
Add an editor for a given property of the form value. |
boolean |
isDeferredCommit()
True if editor commit requests from child editors are deferred until commitEdits () is explicitly called on this form. |
boolean |
removeEditor(FormEditor editor)
Remove a bound form editor. |
void |
setDeferredCommit(boolean newValue)
|
Methods inherited from interface dsto.dfc.swing.forms.FormEditor |
---|
addFormEditorListener, commitEdits, getEditorComponent, getEditorDescription, getEditorValue, getPreferredValueType, isDirectEdit, removeFormEditorListener, setEditorValue |
Method Detail |
---|
void addEditor(String property, FormEditor editor)
void addEditor(String property, FormEditor editor, ValueConverter converter)
property
- The property name.editor
- The editor for the property.converter
- The value converter that will be used to convert
values into the editor's format (determined by FormEditor.getPreferredValueType()
and from the editor back to the
property value. May be null for no conversion.removeEditor(dsto.dfc.swing.forms.FormEditor)
boolean removeEditor(FormEditor editor)
addEditor(java.lang.String, dsto.dfc.swing.forms.FormEditor)
boolean isDeferredCommit()
void setDeferredCommit(boolean newValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |