|
|||||||||
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.RemoteActionImpl
visad.RemoteDisplayImpl
public class RemoteDisplayImpl
RemoteDisplayImpl is the VisAD class for remote access to Display-s.
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
RemoteDisplayImpl(DisplayImpl d)
|
Method Summary | |
---|---|
void |
addMap(ScalarMap map)
add a ScalarMap to this Display |
void |
addReference(DataReference ref,
ConstantMap[] constant_maps)
link ref to this Display; must be RemoteDataReference; this method may only be invoked after all links to ScalarMaps have been made; the ConstantMap array applies only to rendering ref |
void |
addReference(ThingReference ref)
link ref to this Display; this method may only be invoked after all links to ScalarMaps have been made |
void |
addReferences(DataRenderer renderer,
DataReference ref)
link ref to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information |
void |
addReferences(DataRenderer renderer,
DataReference[] refs)
link refs to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information |
void |
addReferences(DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
link refs to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; the maps[i] array applies only to rendering refs[i]; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information |
void |
addReferences(DataRenderer renderer,
DataReference ref,
ConstantMap[] constant_maps)
link ref to this Display using the non-default renderer; refs may be a mix of RemoteDataReference & DataReferenceImpl; cannot be called through RemoteDisplay interface, since renderer implements neither Remote nor Serializable; must be called locally; this method may only be invoked after all links to ScalarMaps have been made; the maps array applies only to rendering ref; this is a method of DisplayImpl and RemoteDisplayImpl rather than Display - see Section 6.1 of the Developer's Guide for more information |
void |
addSlave(RemoteSlaveDisplay display)
links a slave display to this display |
void |
clearMaps()
clear set of ScalarMap-s associated with this display |
void |
destroy()
destroy this display |
java.util.Vector |
getConstantMapVector()
|
int |
getDisplayAPI()
|
java.lang.String |
getDisplayClassName()
|
java.lang.String |
getDisplayRendererClassName()
|
DisplaySync |
getDisplaySync()
Returns a remotely-usable wrapper for the associated Display's synchronization object. |
GraphicsModeControl |
getGraphicsModeControl()
|
java.util.Vector |
getMapVector()
|
java.util.Vector |
getReferenceLinks()
|
RemoteDisplayMonitor |
getRemoteDisplayMonitor()
|
RemoteDisplaySync |
getRemoteDisplaySync()
Returns a remotely-usable wrapper for the associated Display's synchronization object. |
boolean |
hasSlaves()
whether there are any slave displays linked to this display |
void |
removeAllSlaves()
removes all links between slave displays and this display |
void |
removeReference(ThingReference ref)
remove link to a DataReference; because DataReference array input to adaptedAddReferences may be a mix of local and remote, we tolerate either here |
void |
removeSlave(RemoteSlaveDisplay display)
removes a link between a slave display and this display |
void |
sendMessage(MessageEvent msg)
Send a message to all MessageListeners. |
void |
sendMouseEvent(java.awt.event.MouseEvent e)
sends a mouse event to this remote display's associated display |
Methods inherited from class visad.RemoteActionImpl |
---|
getName, removeAllReferences, thingChanged |
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 |
Methods inherited from interface visad.RemoteDisplay |
---|
getName |
Methods inherited from interface visad.Action |
---|
removeAllReferences |
Methods inherited from interface visad.ThingChangedListener |
---|
thingChanged |
Constructor Detail |
---|
public RemoteDisplayImpl(DisplayImpl d) throws java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
---|
public void addSlave(RemoteSlaveDisplay display) throws VisADException, java.rmi.RemoteException
addSlave
in interface Display
VisADException
java.rmi.RemoteException
public void removeSlave(RemoteSlaveDisplay display) throws VisADException, java.rmi.RemoteException
removeSlave
in interface Display
VisADException
java.rmi.RemoteException
public void removeAllSlaves() throws VisADException, java.rmi.RemoteException
removeAllSlaves
in interface Display
VisADException
java.rmi.RemoteException
public boolean hasSlaves() throws VisADException, java.rmi.RemoteException
hasSlaves
in interface Display
VisADException
java.rmi.RemoteException
public void sendMouseEvent(java.awt.event.MouseEvent e) throws VisADException, java.rmi.RemoteException
sendMouseEvent
in interface RemoteDisplay
VisADException
java.rmi.RemoteException
public void addReference(ThingReference ref) throws VisADException, java.rmi.RemoteException
addReference
in interface Action
addReference
in class RemoteActionImpl
VisADException
java.rmi.RemoteException
public void addReference(DataReference ref, ConstantMap[] constant_maps) throws VisADException, java.rmi.RemoteException
addReference
in interface Display
VisADException
java.rmi.RemoteException
public void addReferences(DataRenderer renderer, DataReference ref) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void addReferences(DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps) throws VisADException, java.rmi.RemoteException
addReferences
in interface Display
VisADException
java.rmi.RemoteException
public void addReferences(DataRenderer renderer, DataReference[] refs) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void addReferences(DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void removeReference(ThingReference ref) throws VisADException, java.rmi.RemoteException
removeReference
in interface Action
removeReference
in class RemoteActionImpl
VisADException
java.rmi.RemoteException
public void addMap(ScalarMap map) throws VisADException, java.rmi.RemoteException
addMap
in interface Display
VisADException
java.rmi.RemoteException
public void clearMaps() throws VisADException, java.rmi.RemoteException
clearMaps
in interface Display
VisADException
java.rmi.RemoteException
public void destroy() throws VisADException, java.rmi.RemoteException
destroy
in interface Display
VisADException
java.rmi.RemoteException
public java.lang.String getDisplayClassName() throws java.rmi.RemoteException
getDisplayClassName
in interface RemoteDisplay
java.rmi.RemoteException
public int getDisplayAPI() throws java.rmi.RemoteException, VisADException
getDisplayAPI
in interface RemoteDisplay
java.rmi.RemoteException
VisADException
public java.lang.String getDisplayRendererClassName() throws java.rmi.RemoteException
getDisplayRendererClassName
in interface RemoteDisplay
java.rmi.RemoteException
public java.util.Vector getMapVector() throws VisADException, java.rmi.RemoteException
getMapVector
in interface RemoteDisplay
VisADException
java.rmi.RemoteException
public java.util.Vector getConstantMapVector() throws VisADException, java.rmi.RemoteException
getConstantMapVector
in interface Display
getConstantMapVector
in interface RemoteDisplay
VisADException
java.rmi.RemoteException
public GraphicsModeControl getGraphicsModeControl() throws VisADException, java.rmi.RemoteException
getGraphicsModeControl
in interface RemoteDisplay
VisADException
java.rmi.RemoteException
public java.util.Vector getReferenceLinks() throws VisADException, java.rmi.RemoteException
getReferenceLinks
in interface RemoteDisplay
VisADException
java.rmi.RemoteException
public RemoteDisplayMonitor getRemoteDisplayMonitor() throws java.rmi.RemoteException
getRemoteDisplayMonitor
in interface RemoteDisplay
java.rmi.RemoteException
public DisplaySync getDisplaySync() throws java.rmi.RemoteException
getDisplaySync
in interface RemoteDisplay
java.rmi.RemoteException
public RemoteDisplaySync getRemoteDisplaySync() throws java.rmi.RemoteException
getRemoteDisplaySync
in interface RemoteDisplay
java.rmi.RemoteException
public void sendMessage(MessageEvent msg) throws java.rmi.RemoteException
sendMessage
in interface Display
msg
- Message being sent.
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |