|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcharva.awt.ShutdownHook
public class ShutdownHook
This class is used to clean up the ncurses environment and restore the terminal settings when the application terminates, whether the program exits intentionally or because of a signal such as SIGTERM, SIGHUP etc.
Method Summary | |
---|---|
void |
run()
Implement the Runnable interface; shuts down the ncurses environment and restores the previous terminal settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |