org.openbp.jaspira.propertybrowser.editor
Interface PropertyValidator
- All Known Subinterfaces:
- ObjectValidator
- All Known Implementing Classes:
- ComplexTypeValidator, DataMemberValidator, DescriptionObjectValidator, DisplayObjectValidator, InitialNodeValidator, JavaActivityItemValidator, ModelObjectValidator, ModelValidator, NodeSocketValidator, ValidatorBase, VariablesContainerValidator, WorkflowTaskValidator
public interface PropertyValidator
Property validator interface.
Called after a property has been edited.
Checks the value of an edited property.
- Author:
- Andreas Putz
|
Method Summary |
boolean |
validateProperty(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object editedObject,
PropertyEditor propertyEditor,
boolean complete)
Validates an edited property. |
validateProperty
boolean validateProperty(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object editedObject,
PropertyEditor propertyEditor,
boolean complete)
- Validates an edited property.
- Parameters:
propertyName - 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.
false The value is being typed/edited.
- Returns:
- true The property value is valid.
false The property value is invalid. In this case, the focus should not be set
to the next component.
Copyright © 2011. All Rights Reserved.