public class JSkyCatRemoteControl extends Thread implements ImageGraphicsHandler, ChangeListener
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
JSkyCatRemoteControl(int portNum,
JSkyCat jskycat)
Listen on the given port for remote commands to the given
JSkyCat instance.
|
Modifier and Type | Method and Description |
---|---|
void |
drawImageGraphics(BasicImageDisplay imageDisplay,
Graphics2D g)
Called each time the image is repainted.
|
void |
run()
Start accepting client connections.
|
void |
stateChanged(ChangeEvent e)
Called when the image processor settings are changed.
|
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 JSkyCatRemoteControl(int portNum, JSkyCat jskycat) throws IOException
IOException
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
public void drawImageGraphics(BasicImageDisplay imageDisplay, Graphics2D g)
drawImageGraphics
in interface ImageGraphicsHandler
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.