public class TrackDisplayable extends RGBDisplayable
DisplayableData.DragAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINE_WIDTH
The name of the line-width property.
|
COLOR_PALETTE, POLYGON_FILL, POLYGON_LINE, POLYGON_POINT, RGB_REAL_TYPE
MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
TrackDisplayable(java.lang.String name)
Constructs an instance with the supplied reference name.
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
float |
getLineWidth()
Gets the current line width associated with this LineDrawing
|
boolean |
getUseRGBTypeForSelect()
Get whether the RGB type is used for the select range.
|
void |
setLineWidth(float lineWidth)
Sets the width of lines in this Displayable.
|
void |
setTrack(visad.FieldImpl track)
Set the track to be displayed.
|
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, useDisplayUnitForColor
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, toString
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
public static java.lang.String LINE_WIDTH
public TrackDisplayable(java.lang.String name) throws visad.VisADException, java.rmi.RemoteException
name
- reference namevisad.VisADException
- couldn't create the necessary VisAD objectjava.rmi.RemoteException
- couldn't create the remote objectpublic void setTrack(visad.FieldImpl track) throws visad.VisADException, java.rmi.RemoteException
track
- must have the form (lat,lon, alt) -> paramvisad.VisADException
- couldn't create the necessary VisAD objectjava.rmi.RemoteException
- couldn't create the remote objectpublic void setLineWidth(float lineWidth) throws visad.VisADException, java.rmi.RemoteException
setLineWidth
in class DisplayableData
lineWidth
- Width of lines (1 = normal)visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public float getLineWidth()
getLineWidth
in class DisplayableData
public Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public boolean getUseRGBTypeForSelect()
getUseRGBTypeForSelect
in class RGBDisplayable