Module org.autogui
Package org.autogui.swing
Class GuiSwingTaskRunner.ContextTaskResultWithDelay<RetType>
java.lang.Object
org.autogui.swing.GuiSwingTaskRunner.ContextTaskResult<RetType>
org.autogui.swing.GuiSwingTaskRunner.ContextTaskResultWithDelay<RetType>
- Type Parameters:
RetType
- the type of the value
- Enclosing class:
GuiSwingTaskRunner
public static class GuiSwingTaskRunner.ContextTaskResultWithDelay<RetType>
extends GuiSwingTaskRunner.ContextTaskResult<RetType>
delayed result
-
Field Summary
Fields inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextTaskResult
value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
executes the task with a obtained value with delayboolean
Methods inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextTaskResult
executeIfPresent, getValue, getValueOr, isCancel, isError, isPresented, isTimeout, toString
-
Constructor Details
-
ContextTaskResultWithDelay
-
-
Method Details
-
isPresentedWithDelay
public boolean isPresentedWithDelay()- Overrides:
isPresentedWithDelay
in classGuiSwingTaskRunner.ContextTaskResult<RetType>
-
executeIfPresentWithDelay
executes the task with a obtained value with delay- Overrides:
executeIfPresentWithDelay
in classGuiSwingTaskRunner.ContextTaskResult<RetType>
- Parameters:
task
- to be executed with the value
-