Package ucar.visad.display
Class GridValueDisplayable
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.StationModelDisplayable
ucar.visad.display.GridValueDisplayable
- All Implemented Interfaces:
GridDisplayable
Class for displaying grid point values as text
- Version:
- $Revision: 1.15 $
- Author:
- IDV Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter -
Field Summary
Fields inherited from class ucar.visad.display.StationModelDisplayable
OFFSET_SCALEFields inherited from class ucar.visad.display.DisplayableData
LINE_WIDTH, MANIPULABLE, renderer, VISIBLEFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault constructorGridValueDisplayable(String name) Construct with the given name.GridValueDisplayable(String name, JythonManager jythonManager) Construct with the given name.protectedConstructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionClone thisDisplayableso it can go into a different display.voidSet the data into the DisplayablevoidsetColoredByAnother(boolean yesno) Set whether this GridDisplayable should have the data colored by another parameter.Methods inherited from class ucar.visad.display.StationModelDisplayable
destroy, getColor, getRotateShapes, getScale, getShouldUseAltitude, getStationModel, hasSelectedRange, setColor, setRangeForSelect, setRotateShapes, setScale, setSelectedRange, setShouldUseAltitude, setStationData, setStationModel, setStationModel, toFront, writeKmzFileMethods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, getActive, getAnimationSet, getData, getDataRenderer, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, showme, toStringMethods inherited from class ucar.visad.display.Displayable
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setUseTimesInAnimation
-
Constructor Details
-
GridValueDisplayable
Default constructor- Throws:
VisADException- necessary VisAD object couldn't be createdRemoteException- remote error
-
GridValueDisplayable
Construct with the given name.- Parameters:
name- name must contain no spaces.- Throws:
VisADException- necessary VisAD object couldn't be createdRemoteException- remote error
-
GridValueDisplayable
public GridValueDisplayable(String name, JythonManager jythonManager) throws VisADException, RemoteException Construct with the given name.- Parameters:
name- name must contain no spaces.jythonManager- The JythonManager for evaluating embedded expressions- Throws:
VisADException- necessary VisAD object couldn't be createdRemoteException- remote error
-
GridValueDisplayable
Constructs from another instance.- Parameters:
that- The other instance.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
-
Method Details
-
cloneForDisplay
Clone thisDisplayableso it can go into a different display.- Overrides:
cloneForDisplayin classStationModelDisplayable- Returns:
- clone of this object
- Throws:
RemoteException- Java RMI errorVisADException- VisAD error
-
loadData
Set the data into the Displayable- Specified by:
loadDatain interfaceGridDisplayable- Parameters:
field- a VisAD FlatField with a 2D nature- Throws:
VisADException- from construction of VisAd objectsRemoteException- from construction of VisAD objects
-
setColoredByAnother
public void setColoredByAnother(boolean yesno) Set whether this GridDisplayable should have the data colored by another parameter. This implementation is a no-op.- Specified by:
setColoredByAnotherin interfaceGridDisplayable- Parameters:
yesno- true if colored by another
-