ucar.visad.display
Class MapLines
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.visad.display.MapLines
public class MapLines
- extends LineDrawing
Provides support for displaying map lines.
- Version:
- $Revision: 1.10 $
- Author:
- Don Murray
|
Method Summary |
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
void |
setMapLines(SampledSet mapSet)
Sets the map lines of this instance from a set of Latitude/Longitude
points for the map lines. |
String |
toString()
Provide a readable description of this MapLines |
| Methods inherited from class ucar.visad.display.LineDrawing |
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA |
| Methods inherited from class ucar.visad.display.DisplayableData |
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme |
| 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, setSelectedRange, setUseTimesInAnimation, toFront |
MapLines
public MapLines(String name)
throws VisADException,
RemoteException
- Constructs an instance with the supplied reference name.
- Parameters:
name - reference name
- Throws:
VisADException - couldn't create the necessary VisAD object
RemoteException - couldn't create the remote object
MapLines
public MapLines(String name,
SampledSet mapSet)
throws VisADException,
RemoteException
- Constructs an instance from a name and set of map lines.
- Parameters:
name - reference namemapSet - set of map lines
- Throws:
VisADException - couldn't create the necessary VisAD object
RemoteException - couldn't create the remote object
MapLines
protected MapLines(MapLines that)
throws RemoteException,
VisADException
- Constructs from another instance.
- Parameters:
that - The other instance.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setMapLines
public void setMapLines(SampledSet mapSet)
throws VisADException,
RemoteException
- Sets the map lines of this instance from a set of Latitude/Longitude
points for the map lines. The set dimension must be 2 and
the CoordinateSystem (if one exists) must have a reference of
RealType.Latitude and RealType.Longitude
- Parameters:
mapSet - set of map lines
- Throws:
VisADException - couldn't create the necessary VisAD object
or reference is not lat/lon.
RemoteException - couldn't create the remote object
toString
public String toString()
- Provide a readable description of this MapLines
- Overrides:
toString in class DisplayableData
- Returns:
- readable description
cloneForDisplay
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
- Returns a clone of this instance suitable for another VisAD display.
Underlying data objects are not cloned.
- Overrides:
cloneForDisplay in class DisplayableData
- Returns:
- A semi-deep clone of this instance.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.