public class RemoteDisplayImpl extends RemoteActionImpl implements RemoteDisplay
refAdjustProjectionSeam, 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
|
Vector |
getConstantMapVector() |
int |
getDisplayAPI() |
String |
getDisplayClassName() |
String |
getDisplayRendererClassName() |
DisplaySync |
getDisplaySync()
Returns a remotely-usable wrapper for the associated Display's
synchronization object.
|
GraphicsModeControl |
getGraphicsModeControl() |
Vector |
getMapVector() |
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(MouseEvent e)
sends a mouse event to this remote display's associated display
|
getName, removeAllReferences, thingChangedclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitgetNameremoveAllReferencesthingChangedpublic RemoteDisplayImpl(DisplayImpl d) throws RemoteException
RemoteExceptionpublic void addSlave(RemoteSlaveDisplay display) throws VisADException, RemoteException
addSlave in interface Displaydisplay - RemoteSlaveDisplay to linkVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void removeSlave(RemoteSlaveDisplay display) throws VisADException, RemoteException
removeSlave in interface Displaydisplay - RemoteSlaveDisplay to removeVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void removeAllSlaves()
throws VisADException,
RemoteException
removeAllSlaves in interface DisplayVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic boolean hasSlaves()
throws VisADException,
RemoteException
hasSlaves in interface DisplayVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void sendMouseEvent(MouseEvent e) throws VisADException, RemoteException
sendMouseEvent in interface RemoteDisplayVisADExceptionRemoteExceptionpublic void addReference(ThingReference ref) throws VisADException, 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.RemoteException - if a Java RMI failure occurs.ThingChangedListener.thingChanged(ThingChangedEvent),
ThingReference.addThingChangedListener(ThingChangedListener, long)public void addReference(DataReference ref, ConstantMap[] constant_maps) throws VisADException, RemoteException
addReference in interface Displayref - DataReference to link toconstant_maps - array of ConstantMaps applied to linked DataVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void addReferences(DataRenderer renderer, DataReference ref) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void addReferences(DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps) throws VisADException, 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 occurredRemoteException - an RMI error occurredpublic void addReferences(DataRenderer renderer, DataReference[] refs) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void addReferences(DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void removeReference(ThingReference ref) throws VisADException, 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.RemoteException - if a Java RMI failure occurs.public void addMap(ScalarMap map) throws VisADException, RemoteException
addMap in interface Displaymap - ScalarMap to linkVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void removeMap(ScalarMap map) throws VisADException, RemoteException
removeMap in interface Displaymap - ScalarMap to removeVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void clearMaps()
throws VisADException,
RemoteException
clearMaps in interface DisplayVisADException - a VisAD error occurredRemoteException - an RMI error occurredpublic void destroy()
throws VisADException,
RemoteException
destroy in interface DisplayVisADExceptionRemoteExceptionpublic String getDisplayClassName() throws RemoteException
getDisplayClassName in interface RemoteDisplayRemoteExceptionpublic int getDisplayAPI()
throws RemoteException,
VisADException
getDisplayAPI in interface RemoteDisplayRemoteExceptionVisADExceptionpublic String getDisplayRendererClassName() throws RemoteException
getDisplayRendererClassName in interface RemoteDisplayRemoteExceptionpublic Vector getMapVector() throws VisADException, RemoteException
getMapVector in interface RemoteDisplayVisADExceptionRemoteExceptionpublic Vector getConstantMapVector() throws VisADException, RemoteException
getConstantMapVector in interface DisplaygetConstantMapVector in interface RemoteDisplayVisADExceptionRemoteExceptionpublic GraphicsModeControl getGraphicsModeControl() throws VisADException, RemoteException
getGraphicsModeControl in interface RemoteDisplayVisADExceptionRemoteExceptionpublic Vector getReferenceLinks() throws VisADException, RemoteException
getReferenceLinks in interface RemoteDisplayVisADExceptionRemoteExceptionpublic RemoteDisplayMonitor getRemoteDisplayMonitor() throws RemoteException
getRemoteDisplayMonitor in interface RemoteDisplayRemoteExceptionpublic DisplaySync getDisplaySync() throws RemoteException
getDisplaySync in interface RemoteDisplayRemoteExceptionpublic RemoteDisplaySync getRemoteDisplaySync() throws RemoteException
getRemoteDisplaySync in interface RemoteDisplayRemoteExceptionpublic void sendMessage(MessageEvent msg) throws RemoteException
sendMessage in interface Displaymsg - Message being sent.RemoteException - an RMI error occurredCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.