Package ucar.visad.display
Class TrackDisplayable
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.RGBDisplayable
ucar.visad.display.TrackDisplayable
- Direct Known Subclasses:
PickableTrack
Provides support for a color coded display of a track trace.
- Version:
- $Revision: 1.12 $
- Author:
- Don Murray
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter -
Field Summary
FieldsFields inherited from class ucar.visad.display.RGBDisplayable
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPEFields inherited from class ucar.visad.display.DisplayableData
MANIPULABLE, renderer, VISIBLEFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsConstructorDescriptionTrackDisplayable(String name) Constructs an instance with the supplied reference name. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.floatGets the current line width associated with this LineDrawingbooleanGet whether the RGB type is used for the select range.voidsetLineWidth(float lineWidth) Sets the width of lines in this Displayable.voidSet the track to be displayed.Methods inherited from class ucar.visad.display.RGBDisplayable
getAutoScaleColorRange, getColorPalette, getCurvedSize, getPolygonMode, getRangeforColor, getRangeForColor, getRGBRealType, getSelectRealType, hasRange, hasSelectedRange, makeCurvedSizeMap, setAutoScaleColorRange, setColor, setColorPalette, setColorUnit, setCurvedSize, setDisplayUnit, setGreyPalette, setPolygonMode, setRange, setRangeForColor, setRangeForSelect, setRGBRealType, setScalarMaps, setSelectedRange, setSelectRealType, setUseRGBTypeForSelect, setVisADPalette, useDisplayUnitForColorMethods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, 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, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setScalarMapSet, setSelectedRange, setUseTimesInAnimation, toFront
-
Field Details
-
LINE_WIDTH
The name of the line-width property.
-
-
Constructor Details
-
TrackDisplayable
Constructs an instance with the supplied reference name.- Parameters:
name- reference name- Throws:
VisADException- couldn't create the necessary VisAD objectRemoteException- couldn't create the remote object
-
-
Method Details
-
setTrack
Set the track to be displayed.- Parameters:
track- must have the form (lat,lon, alt) -> param- Throws:
VisADException- couldn't create the necessary VisAD objectRemoteException- couldn't create the remote object
-
setLineWidth
Sets the width of lines in this Displayable.- Overrides:
setLineWidthin classDisplayableData- Parameters:
lineWidth- Width of lines (1 = normal)- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
getLineWidth
public float getLineWidth()Gets the current line width associated with this LineDrawing- Overrides:
getLineWidthin classDisplayableData- Returns:
- line width
-
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplayin classDisplayableData- Returns:
- A semi-deep clone of this instance.
- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
getUseRGBTypeForSelect
public boolean getUseRGBTypeForSelect()Get whether the RGB type is used for the select range.- Overrides:
getUseRGBTypeForSelectin classRGBDisplayable- Returns:
- true if the RGB type for the
-