Serialized Form
Class jutil.AppError extends java.lang.Exception implements Serializable |
Class jutil.AppModel extends java.util.Observable implements Serializable |
fileName
java.lang.String fileName
- Store model in this file
unsavedChanges
boolean unsavedChanges
- Set to true when the model is updated.
currentDirectory
java.io.File currentDirectory
- Saves model to this file
fileMenu
javax.swing.JMenu fileMenu
helpMenu
javax.swing.JMenu helpMenu
menuBar
javax.swing.JMenuBar menuBar
theModel
AppModel theModel
- The application model
elems
java.lang.Comparable<T>[] elems
- The children of elems[i] are stored in elems[2i] and
elems[2i + 1], the root (= min) is in elems[1].
size
int size
- The number of elements stored.
capacity
int capacity
- The capacity of the heap is a power of 2.
Class jutil.Event extends java.lang.Object implements Serializable |
fireTime
int fireTime
- The time when this event will occur.
events
PriorityQueue events
- Scheduled events are placed in this queue in order
of their firing times. Currently, the priority
queue is implemented as a binary heap with capacity
512. Consider replacing this implementation with
a sorted list or a larger binary heap.
clock
int clock
- The simulated time.
debug
boolean debug
- Set to true to see the clock and event queue after
each event is fired.