|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
visad.RemoteSlaveDisplayImpl
public class RemoteSlaveDisplayImpl
RemoteSlaveDisplayImpl is an implementation of a slaved display that receives its images from a RemoteDisplay (via RMI).
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
RemoteSlaveDisplayImpl(RemoteDisplay d)
Construct a new slaved display linked to the given RemoteDisplay |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteSlaveDisplayImpl(RemoteDisplay d)
throws VisADException,
RemoteException
VisADException
RemoteException| Method Detail |
|---|
public void unlink()
throws VisADException,
RemoteException
VisADException
RemoteExceptionpublic 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 RemoteSlaveDisplayRemoteException
public 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 MouseMotionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||