|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread com.bbn.openmap.event.ProjectionSupport.ProjectionChangeNotifier
protected class ProjectionSupport.ProjectionChangeNotifier
A thread that disperses the projection event, instead of letting the Swing thread do it. A new one is created for every projection change, so the current ProjectionEvent object is getting delivered with it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected ProjectionEvent |
nextEvent
|
protected ProjectionEvent |
projEvent
|
protected boolean |
terminated
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ProjectionSupport.ProjectionChangeNotifier()
|
Method Summary | |
---|---|
void |
fireProjectionEvent(ProjectionEvent event)
|
protected boolean |
isEventInProgress()
|
boolean |
isTerminated()
|
void |
run()
|
void |
setTerminated(boolean terminated)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, 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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ProjectionEvent projEvent
protected ProjectionEvent nextEvent
protected boolean terminated
Constructor Detail |
---|
public ProjectionSupport.ProjectionChangeNotifier()
Method Detail |
---|
public boolean isTerminated()
public void setTerminated(boolean terminated)
protected boolean isEventInProgress()
public void fireProjectionEvent(ProjectionEvent event)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |