public class RadarGrid extends CompositeDisplayable
cnt, labelDISPLAY, parent, SCALAR_MAP_SET| Constructor and Description |
|---|
RadarGrid(double lat,
double lon,
java.awt.Color color)
Construct a RadarGrid centered at specified lat/lon
|
RadarGrid(double lat,
double lon,
java.awt.Color color,
visad.Unit distUnit)
Construct a RadarGrid centered at specified lat/lon
|
RadarGrid(visad.georef.LatLonPoint llp,
java.awt.Color color)
Construct a RadarGrid centered at llp.
|
RadarGrid(visad.georef.LatLonPoint llp,
java.awt.Color color,
visad.Unit distUnit)
Construct a RadarGrid centered at llp.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCenterLatitude()
Get the latitude of the center of radar range rings.
|
double |
getCenterLongitude()
Get the longitude of the center of radar range rings.
|
void |
setAzimuthLineColor(java.awt.Color color)
Set the color of the azimuth lines (radials).
|
void |
setAzimuthLinesVisible(boolean visible)
Set the visibility of the azimuth lines (radials)
|
void |
setCenterPoint(double lat,
double lon)
Make a set of range rings and radials on this center location.
|
void |
setCenterPoint(visad.georef.LatLonPoint llp)
Set the point to center the radar grid on.
|
void |
setCenterPointAndColors(double lat,
double lon,
java.awt.Color rrcolor,
java.awt.Color radcolor,
java.awt.Color lcolor)
Set the center point and colors of the RadarGrid.
|
void |
setColor(java.awt.Color color)
Set the color of all part of the grid to one color.
|
void |
setDisplayUnit(visad.Unit newUnit)
Sets the unit on all contained children.
|
void |
setDistanceUnit(visad.Unit newUnit)
Set the distance unit
|
void |
setFont(java.awt.Font f)
Set the font on the labels
|
void |
setLabelColor(java.awt.Color color)
Set the color of the labels
|
void |
setLabelLineWidth(float width)
Set the width of the labels
|
void |
setLabelSize(float size)
Set the scaling size on the labels.
|
void |
setLabelSpacing(double li)
Set the spacing of radar range ring labels.
|
void |
setLabelsVisible(boolean visible)
Set the labels visible
|
void |
setMaxRadius(double radius)
Set the maximum radius of radar range rings
|
void |
setRadialInterval(double inc)
Set the interval of radials.
|
void |
setRadialLineWidth(float width)
Set the width of the labels
|
void |
setRangeRingColor(java.awt.Color color)
Set the color of the range rings.
|
void |
setRangeRingLineWidth(float width)
Set the width of the range rings
|
void |
setRangeRingSpacing(double spacing,
double max)
Set the spacing and max value of radar range rings distance from center.
|
void |
setRangeRingsVisible(boolean visible)
Set the visibility of the range rings.
|
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setLineWidth, setManipulable, setPointMode, setPointSize, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringaddConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRangepublic RadarGrid(visad.georef.LatLonPoint llp,
java.awt.Color color)
throws visad.VisADException,
java.rmi.RemoteException
llp - center pointcolor - color for the gridvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic RadarGrid(visad.georef.LatLonPoint llp,
java.awt.Color color,
visad.Unit distUnit)
throws visad.VisADException,
java.rmi.RemoteException
llp - center pointcolor - color for the griddistUnit - distance unitvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic RadarGrid(double lat,
double lon,
java.awt.Color color)
throws visad.VisADException,
java.rmi.RemoteException
lat - center point latitude (degrees)lon - center point longitude (degrees)color - color for the gridvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic RadarGrid(double lat,
double lon,
java.awt.Color color,
visad.Unit distUnit)
throws visad.VisADException,
java.rmi.RemoteException
lat - center point latitude (degrees)lon - center point longitude (degrees)color - color for the griddistUnit - distance unitvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setColor(java.awt.Color color)
throws visad.VisADException,
java.rmi.RemoteException
setColor in class CompositeDisplayablecolor - color to usevisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setAzimuthLineColor(java.awt.Color color)
throws visad.VisADException,
java.rmi.RemoteException
color - color to usevisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setRangeRingColor(java.awt.Color color)
throws visad.VisADException,
java.rmi.RemoteException
color - color to usevisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setLabelColor(java.awt.Color color)
throws visad.VisADException,
java.rmi.RemoteException
color - Color for labelsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelLineWidth(float width)
throws visad.VisADException,
java.rmi.RemoteException
width - width in pixelsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setRangeRingLineWidth(float width)
throws visad.VisADException,
java.rmi.RemoteException
width - width in pixelsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setRadialLineWidth(float width)
throws visad.VisADException,
java.rmi.RemoteException
width - width in pixelsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setAzimuthLinesVisible(boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
visible - true to showvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setRangeRingsVisible(boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
visible - true to showvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setLabelsVisible(boolean visible)
throws visad.VisADException,
java.rmi.RemoteException
visible - true to show the labelsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setCenterPoint(visad.georef.LatLonPoint llp)
throws visad.VisADException,
java.rmi.RemoteException
llp - new point to center on.java.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setCenterPoint(double lat,
double lon)
throws visad.VisADException,
java.rmi.RemoteException
lat - in degreeslon - in degrees eastjava.rmi.RemoteExceptionvisad.VisADExceptionpublic void setCenterPointAndColors(double lat,
double lon,
java.awt.Color rrcolor,
java.awt.Color radcolor,
java.awt.Color lcolor)
throws visad.VisADException,
java.rmi.RemoteException
lat - latitude (degrees)lon - longitude (degrees)rrcolor - range ring colorradcolor - radial colorlcolor - label colorjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic double getCenterLatitude()
public double getCenterLongitude()
public void setRangeRingSpacing(double spacing,
double max)
throws visad.VisADException,
java.rmi.RemoteException
spacing - in kilometersmax - max radius in kilometersjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setMaxRadius(double radius)
throws visad.VisADException,
java.rmi.RemoteException
radius - in kilometersjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelSpacing(double li)
throws visad.VisADException,
java.rmi.RemoteException
li - label increment in kilometersjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setRadialInterval(double inc)
throws visad.VisADException,
java.rmi.RemoteException
inc - angular degrees separation of radialsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelSize(float size)
size - scaling size (0 - 1)public void setFont(java.awt.Font f)
throws visad.VisADException,
java.rmi.RemoteException
f - The fontvisad.VisADException - VisAD errorjava.rmi.RemoteException - remote errorpublic void setDisplayUnit(visad.Unit newUnit)
throws visad.VisADException,
java.rmi.RemoteException
CompositeDisplayablesetDisplayUnit in class CompositeDisplayablenewUnit - The display unit to use.visad.VisADException - if a VisADFailure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public void setDistanceUnit(visad.Unit newUnit)
throws visad.VisADException,
java.rmi.RemoteException
newUnit - the new Unitjava.rmi.RemoteException - Java RMI errorvisad.VisADException - unit not a distance unit