public class InvokeLaterResultHandler<RHI> extends Object implements com.google.code.validationframework.api.resulthandler.ResultHandler<RHI>
This can be useful when validation is performed outside the EDT but the handling needs to be done on the EDT.
| Constructor and Description |
|---|
InvokeLaterResultHandler(com.google.code.validationframework.api.resulthandler.ResultHandler<RHI> wrappedResultHandler)
Constructor specifying the wrapped result handler to be re-scheduled.
|
InvokeLaterResultHandler(com.google.code.validationframework.api.resulthandler.ResultHandler<RHI> wrappedResultHandler,
boolean evenIfAlreadyOnEDT)
Constructor specifying the wrapped result handler to be re-scheduled and whether re-scheduling should occur even
if already on the EDT.
|
public InvokeLaterResultHandler(com.google.code.validationframework.api.resulthandler.ResultHandler<RHI> wrappedResultHandler)
By default, the handling of the result by the wrapped result handler will always be re-scheduled later, even if already on the EDT.
wrappedResultHandler - Wrapped result handler.public InvokeLaterResultHandler(com.google.code.validationframework.api.resulthandler.ResultHandler<RHI> wrappedResultHandler, boolean evenIfAlreadyOnEDT)
wrappedResultHandler - Wrapped result handler.evenIfAlreadyOnEDT - Flag indicating whether re-scheduling the result handler on the EDT should always
occur, or only if not already on the EDT.Copyright © 2020. All rights reserved.