Package com.bc.ceres.swing.binding
Interface BindingProblemListener
- All Known Implementing Classes:
BindingContext.SilentProblemHandler,BindingContext.VerbousProblemHandler
public interface BindingProblemListener
A listener used to observe problems which may occur in a
BindingContext,
e.g. when a user edits a Swing component.- Since:
- Ceres 0.10
- Version:
- $Revision$ $Date$
-
Method Summary
Modifier and TypeMethodDescriptionvoidproblemCleared(BindingProblem oldProblem) Called when a problem has been cleared in aBindingof aBindingContext.voidproblemReported(BindingProblem newProblem, BindingProblem oldProblem) Called when a problem has been reported on aBindingof aBindingContext.
-
Method Details
-
problemReported
Called when a problem has been reported on aBindingof aBindingContext.- Parameters:
newProblem- The new problem.oldProblem- The old problem, may benullif no problem existed before.
-
problemCleared
Called when a problem has been cleared in aBindingof aBindingContext.- Parameters:
oldProblem- The old problem.
-