java.lang.Object com.realtime.crossfire.jxclient.main.Exiter
public class Exiter
Allows to exit the application.
Field Summary | |
---|---|
private java.lang.Object |
terminateSync
The object to be notified when the application terminates. |
Constructor Summary | |
---|---|
Exiter()
|
Method Summary | |
---|---|
void |
terminate()
Terminates the application. |
void |
waitForTermination()
Waits until the window has been disposed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final java.lang.Object terminateSync
Constructor Detail |
---|
public Exiter()
Method Detail |
---|
public void terminate()
public void waitForTermination() throws java.lang.InterruptedException
java.lang.InterruptedException
- if the current thread has been interrupted