java.lang.Object
java.lang.Thread
org.jext.misc.AutoSave
- All Implemented Interfaces:
- java.lang.Runnable
- public class AutoSave
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
|
Method Summary |
protected void |
finalize()
Patch
-> Memory management improvements : it may help the garbage collector. |
static int |
getInterval()
Returns the intervale, in seconds, between each save. |
void |
run()
The method of Thread that will be run if there is no Runnable object
associated with the Thread. |
static void |
setInterval(int newInterval)
Sets the interval, in seconds, between each save. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
parent
private org.jext.JextFrame parent
interval
private static int interval
AutoSave
public AutoSave(org.jext.JextFrame parent)
- Starts the auto save thread.
getInterval
public static int getInterval()
- Returns the intervale, in seconds, between each save.
setInterval
public static void setInterval(int newInterval)
- Sets the interval, in seconds, between each save.
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
finalize
protected void finalize()
throws java.lang.Throwable
- Patch
-> Memory management improvements : it may help the garbage collector.
-> Author : Julien Ponge (julien@izforge.com)
-> Date : 23, May 2001