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_SCALE
Fields inherited from class ucar.visad.display.DisplayableData
LINE_WIDTH, MANIPULABLE, renderer, VISIBLE
Fields 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.protected
Constructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionClone thisDisplayable
so it can go into a different display.void
Set the data into the Displayablevoid
setColoredByAnother
(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, writeKmzFile
Methods 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, toString
Methods 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 thisDisplayable
so it can go into a different display.- Overrides:
cloneForDisplay
in classStationModelDisplayable
- Returns:
- clone of this object
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD error
-
loadData
Set the data into the Displayable- Specified by:
loadData
in 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:
setColoredByAnother
in interfaceGridDisplayable
- Parameters:
yesno
- true if colored by another
-