TextGUIThread
SeparateTextGUIThread
public interface AsynchronousTextGUIThread extends TextGUIThread
Modifier and Type | Interface | Description |
---|---|---|
static class |
AsynchronousTextGUIThread.State |
Enum representing the states of the GUI thread life-cycle
|
TextGUIThread.ExceptionHandler
Modifier and Type | Method | Description |
---|---|---|
AsynchronousTextGUIThread.State |
getState() |
Returns the current status of this GUI thread
|
void |
start() |
Starts the AsynchronousTextGUIThread, typically meaning that the event processing loop will start.
|
void |
stop() |
Requests that the AsynchronousTextGUIThread stops, typically meaning that the event processing loop will exit
|
void |
waitForStop() |
Blocks until the GUI loop has stopped
|
getThread, invokeAndWait, invokeLater, processEventsAndUpdate, setExceptionHandler
void start()
void stop()
void waitForStop() throws InterruptedException
InterruptedException
- In case this thread was interrupted while waiting for the GUI thread to exitAsynchronousTextGUIThread.State getState()
Copyright © 2020. All rights reserved.