public static final class ReadTask.Continuation
extends java.lang.Object
Constructor and Description |
---|
Continuation(java.lang.Runnable action) |
Continuation(java.lang.Runnable action,
ModalityState modalityState) |
Modifier and Type | Method and Description |
---|---|
java.lang.Runnable |
getAction() |
ModalityState |
getModalityState() |
public Continuation(java.lang.Runnable action)
action
- code to be executed in Swing thread in default modality stateModalityState.defaultModalityState()
public Continuation(java.lang.Runnable action, ModalityState modalityState)
action
- code to be executed in Swing thread in default modality statemodalityState
- modality state when the action is to be executedpublic ModalityState getModalityState()
getAction()
is to be executedpublic java.lang.Runnable getAction()