|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JvForm
A form containing input fields displaying data from a model.
| Method Summary | |
|---|---|
boolean |
commit(JvErrorList errorList)
Commit all the user changes in the form to the form's model. |
Object |
getActiveObject()
Return the active object in the form. |
JComponent |
getComponent()
Return the JComponent containing this form. |
Object |
getModel()
Returns the model being displayed by the form. |
boolean |
isEnabled()
Return whether the form is enabled or not. |
boolean |
isModified()
Returns whether this form has been modified by the user. |
boolean |
isValid(JvErrorList errorList)
Validate all user changes to the form. |
boolean |
rollback(JvErrorList errorList)
Rollback all the user changes in the form to their original values. |
void |
setEnabled(boolean enabled)
Set whether form is editable or not. |
void |
setModel(Object model)
Set the model containing the data this form is to display. |
void |
setModified(boolean modified)
Sets whether or not this form has been modified by the user. |
| Methods inherited from interface org.jurvis.beans.JvJavaBean |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
JComponent getComponent()
JComponent containing this form.
JComponentvoid setModel(Object model)
model - the new modelObject getModel()
Object getActiveObject()
boolean isEnabled()
void setEnabled(boolean enabled)
enabled - new value for the modified propertyvoid setModified(boolean modified)
modified - new value for the modified propertyboolean isModified()
boolean isValid(JvErrorList errorList)
JvErrorList.
errorList - list containing any errors found during validation
boolean commit(JvErrorList errorList)
errorList - list containing any errors found during commit
boolean rollback(JvErrorList errorList)
errorList - list containing any errors found during the rollback
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||