org.vizzini.ui
Class RealizedThread
java.lang.Object
java.lang.Thread
org.vizzini.ui.RealizedThread
- All Implemented Interfaces:
- Runnable
public abstract class RealizedThread
- extends Thread
Provides a thread that waits until a component is realized, then performs a
specified action. The action is specified by a subclass overriding the
method realized()
.
- Since:
- v0.1
- Version:
- v0.1
- Author:
- Jeffrey M. Thompson
Method Summary |
abstract void |
realized()
Action to perform when the component is realized. |
void |
run()
Wait for the component to be realized, the call realized() . |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, 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 |
_component
protected Component _component
- The component we're waiting on.
RealizedThread
public RealizedThread(Component component)
- This method gets called when the component is realized.
- Since:
- v0.1
RealizedThread
public RealizedThread(Component component,
int sleepTimeMillis)
- This method gets called when the component is realized.
- Since:
- v0.1
realized
public abstract void realized()
- Action to perform when the component is realized. Subclasses need to
override this method.
- Since:
- v0.1
run
public void run()
- Wait for the component to be realized, the call
realized()
.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
- Since:
- v0.1
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |