public class PainterThread extends Thread implements RequestRepaint
Modifier and Type | Class and Description |
---|---|
static interface |
PainterThread.Paintable |
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
PainterThread(PainterThread.Paintable paintable) |
PainterThread(ThreadGroup group,
PainterThread.Paintable paintable) |
PainterThread(ThreadGroup group,
String name,
PainterThread.Paintable paintable) |
Modifier and Type | Method and Description |
---|---|
void |
requestRepaint()
Request repaint.
|
void |
run() |
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
public PainterThread(PainterThread.Paintable paintable)
public PainterThread(ThreadGroup group, PainterThread.Paintable paintable)
public PainterThread(ThreadGroup group, String name, PainterThread.Paintable paintable)
public void requestRepaint()
PainterThread.Paintable.paint()
from the PainterThread
.requestRepaint
in interface RequestRepaint
Copyright © 2015–2021 Fiji. All rights reserved.