|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread soc.client.SOCBoardPanel.DelayedRepaint
protected static class SOCBoardPanel.DelayedRepaint
With a recent board resize, one or more rescaled images still hasn't been completed after 7 seconds. We've asked for a new scaled copy of this image. Wait 3 seconds and repaint the board. (The delay gives time for the new scaling to complete.)
SOCBoardPanel.scaledMissedImage
,
SOCBoardPanel.drawHex(Graphics, int)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private static boolean |
alreadyActive
Are we already waiting in another thread? Assumes since boolean is a simple var, will have atomic access. |
private SOCBoardPanel |
bp
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SOCBoardPanel.DelayedRepaint(SOCBoardPanel bp)
|
Method Summary | |
---|---|
void |
run()
|
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 |
---|
private static boolean alreadyActive
private SOCBoardPanel bp
Constructor Detail |
---|
public SOCBoardPanel.DelayedRepaint(SOCBoardPanel bp)
Method Detail |
---|
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 |