|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public void addActivityHandler(ActivityHandler ah)
throws VisADException
VisADException
public void removeActivityHandler(ActivityHandler ah)
throws VisADException
VisADExceptionpublic void addDisplayListener(DisplayListener listener)
public void addMessageListener(MessageListener listener)
public void replaceReferences(RemoteDisplay rDpy,
DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
throws VisADException,
RemoteException
VisADException
RemoteException
public void addReferences(DataRenderer renderer,
DataReference[] refs,
ConstantMap[][] constant_maps)
throws VisADException,
RemoteException
VisADException
RemoteExceptionpublic Component getComponent()
public DisplayRenderer getDisplayRenderer()
public Vector getRenderers()
public Vector getRendererVector()
public Control getControl(Class c)
public Control getControl(Class c,
int inst)
public Vector getControls(Class c)
public GraphicsModeControl getGraphicsModeControl()
public BufferedImage getImage()
public Vector getMapVector()
throws VisADException,
RemoteException
VisADException
RemoteExceptionpublic ProjectionControl getProjectionControl()
public Container getWidgetPanel()
public double[] make_matrix(double rotx,
double roty,
double rotz,
double scale,
double transx,
double transy,
double transz)
public double[] multiply_matrix(double[] a,
double[] b)
public void removeDisplayListener(DisplayListener listener)
listener - The listener to be removed. Nothing happens
if the listener isn't registered with this
instance.public 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 | |||||||||