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 aBindingContext
, e.g. when a user edits a Swing component.- Since:
- Ceres 0.10
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
problemCleared(BindingProblem oldProblem)
Called when a problem has been cleared in aBinding
of aBindingContext
.void
problemReported(BindingProblem newProblem, BindingProblem oldProblem)
Called when a problem has been reported on aBinding
of aBindingContext
.
-
-
-
Method Detail
-
problemReported
void problemReported(BindingProblem newProblem, BindingProblem oldProblem)
Called when a problem has been reported on aBinding
of aBindingContext
.- Parameters:
newProblem
- The new problem.oldProblem
- The old problem, may benull
if no problem existed before.
-
problemCleared
void problemCleared(BindingProblem oldProblem)
Called when a problem has been cleared in aBinding
of aBindingContext
.- Parameters:
oldProblem
- The old problem.
-
-