Crossfire JXClient, Trunk
R20561
|
Allows to exit the application. More...
Public Member Functions | |
void | terminate () |
Terminates the application. More... | |
void | waitForTermination () throws InterruptedException |
Waits until the window has been disposed. More... | |
Private Attributes | |
final Object | terminateSync = new Object() |
The object to be notified when the application terminates. More... | |
Allows to exit the application.
Definition at line 30 of file Exiter.java.
void com.realtime.crossfire.jxclient.main.Exiter.terminate | ( | ) |
Terminates the application.
Definition at line 41 of file Exiter.java.
References com.realtime.crossfire.jxclient.main.Exiter.terminateSync.
Referenced by com.realtime.crossfire.jxclient.main.DefaultKeyHandler.escPressed(), and com.realtime.crossfire.jxclient.main.GuiManagerCommandCallback.quitApplication().
void com.realtime.crossfire.jxclient.main.Exiter.waitForTermination | ( | ) | throws InterruptedException |
Waits until the window has been disposed.
InterruptedException | if the current thread has been interrupted |
Definition at line 52 of file Exiter.java.
References com.realtime.crossfire.jxclient.main.Exiter.terminateSync.
|
private |
The object to be notified when the application terminates.
Definition at line 36 of file Exiter.java.
Referenced by com.realtime.crossfire.jxclient.main.Exiter.terminate(), and com.realtime.crossfire.jxclient.main.Exiter.waitForTermination().