edu.princeton.toy
Class TOptionsFrame.ShutdownHook
java.lang.Object
edu.princeton.toy.TOptionsFrame.ShutdownHook
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- TOptionsFrame
protected class TOptionsFrame.ShutdownHook
- extends Object
- implements Runnable
ShutdownHook implements Runnable to store the TOptionsFrame's parameters upon exit.
Method Summary |
void |
run()
Saves all the autogenerate fields into a copy of the appliedOptions Mapping and exports
it to the toy.conf file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOptionsFrame.ShutdownHook
protected TOptionsFrame.ShutdownHook()
- Creates a new ShutdownHook.
run
public void run()
- Saves all the autogenerate fields into a copy of the appliedOptions Mapping and exports
it to the toy.conf file.
- Specified by:
run
in interface Runnable