public class RemoteDisplayImpl extends RemoteActionImpl implements RemoteDisplay
AdjustProjectionSeam, Alpha, Animation, Blue, CacheAppearances, CMY, ColorMode, components3c, components3s, componentscmy, componentscyl, componentsflow1, componentsflow1s, componentsflow2, componentsflow2s, componentshsv, componentsrgb, componentsso, CurvedSize, Cyan, CylAzimuth, CylRadius, CylZAxis, DisplayCMYCoordSys, DisplayCMYTuple, DisplayCylindricalCoordSys, DisplayFlow1SphericalCoordSys, DisplayFlow1SphericalTuple, DisplayFlow1Tuple, DisplayFlow2SphericalCoordSys, DisplayFlow2SphericalTuple, DisplayFlow2Tuple, DisplayHSVCoordSys, DisplayHSVTuple, DisplayRealArray, DisplayRGBTuple, DisplaySpatialCartesianTuple, DisplaySpatialCylindricalTuple, DisplaySpatialOffsetTuple, DisplaySpatialSphericalTuple, DisplaySphericalCoordSys, Flow1Azimuth, Flow1Elevation, Flow1Radial, Flow1X, Flow1Y, Flow1Z, Flow2Azimuth, Flow2Elevation, Flow2Radial, Flow2X, Flow2Y, Flow2Z, Green, HSV, Hue, IsoContour, Latitude, LineStyle, LineWidth, List, Longitude, Magenta, MergeGeometries, MissingTransparent, PointMode, PointSize, PolygonMode, PolygonOffset, PolygonOffsetFactor, Radius, Red, RGB, RGBA, Saturation, SelectRange, SelectValue, Shape, ShapeScale, Text, Texture3DMode, TextureEnable, Value, XAxis, XAxisOffset, YAxis, YAxisOffset, Yellow, ZAxis, ZAxisOffset| Constructor and Description |
|---|
RemoteDisplayImpl(DisplayImpl d) |
| Modifier and Type | Method and Description |
|---|---|
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 |
removeMap(ScalarMap map)
remove a ScalarMap from 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
|
getName, removeAllReferences, thingChangedclone, exportObject, exportObject, exportObject, unexportObjectequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitgetNameremoveAllReferencesthingChangedpublic RemoteDisplayImpl(DisplayImpl d) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void addSlave(RemoteSlaveDisplay display) throws VisADException, java.rmi.RemoteException
addSlave in interface Displaydisplay - RemoteSlaveDisplay to linkVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void removeSlave(RemoteSlaveDisplay display) throws VisADException, java.rmi.RemoteException
removeSlave in interface Displaydisplay - RemoteSlaveDisplay to removeVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void removeAllSlaves()
throws VisADException,
java.rmi.RemoteException
removeAllSlaves in interface DisplayVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic boolean hasSlaves()
throws VisADException,
java.rmi.RemoteException
hasSlaves in interface DisplayVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void sendMouseEvent(java.awt.event.MouseEvent e)
throws VisADException,
java.rmi.RemoteException
sendMouseEvent in interface RemoteDisplayVisADExceptionjava.rmi.RemoteExceptionpublic void addReference(ThingReference ref) throws VisADException, java.rmi.RemoteException
addReference in interface ActionaddReference in class RemoteActionImplref - The ThingReference to which to create
the link. Subsequent invocation of
thingChanged(ThingChangedEvent)
causes invocation of
ref.acknowledgeThingChanged(this)
. This method invokes
ref.addThingChangedListener(this, ...).RemoteVisADException - if the reference isn't a ThingReferenceImpl.ReferenceException - if the reference has already been added.VisADException - if a VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.ThingChangedListener.thingChanged(ThingChangedEvent),
ThingReference.addThingChangedListener(ThingChangedListener, long)public void addReference(DataReference ref, ConstantMap[] constant_maps) throws VisADException, java.rmi.RemoteException
addReference in interface Displayref - DataReference to link toconstant_maps - array of ConstantMaps applied to linked DataVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void addReferences(DataRenderer renderer, DataReference ref) throws VisADException, java.rmi.RemoteException
VisADExceptionjava.rmi.RemoteExceptionpublic void addReferences(DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps) throws VisADException, java.rmi.RemoteException
addReferences in interface Displayrenderer - DataRenderer used to depict linked Dataref - DataReference to link toconstant_maps - array of ConstantMaps applied to this DataVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void addReferences(DataRenderer renderer, DataReference[] refs) throws VisADException, java.rmi.RemoteException
VisADExceptionjava.rmi.RemoteExceptionpublic void addReferences(DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, java.rmi.RemoteException
VisADExceptionjava.rmi.RemoteExceptionpublic void removeReference(ThingReference ref) throws VisADException, java.rmi.RemoteException
removeReference in interface ActionremoveReference in class RemoteActionImplref - The reference to be removed.RemoteVisADException - if the reference isn't a ThingReferenceImpl.ReferenceException - if the reference isn't a part of this
instance.VisADException - if a VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public void addMap(ScalarMap map) throws VisADException, java.rmi.RemoteException
addMap in interface Displaymap - ScalarMap to linkVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void removeMap(ScalarMap map) throws VisADException, java.rmi.RemoteException
removeMap in interface Displaymap - ScalarMap to removeVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void clearMaps()
throws VisADException,
java.rmi.RemoteException
clearMaps in interface DisplayVisADException - a VisAD error occurredjava.rmi.RemoteException - an RMI error occurredpublic void destroy()
throws VisADException,
java.rmi.RemoteException
destroy in interface DisplayVisADExceptionjava.rmi.RemoteExceptionpublic java.lang.String getDisplayClassName()
throws java.rmi.RemoteException
getDisplayClassName in interface RemoteDisplayjava.rmi.RemoteExceptionpublic int getDisplayAPI()
throws java.rmi.RemoteException,
VisADException
getDisplayAPI in interface RemoteDisplayjava.rmi.RemoteExceptionVisADExceptionpublic java.lang.String getDisplayRendererClassName()
throws java.rmi.RemoteException
getDisplayRendererClassName in interface RemoteDisplayjava.rmi.RemoteExceptionpublic java.util.Vector getMapVector()
throws VisADException,
java.rmi.RemoteException
getMapVector in interface RemoteDisplayVisADExceptionjava.rmi.RemoteExceptionpublic java.util.Vector getConstantMapVector()
throws VisADException,
java.rmi.RemoteException
getConstantMapVector in interface DisplaygetConstantMapVector in interface RemoteDisplayVisADExceptionjava.rmi.RemoteExceptionpublic GraphicsModeControl getGraphicsModeControl() throws VisADException, java.rmi.RemoteException
getGraphicsModeControl in interface RemoteDisplayVisADExceptionjava.rmi.RemoteExceptionpublic java.util.Vector getReferenceLinks()
throws VisADException,
java.rmi.RemoteException
getReferenceLinks in interface RemoteDisplayVisADExceptionjava.rmi.RemoteExceptionpublic RemoteDisplayMonitor getRemoteDisplayMonitor() throws java.rmi.RemoteException
getRemoteDisplayMonitor in interface RemoteDisplayjava.rmi.RemoteExceptionpublic DisplaySync getDisplaySync() throws java.rmi.RemoteException
getDisplaySync in interface RemoteDisplayjava.rmi.RemoteExceptionpublic RemoteDisplaySync getRemoteDisplaySync() throws java.rmi.RemoteException
getRemoteDisplaySync in interface RemoteDisplayjava.rmi.RemoteExceptionpublic void sendMessage(MessageEvent msg) throws java.rmi.RemoteException
sendMessage in interface Displaymsg - Message being sent.java.rmi.RemoteException - an RMI error occurred