|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.beans.binding.BindingValidator
public abstract class BindingValidator
BindingValidator is responsible for validating the value
from the target of a Binding. Before the target value is set on the
source, the value is passed to the BindingValidator. BindingValidator signals an invalid
value by returning a non-null value from the validate method. All ValidationResults are forwarded to
any BindingListeners attached to the BindingContext.
BindingContext,
ValidationResult,
BindingListener| Constructor Summary | |
|---|---|
BindingValidator()
|
|
| Method Summary | |
|---|---|
abstract ValidationResult |
validate(Binding binding,
java.lang.Object value)
Validates a value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindingValidator()
| Method Detail |
|---|
public abstract ValidationResult validate(Binding binding,
java.lang.Object value)
non-null value from this method.
binding - the bindingvalue - the value to validate, may be null
java.lang.IllegalArgumentException - if binding is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||