|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.ActionImpl visad.DisplayImpl
public abstract class DisplayImpl
DisplayImpl is the abstract VisAD superclass for display implementations. It is runnable.
DisplayImpl is not Serializable and should not be copied between JVMs.
Nested Class Summary | |
---|---|
class |
DisplayImpl.Syncher
Class used to ensure that all linked Data have been transformed and rendered, used by getImage() |
Field Summary |
---|
Fields inherited from class visad.ActionImpl |
---|
TRACE_STACK, TRACE_TIME |
Constructor Summary | |
---|---|
DisplayImpl(RemoteDisplay rmtDpy,
DisplayRenderer renderer)
construct a DisplayImpl collaborating with the given RemoteDisplay, and with the given DisplayRenderer |
|
DisplayImpl(String name,
DisplayRenderer renderer)
construct a DisplayImpl with given name and DisplayRenderer |
Method Summary | |
---|---|
void |
addActivityHandler(ActivityHandler ah)
Add a busy/idle activity handler. |
void |
addControl(Control control)
add a Control to this DisplayImpl |
void |
addDataSourceListener(RemoteSourceListener listener)
Deprecated. |
void |
addDisplayListener(DisplayListener listener)
add a DisplayListener |
void |
addMap(ScalarMap map)
add a ScalarMap to this Display, assuming a local source |
void |
addMap(ScalarMap map,
int remoteId)
add a ScalarMap to this Display |
void |
addMessageListener(MessageListener listener)
Forward messages to the specified listener |
void |
addReference(DataReference ref,
ConstantMap[] constant_maps)
Link a reference to this Display. |
void |
addReference(ThingReference ref)
Link a reference to this Display. |
void |
addReferences(DataRenderer renderer,
DataReference ref)
Link a reference to this Display using a non-default renderer. |
void |
addReferences(DataRenderer renderer,
DataReference[] refs)
Link references to this display using a non-default renderer. |
void |
addReferences(DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
Link references to this display using the non-default renderer. |
void |
addReferences(DataRenderer renderer,
DataReference ref,
ConstantMap[] constant_maps)
Link a reference to this Display using a non-default renderer. |
void |
addRemoteSourceListener(RemoteSourceListener listener)
Inform listener of changes in the availability of remote data/collaboration sources. |
void |
addRendererSourceListener(RendererSourceListener listener)
Inform listener of deleted DataRenderer s. |
void |
addSlave(RemoteSlaveDisplay display)
link a slave display to this |
boolean |
checkTicks()
over-ride ActionImpl.checkTicks() to always return true, since DisplayImpl always runs doAction to find out if any linked Data needs to be re-transformed |
void |
clearMaps()
remove all ScalarMaps linked this display; |
void |
connectionFailed(DataRenderer renderer,
DataDisplayLink link)
Notify this Display that a connection to a remote server has failed |
void |
controlChanged()
trigger possible re-transform of linked Data used by Controls to notify this DisplayImpl that they have changed |
static void |
delay(int millis)
Deprecated. Use new visad.util.Delay(millis) instead. |
void |
destroy()
destroy this display: clear all references to objects (so they can be garbage collected), stop all Threads and remove all links |
void |
disableEvent(int id)
Disables reporting of a DisplayEvent of a given type when it occurs in this display. |
void |
doAction()
Check if any Data need re-transform, and if so, do it. |
void |
enableEvent(int id)
Enables reporting of a DisplayEvent of a given type when it occurs in this display. |
boolean |
equals(Object obj)
test for equality between this and the given Object given their complexity, its reasonable that DisplayImpl objects are only equal to themselves |
protected void |
finalize()
|
int |
getAPI()
Return the API used for this display |
Component |
getComponent()
return the java.awt.Component (e.g., JPanel or AppletPanel) this Display uses; returns null for an offscreen Display |
int |
getConnectionID(RemoteDisplay rmtDpy)
Return the ID used to identify the collaborative connection to the specified remote display. |
Vector |
getConstantMapVector()
|
Control |
getControl(Class c)
get a linked Control with the given Class; only called for Control objects associated with 'single' DisplayRealTypes |
Control |
getControl(Class c,
int inst)
get ordinal instance of linked Control object of the specified class |
Vector |
getControls(Class c)
get all linked Control objects of the specified Class |
Vector |
getControlVector()
Deprecated. - DisplayImpl shouldn't expose itself at this level |
protected abstract DisplayRenderer |
getDefaultDisplayRenderer()
|
DisplayMonitor |
getDisplayMonitor()
|
DisplayRenderer |
getDisplayRenderer()
return the DisplayRenderer associated with this Display |
DisplayRealType |
getDisplayScalar(int index)
get the DisplayRealType with the given index |
int |
getDisplayScalarCount()
|
int |
getDisplayScalarIndex(DisplayRealType dreal)
get the index for the given DisplayRealType |
DisplaySync |
getDisplaySync()
|
abstract GraphicsModeControl |
getGraphicsModeControl()
return the GraphicsModeControl associated with this Display |
BufferedImage |
getImage()
get a BufferedImage of this Display, without synchronizing (assume the application has made sure Data have been transformed and rendered) |
BufferedImage |
getImage(boolean sync)
get a BufferedImage of this Display |
Vector |
getMapVector()
return a Vector of the ScalarMap-s associated with this Display |
MouseBehavior |
getMouseBehavior()
|
int |
getNumberOfControls()
|
Printable |
getPrintable()
Return the Printable object to be used by a PrinterJob. |
abstract ProjectionControl |
getProjectionControl()
return the ProjectionControl associated with this Display |
Vector |
getRenderers()
Returns the list of DataRenderer-s. |
Vector |
getRendererVector()
Returns a clone of the list of DataRenderer-s. |
ScalarType |
getScalar(int index)
get the ScalarType with the given index |
int |
getScalarCount()
|
int |
getScalarIndex(ScalarType real)
get the index for the given ScalarType |
int |
getValueArrayLength()
|
int[] |
getValueToMap()
|
int[] |
getValueToScalar()
|
Container |
getWidgetPanel()
get a GUI component containing this Display's Control widgets; create the widgets as necessary |
boolean |
hasSlaves()
|
boolean |
isDestroyed()
has this display been destroyed |
boolean |
isEventEnabled(int id)
|
void |
lostCollabConnection(int id)
Inform RemoteSourceListener s that the specified collaborative
connection has been lost. |
double[] |
make_matrix(double rotx,
double roty,
double rotz,
double scale,
double transx,
double transy,
double transz)
make projection matrix from given arguments |
double[] |
multiply_matrix(double[] a,
double[] b)
multiply matrices |
void |
notifyListeners(DisplayEvent evt)
Notify this instance's DisplayListener s. |
void |
notifyListeners(int id,
int x,
int y)
Notify this instance's DisplayListener s. |
static void |
printStack(String message)
print a stack dump with the given message |
void |
reAutoScale()
request auto-scaling of ScalarMap ranges the next time Data are transformed into scene graph elements |
void |
reDisplayAll()
request all linked Data to be re-transformed into scene graph elements |
void |
removeActivityHandler(ActivityHandler ah)
Remove a busy/idle activity handler. |
void |
removeAllReferences()
remove all links to DataReferences. |
void |
removeAllSlaves()
remove all links to slave displays |
void |
removeDataSourceListener(RemoteSourceListener listener)
Deprecated. |
void |
removeDisplayListener(DisplayListener listener)
remove a DisplayListener |
void |
removeMap(ScalarMap map)
remove a ScalarMap from this Display, assuming a local source |
void |
removeMap(ScalarMap map,
int remoteId)
remove a ScalarMap from this Display |
void |
removeMessageListener(MessageListener listener)
Remove listener from the message list. |
void |
removeReference(ThingReference ref)
remove link to ref, which must be a local DataReferenceImpl; if ref was added as part of a DataReference array passed to addReferences(), remove links to all of them |
void |
removeRemoteSourceListener(RemoteSourceListener listener)
Remove listener from the remote source notification list. |
void |
removeRendererSourceListener(RendererSourceListener listener)
Remove listener from the DataRenderer deletion list. |
void |
removeSlave(RemoteSlaveDisplay display)
remove a link between a slave display and this |
void |
replaceReference(RemoteDisplay rDpy,
DataReference ref,
ConstantMap[] constant_maps)
Replace remote reference with local reference. |
void |
replaceReference(RemoteDisplay rDpy,
ThingReference ref)
Replace remote reference with local reference. |
void |
replaceReferences(RemoteDisplay rDpy,
DataRenderer renderer,
DataReference ref)
Replace remote reference with local reference using non-default renderer. |
void |
replaceReferences(RemoteDisplay rDpy,
DataRenderer renderer,
DataReference[] refs)
Replace remote references with local references. |
void |
replaceReferences(RemoteDisplay rDpy,
DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
Replace remote references with local references. |
void |
replaceReferences(RemoteDisplay rDpy,
DataRenderer renderer,
DataReference ref,
ConstantMap[] constant_maps)
Replace remote reference with local reference using non-default renderer. |
void |
sendMessage(MessageEvent msg)
Send a message to all MessageListeners. |
void |
setAlwaysAutoScale(boolean a)
if auto is true, re-apply auto-scaling of ScalarMap ranges every time Display is triggered |
void |
setComponent(Component c)
set the java.awt.Component this DisplayImpl uses |
void |
setMouseBehavior(MouseBehavior m)
set given MouseBehavior |
protected void |
syncRemoteData(RemoteDisplay rmtDpy)
copy Data from RemoteDisplay to this |
String |
toString()
|
String |
toString(String pre)
|
void |
updateBusyStatus()
Indicate to activity monitor that the Display is busy. |
void |
updateSlaves(BufferedImage img)
update all linked slave displays with the given image |
void |
updateSlaves(String message)
update all linked slave display with the given message |
Methods inherited from class visad.ActionImpl |
---|
disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface visad.Action |
---|
getName |
Methods inherited from interface visad.ThingChangedListener |
---|
thingChanged |
Constructor Detail |
---|
public DisplayImpl(String name, DisplayRenderer renderer) throws VisADException, RemoteException
name
- String name for DisplayImpl (used for debugging)renderer
- DisplayRenderer that controls aspects of the
display not specific to any particular Data
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic DisplayImpl(RemoteDisplay rmtDpy, DisplayRenderer renderer) throws VisADException, RemoteException
rmtDpy
- RemoteDisplay to collaborate withrenderer
- DisplayRenderer that controls aspects of the
display not specific to any particular Data
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredMethod Detail |
---|
protected void syncRemoteData(RemoteDisplay rmtDpy) throws VisADException, RemoteException
rmtDpy
- RemoteDisplay to get Data from
RemoteException
VisADException
public void notifyListeners(int id, int x, int y) throws VisADException, RemoteException
DisplayListener
s.
id
- type of DisplayEvent that is to be sentx
- the horizontal x coordinate for the mouse location in
the display componenty
- the vertical y coordinate for the mouse location in
the display component
VisADException
- if a VisAD failure occurs.
RemoteException
- if a Java RMI failure occurs.public void notifyListeners(DisplayEvent evt) throws VisADException, RemoteException
DisplayListener
s.
evt
- The DisplayEvent
to be passed to the
DisplayListener
s.
VisADException
- if a VisAD failure occurs.
RemoteException
- if a Java RMI failure occurs.public void addDisplayListener(DisplayListener listener)
addDisplayListener
in interface LocalDisplay
listener
- DisplayListener to addpublic void removeDisplayListener(DisplayListener listener)
removeDisplayListener
in interface LocalDisplay
listener
- DisplayListener to removepublic Component getComponent()
LocalDisplay
getComponent
in interface LocalDisplay
public void setComponent(Component c)
c
- Component to setpublic void reAutoScale()
public void setAlwaysAutoScale(boolean a)
a
- flag indicating whether to always re-apply auto-scalingpublic void reDisplayAll()
public void addSlave(RemoteSlaveDisplay display)
addSlave
in interface Display
display
- RemoteSlaveDisplay to linkpublic void removeSlave(RemoteSlaveDisplay display)
removeSlave
in interface Display
display
- RemoteSlaveDisplay to removepublic void removeAllSlaves()
removeAllSlaves
in interface Display
public boolean hasSlaves()
hasSlaves
in interface Display
public void updateSlaves(BufferedImage img)
img
- BufferedImage to send to all linked slave displayspublic void updateSlaves(String message)
message
- String to send to all linked slave displayspublic void enableEvent(int id)
id
- DisplayEvent type to enable. Valid types are:
public void disableEvent(int id)
id
- DisplayEvent type to disable. Valid types are:
public boolean isEventEnabled(int id)
id
- DisplayEvent type
public void addReference(ThingReference ref) throws VisADException, RemoteException
ScalarMaps
have been made.
addReference
in interface Action
addReference
in class ActionImpl
ref
- data reference
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.ActionImpl.thingChanged(ThingChangedEvent)
,
ThingReference.addThingChangedListener(ThingChangedListener, long)
public void replaceReference(RemoteDisplay rDpy, ThingReference ref) throws VisADException, RemoteException
rDpy
- Remote display.ref
- Local reference which will replace the previous
reference.
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.addReference(visad.ThingReference)
public void addReference(DataReference ref, ConstantMap[] constant_maps) throws VisADException, RemoteException
DataReferenceImpl
.
The ConstantMap
array applies only
to the rendering reference.
addReference
in interface Display
ref
- data referenceconstant_maps
- array of ConstantMaps
associated with the data reference
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.public void replaceReference(RemoteDisplay rDpy, DataReference ref, ConstantMap[] constant_maps) throws VisADException, RemoteException
rDpy
- Remote display.ref
- Local reference which will replace the previous
reference.constant_maps
- array of ConstantMaps
associated with the data reference
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.addReference(visad.DataReference, visad.ConstantMap[])
public void addReferences(DataRenderer renderer, DataReference ref) throws VisADException, RemoteException
DataReferenceImpl
.
This is a method of DisplayImpl
and
RemoteDisplayImpl
rather
than Display
renderer
- logic to render this dataref
- data reference
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.public void replaceReferences(RemoteDisplay rDpy, DataRenderer renderer, DataReference ref) throws VisADException, RemoteException
rDpy
- Remote display.renderer
- logic to render this dataref
- Local reference which will replace the previous
reference.
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.addReferences(visad.DataRenderer, visad.DataReference)
public void addReferences(DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps) throws VisADException, RemoteException
DataReferenceImpl
.
This is a method of DisplayImpl
and
RemoteDisplayImpl
rather
than Display
addReferences
in interface Display
renderer
- logic to render this dataref
- data referenceconstant_maps
- array of ConstantMaps
associated with the data reference
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.public void replaceReferences(RemoteDisplay rDpy, DataRenderer renderer, DataReference ref, ConstantMap[] constant_maps) throws VisADException, RemoteException
rDpy
- Remote display.renderer
- logic to render this dataref
- Local reference which will replace the previous
reference.constant_maps
- array of ConstantMaps
associated with the data reference
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data reference to the remote display.addReferences(visad.DataRenderer, visad.DataReference, visad.ConstantMap[])
public void addReferences(DataRenderer renderer, DataReference[] refs) throws VisADException, RemoteException
DataReferenceImpls
.
This is a method of DisplayImpl
and
RemoteDisplayImpl
rather
than Display
renderer
- logic to render this datarefs
- array of data references
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data references to the remote display.public void replaceReferences(RemoteDisplay rDpy, DataRenderer renderer, DataReference[] refs) throws VisADException, RemoteException
rDpy
- Remote display.renderer
- logic to render this datarefs
- array of local data references
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data references to the remote display.addReferences(visad.DataRenderer, visad.DataReference[])
public void addReferences(DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, RemoteException
DataReferenceImpls
.
The maps[i] array applies only to rendering refs[i].
This is a method of DisplayImpl
and
RemoteDisplayImpl
rather
than Display
addReferences
in interface LocalDisplay
renderer
- logic to render this datarefs
- array of data referencesconstant_maps
- array of ConstantMaps
associated with data references
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data references to the remote display.public void replaceReferences(RemoteDisplay rDpy, DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, RemoteException
replaceReferences
in interface LocalDisplay
rDpy
- Remote display.renderer
- logic to render this datarefs
- array of data referencesconstant_maps
- array of ConstantMaps
associated with data references.
VisADException
- if there was a problem with one or more
parameters.
RemoteException
- if there was a problem adding the
data references to the remote display.addReferences(visad.DataRenderer, visad.DataReference[], visad.ConstantMap[][])
public void removeReference(ThingReference ref) throws VisADException, RemoteException
removeReference
in interface Action
removeReference
in class ActionImpl
ref
- ThingReference to remove
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void removeAllReferences() throws VisADException, RemoteException
removeAllReferences
in interface Action
removeAllReferences
in class ActionImpl
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void controlChanged()
public boolean checkTicks()
checkTicks
in class ActionImpl
public boolean isDestroyed()
public void destroy() throws VisADException, RemoteException
destroy
in interface Display
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void doAction() throws VisADException, RemoteException
doAction
in class ActionImpl
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredprotected abstract DisplayRenderer getDefaultDisplayRenderer()
public DisplayRenderer getDisplayRenderer()
LocalDisplay
getDisplayRenderer
in interface LocalDisplay
public Vector getRendererVector()
getRendererVector
in interface LocalDisplay
getRenderers()
public int getDisplayScalarCount()
public DisplayRealType getDisplayScalar(int index)
index
- index into Vector of DisplayRealTypes
public int getDisplayScalarIndex(DisplayRealType dreal)
dreal
- DisplayRealType to search for
public int getScalarCount()
public ScalarType getScalar(int index)
index
- index into Vector of ScalarTypes
public int getScalarIndex(ScalarType real) throws RemoteException
real
- ScalarType to search for
RemoteException
- an RMI error occurredpublic void addMap(ScalarMap map) throws VisADException, RemoteException
addMap
in interface Display
map
- ScalarMap to add
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void addMap(ScalarMap map, int remoteId) throws VisADException, RemoteException
map
- ScalarMap to addremoteId
- remote source for collab, or VisADEvent.LOCAL_SOURCE
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void removeMap(ScalarMap map) throws VisADException, RemoteException
removeMap
in interface Display
map
- ScalarMap to remove
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void removeMap(ScalarMap map, int remoteId) throws VisADException, RemoteException
map
- ScalarMap to addremoteId
- remote source for collab, or VisADEvent.LOCAL_SOURCE
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic void clearMaps() throws VisADException, RemoteException
clearMaps
in interface Display
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredpublic Vector getMapVector()
LocalDisplay
getMapVector
in interface LocalDisplay
public Vector getConstantMapVector()
getConstantMapVector
in interface Display
public int getConnectionID(RemoteDisplay rmtDpy) throws RemoteException
rmtDpy
- the specified remote display.
RemoteException
- an RMI error occurredpublic void addControl(Control control)
control
- Control to addpublic Control getControl(Class c)
getControl
in interface LocalDisplay
c
- sub-Class of Control to search for
public Control getControl(Class c, int inst)
getControl
in interface LocalDisplay
c
- sub-Class of Control to search forinst
- ordinal instance number
public Vector getControls(Class c)
getControls
in interface LocalDisplay
c
- sub-Class of Control to search for
public int getNumberOfControls()
public Vector getControlVector()
public Container getWidgetPanel()
getWidgetPanel
in interface LocalDisplay
public int getValueArrayLength()
public int[] getValueToScalar()
public int[] getValueToMap()
public abstract ProjectionControl getProjectionControl()
LocalDisplay
getProjectionControl
in interface LocalDisplay
public abstract GraphicsModeControl getGraphicsModeControl()
LocalDisplay
getGraphicsModeControl
in interface LocalDisplay
public static void delay(int millis)
new visad.util.Delay(millis)
instead.
millis
- number of milliseconds to waitpublic static void printStack(String message)
message
- String to print with stack dumppublic boolean equals(Object obj)
equals
in class Object
obj
- Object to test for equality with this
public Vector getRenderers()
getRendererVector()
.
getRenderers
in interface LocalDisplay
getRendererVector()
public int getAPI() throws VisADException
VisADException
public DisplayMonitor getDisplayMonitor()
DisplayMonitor
associated with this
Display
.public DisplaySync getDisplaySync()
DisplaySync
associated with this
Display
.public void setMouseBehavior(MouseBehavior m)
m
- MouseBehavior to setpublic MouseBehavior getMouseBehavior()
public double[] make_matrix(double rotx, double roty, double rotz, double scale, double transx, double transy, double transz)
make_matrix
in interface LocalDisplay
rotx
- rotation about x axisroty
- rotation about y axisrotz
- rotation about z axisscale
- linear scale factortransx
- translation along x axistransy
- translation along y axistransz
- translation along z axis
public double[] multiply_matrix(double[] a, double[] b)
multiply_matrix
in interface LocalDisplay
a
- first operand matrixb
- second operand matrix
public BufferedImage getImage()
getImage
in interface LocalDisplay
public BufferedImage getImage(boolean sync)
sync
- if true, ensure that all linked Data have been
transformed and rendered
public String toString()
toString
in class Object
public String toString(String pre)
pre
- String added to start of each line
protected void finalize() throws Throwable
finalize
in class Object
Throwable
public Printable getPrintable()
PrinterJob printJob = PrinterJob.getPrinterJob(); PageFormat pf = printJob.defaultPage(); printJob.setPrintable(display.getPrintable(), pf); if (printJob.printDialog()) { try { printJob.print(); } catch (Exception pe) { pe.printStackTrace(); } }
public void connectionFailed(DataRenderer renderer, DataDisplayLink link)
renderer
- DataRenderer with failurelink
- DataDisplayLink with failurepublic void addRendererSourceListener(RendererSourceListener listener)
DataRenderer
s.
listener
- Object to add.public void removeRendererSourceListener(RendererSourceListener listener)
DataRenderer
deletion list.
listener
- Object to remove.public void addDataSourceListener(RemoteSourceListener listener)
listener
- public void removeDataSourceListener(RemoteSourceListener listener)
listener
- public void addRemoteSourceListener(RemoteSourceListener listener)
listener
- Object to send change notifications.public void removeRemoteSourceListener(RemoteSourceListener listener)
listener
- Object to be removed.public void lostCollabConnection(int id)
RemoteSourceListener
s that the specified collaborative
connection has been lost.
id
- ID of lost connection.public void addMessageListener(MessageListener listener)
addMessageListener
in interface LocalDisplay
listener
- New message receiver.public void removeMessageListener(MessageListener listener)
removeMessageListener
in interface LocalDisplay
listener
- Object to remove.public void sendMessage(MessageEvent msg) throws RemoteException
sendMessage
in interface Display
msg
- Message being sent.
RemoteException
public void addActivityHandler(ActivityHandler ah) throws VisADException
addActivityHandler
in interface LocalDisplay
ah
- Activity handler.
VisADException
- If the handler couldn't be added.public void removeActivityHandler(ActivityHandler ah) throws VisADException
removeActivityHandler
in interface LocalDisplay
ah
- Activity handler.
VisADException
- If the handler couldn't be removed.public void updateBusyStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |