edu.princeton.toy
Class TOptionsFrame.ShutdownHook

java.lang.Object
  extended by 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.


Constructor Summary
protected TOptionsFrame.ShutdownHook()
          Creates a new ShutdownHook.
 
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
 

Constructor Detail

TOptionsFrame.ShutdownHook

protected TOptionsFrame.ShutdownHook()
Creates a new ShutdownHook.

Method Detail

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