|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalDisplay
LocalDisplay is the VisAD interface for local instances of displays. It declares the methods which are used by applications.
Field Summary |
---|
Method Summary | |
---|---|
void |
addActivityHandler(ActivityHandler ah)
add a display activity handler |
void |
addDisplayListener(DisplayListener listener)
add a DisplayListener |
void |
addMessageListener(MessageListener listener)
add a MessageListener |
void |
addReferences(DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
link refs to this Display using the non-default renderer; must be local DataRendererImpls; this method may only be invoked after all links to ScalarMaps have been made; the maps[i] array applies only to rendering refs[i]; |
Component |
getComponent()
return the java.awt.Component (e.g., JPanel or AppletPanel) this Display uses; returns null for an offscreen Display |
Control |
getControl(Class c)
only called for Control objects associated with 'single' DisplayRealType-s |
Control |
getControl(Class c,
int inst)
find specified occurance for Control object of the specified class |
Vector |
getControls(Class c)
find all Control objects of the specified class |
DisplayRenderer |
getDisplayRenderer()
return the DisplayRenderer associated with this Display |
GraphicsModeControl |
getGraphicsModeControl()
return the GraphicsModeControl associated with this Display |
BufferedImage |
getImage()
return a captured image of the display |
Vector |
getMapVector()
return a Vector of the ScalarMap-s associated with this Display |
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. |
Container |
getWidgetPanel()
get a GUI component containing this Display's Control widgets, creating the widgets as necessary |
double[] |
make_matrix(double rotx,
double roty,
double rotz,
double scale,
double transx,
double transy,
double transz)
|
double[] |
multiply_matrix(double[] a,
double[] b)
|
void |
removeActivityHandler(ActivityHandler ah)
remove a display activity handler |
void |
removeDisplayListener(DisplayListener listener)
Removes a DisplayListener. |
void |
removeMessageListener(MessageListener listener)
Removes a MessageListener. |
void |
replaceReferences(RemoteDisplay rDpy,
DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
link refs to this Display using the non-default renderer; must be local DataRendererImpls; this method may only be invoked after all links to ScalarMaps have been made; the maps[i] array applies only to rendering refs[i]; |
Methods inherited from interface visad.Display |
---|
addMap, addReference, addReferences, addSlave, clearMaps, destroy, getConstantMapVector, hasSlaves, removeAllSlaves, removeMap, removeSlave, sendMessage |
Methods inherited from interface visad.Action |
---|
addReference, getName, removeAllReferences, removeReference |
Methods inherited from interface visad.ThingChangedListener |
---|
thingChanged |
Method Detail |
---|
void addActivityHandler(ActivityHandler ah) throws VisADException
VisADException
void removeActivityHandler(ActivityHandler ah) throws VisADException
VisADException
void addDisplayListener(DisplayListener listener)
void addMessageListener(MessageListener listener)
void replaceReferences(RemoteDisplay rDpy, DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, RemoteException
VisADException
RemoteException
void addReferences(DataRenderer renderer, DataReference[] refs, ConstantMap[][] constant_maps) throws VisADException, RemoteException
VisADException
RemoteException
Component getComponent()
DisplayRenderer getDisplayRenderer()
Vector getRenderers()
Vector getRendererVector()
Control getControl(Class c)
Control getControl(Class c, int inst)
Vector getControls(Class c)
GraphicsModeControl getGraphicsModeControl()
BufferedImage getImage()
Vector getMapVector() throws VisADException, RemoteException
VisADException
RemoteException
ProjectionControl getProjectionControl()
Container getWidgetPanel()
double[] make_matrix(double rotx, double roty, double rotz, double scale, double transx, double transy, double transz)
double[] multiply_matrix(double[] a, double[] b)
void removeDisplayListener(DisplayListener listener)
listener
- The listener to be removed. Nothing happens
if the listener isn't registered with this
instance.void removeMessageListener(MessageListener listener)
listener
- The listener to be removed. Nothing happens if
the listener isn't registered with this instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |