public class RemoteDisplayImpl extends RemoteActionImpl implements RemoteDisplay
ref
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
|
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, thingChanged
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
getName
removeAllReferences
thingChanged
public RemoteDisplayImpl(DisplayImpl d) throws RemoteException
RemoteException
public void addSlave(RemoteSlaveDisplay display) throws VisADException, RemoteException
addSlave
in interface Display
display
- RemoteSlaveDisplay to linkVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void removeSlave(RemoteSlaveDisplay display) throws VisADException, RemoteException
removeSlave
in interface Display
display
- RemoteSlaveDisplay to removeVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void removeAllSlaves() throws VisADException, RemoteException
removeAllSlaves
in interface Display
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic boolean hasSlaves() throws VisADException, RemoteException
hasSlaves
in interface Display
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void sendMouseEvent(MouseEvent e) throws VisADException, RemoteException
sendMouseEvent
in interface RemoteDisplay
VisADException
RemoteException
public void addReference(ThingReference ref) throws VisADException, RemoteException
addReference
in interface Action
addReference
in class RemoteActionImpl
ref
- 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 Display
ref
- 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
VisADException
RemoteException
public void addReferences(DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps) throws VisADException, RemoteException
addReferences
in interface Display
renderer
- 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
VisADException
RemoteException
public void addReferences(DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, RemoteException
VisADException
RemoteException
public void removeReference(ThingReference ref) throws VisADException, RemoteException
removeReference
in interface Action
removeReference
in class RemoteActionImpl
ref
- 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 Display
map
- ScalarMap to linkVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void removeMap(ScalarMap map) throws VisADException, RemoteException
removeMap
in interface Display
map
- ScalarMap to removeVisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void clearMaps() throws VisADException, RemoteException
clearMaps
in interface Display
VisADException
- a VisAD error occurredRemoteException
- an RMI error occurredpublic void destroy() throws VisADException, RemoteException
destroy
in interface Display
VisADException
RemoteException
public String getDisplayClassName() throws RemoteException
getDisplayClassName
in interface RemoteDisplay
RemoteException
public int getDisplayAPI() throws RemoteException, VisADException
getDisplayAPI
in interface RemoteDisplay
RemoteException
VisADException
public String getDisplayRendererClassName() throws RemoteException
getDisplayRendererClassName
in interface RemoteDisplay
RemoteException
public Vector getMapVector() throws VisADException, RemoteException
getMapVector
in interface RemoteDisplay
VisADException
RemoteException
public Vector getConstantMapVector() throws VisADException, RemoteException
getConstantMapVector
in interface Display
getConstantMapVector
in interface RemoteDisplay
VisADException
RemoteException
public GraphicsModeControl getGraphicsModeControl() throws VisADException, RemoteException
getGraphicsModeControl
in interface RemoteDisplay
VisADException
RemoteException
public Vector getReferenceLinks() throws VisADException, RemoteException
getReferenceLinks
in interface RemoteDisplay
VisADException
RemoteException
public RemoteDisplayMonitor getRemoteDisplayMonitor() throws RemoteException
getRemoteDisplayMonitor
in interface RemoteDisplay
RemoteException
public DisplaySync getDisplaySync() throws RemoteException
getDisplaySync
in interface RemoteDisplay
RemoteException
public RemoteDisplaySync getRemoteDisplaySync() throws RemoteException
getRemoteDisplaySync
in interface RemoteDisplay
RemoteException
public void sendMessage(MessageEvent msg) throws RemoteException
sendMessage
in interface Display
msg
- Message being sent.RemoteException
- an RMI error occurredCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.