| com.jgoodies.validation.tutorial.performance.ValidationHandlerInBackground
ValidationHandlerInBackground | final class ValidationHandlerInBackground extends DelayedPropertyChangeHandler (Code) | | Executes a given performance sub example in a background thread using a
SwingWorker. Validates the container using the example's container validator,
and adds the EDT time spent (should be close to 0).
author: Karsten Lentzsch version: $Revision: 1.8 $ |
Inner Class :final static class ContainerNoWorker extends SwingWorker | |
ValidationHandlerInBackground | ValidationHandlerInBackground(PerformanceSubExample subExample, int delay, boolean coalesce)(Code) | | Constructs a change handler that handles container no changes
with a slight delay, saving unnecessary validation operations.
The validation is performed in the background using a Swing Worker.
Parameters: subExample - provides the container, validator, and result model Parameters: delay - the milliseconds to wait before the delayed property changewill be performed Parameters: coalesce - true to coalesce all pending changes,false to fire changes with the delay when an updatehas been received |
|
|