|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.guiclient.objectvalidators.ValidatorBase
public class ValidatorBase
Base class for object validators.
| Constructor Summary | |
|---|---|
ValidatorBase()
|
|
| Method Summary | |
|---|---|
void |
displayErrorMsg(java.lang.String msg)
Outputs an error message in a message box. |
boolean |
displayMsgContainer()
Prints the contents of the CoreModule's message container - if any - in a message box. |
boolean |
validateObject(java.lang.Object editedObject,
PropertyBrowser pb)
Validates the entire object before it will be saved. |
boolean |
validateProperty(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object editedObject,
PropertyEditor propertyEditor,
boolean complete)
Validates an edited property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidatorBase()
| Method Detail |
|---|
public boolean validateProperty(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object editedObject,
PropertyEditor propertyEditor,
boolean complete)
validateProperty in interface PropertyValidatorpropertyName - Name of the edited propertypropertyValue - Current value of the propertyeditedObject - Edited object that contains the propertypropertyEditor - Property editor that edits the property valuecomplete - true The value has been completely entered. This is the case if the user wishes to leave the field.
public boolean validateObject(java.lang.Object editedObject,
PropertyBrowser pb)
validateObject in interface ObjectValidatoreditedObject - Edited object that contains the propertypb - Property browser that edits the object
public void displayErrorMsg(java.lang.String msg)
msg - The messagepublic boolean displayMsgContainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||