|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
soc.client.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)| 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, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, 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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||