public class RemoteSlaveDisplayImpl extends UnicastRemoteObject implements RemoteSlaveDisplay, MouseListener, MouseMotionListener
ref| Constructor and Description |
|---|
RemoteSlaveDisplayImpl(RemoteDisplay d)
Construct a new slaved display linked to the given RemoteDisplay
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDisplayListener(DisplayListener l)
Add a display listener to this slave display.
|
JComponent |
getComponent()
Get this slave display's component, for adding to a user interface
|
BufferedImage |
getImage()
Get this slave display's current image
|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
removeDisplayListener(DisplayListener l)
Remove a display listener from this slave display
|
void |
sendImage(int[] pixels,
int width,
int height,
int type)
Update this slave display with the given RLE-encoded image pixels
|
void |
sendMessage(String message)
Send the given message to this slave display
|
void |
unlink()
Remove the link from this slaved display to its remote display
|
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic RemoteSlaveDisplayImpl(RemoteDisplay d) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void unlink()
throws VisADException,
RemoteException
VisADExceptionRemoteExceptionpublic JComponent getComponent()
public void addDisplayListener(DisplayListener l)
public void removeDisplayListener(DisplayListener l)
public BufferedImage getImage()
public void sendImage(int[] pixels,
int width,
int height,
int type)
throws RemoteException
sendImage in interface RemoteSlaveDisplayRemoteExceptionpublic void sendMessage(String message) throws RemoteException
sendMessage in interface RemoteSlaveDisplayRemoteExceptionpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.