|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.visad.display.RadarGrid
public class RadarGrid
A class to support a standard radar grid display - range rings, radials and labels.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.CompositeDisplayable |
|---|
cnt, label |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
RadarGrid(double lat,
double lon,
Color color)
Construct a RadarGrid centered at specified lat/lon |
|
RadarGrid(LatLonPoint llp,
Color color)
Construct a RadarGrid centered at llp. |
|
| Method Summary | |
|---|---|
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(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(LatLonPoint llp)
Set the point to center the radar grid on. |
void |
setCenterPointAndColors(double lat,
double lon,
Color rrcolor,
Color radcolor,
Color lcolor)
Set the center point and colors of the RadarGrid. |
void |
setColor(Color color)
Set the color of all part of the grid to one color. |
void |
setFont(Font f)
Set the font on the labels |
void |
setLabelColor(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(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RadarGrid(LatLonPoint llp,
Color color)
throws VisADException,
RemoteException
llp - center pointcolor - color for the grid
VisADException - VisAD error
RemoteException - remote error
public RadarGrid(double lat,
double lon,
Color color)
throws VisADException,
RemoteException
lat - center point latitude (degrees)lon - center point longitude (degrees)color - color for the grid
VisADException - VisAD error
RemoteException - remote error| Method Detail |
|---|
public void setColor(Color color)
throws VisADException,
RemoteException
setColor in class CompositeDisplayablecolor - color to use
VisADException - VisAD error
RemoteException - remote error
public void setAzimuthLineColor(Color color)
throws VisADException,
RemoteException
color - color to use
VisADException - VisAD error
RemoteException - remote error
public void setRangeRingColor(Color color)
throws VisADException,
RemoteException
color - color to use
VisADException - VisAD error
RemoteException - remote error
public void setLabelColor(Color color)
throws VisADException,
RemoteException
color - Color for labels
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setLabelLineWidth(float width)
throws VisADException,
RemoteException
width - width in pixels
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setRangeRingLineWidth(float width)
throws VisADException,
RemoteException
width - width in pixels
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setRadialLineWidth(float width)
throws VisADException,
RemoteException
width - width in pixels
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setAzimuthLinesVisible(boolean visible)
throws VisADException,
RemoteException
visible - true to show
VisADException - VisAD error
RemoteException - remote error
public void setRangeRingsVisible(boolean visible)
throws VisADException,
RemoteException
visible - true to show
VisADException - VisAD error
RemoteException - remote error
public void setLabelsVisible(boolean visible)
throws VisADException,
RemoteException
visible - true to show the labels
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setCenterPoint(LatLonPoint llp)
throws VisADException,
RemoteException
llp - new point to center on.
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setCenterPoint(double lat,
double lon)
throws VisADException,
RemoteException
lat - in degreeslon - in degrees east
RemoteException
VisADException
public void setCenterPointAndColors(double lat,
double lon,
Color rrcolor,
Color radcolor,
Color lcolor)
throws VisADException,
RemoteException
lat - latitude (degrees)lon - longitude (degrees)rrcolor - range ring colorradcolor - radial colorlcolor - label color
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic double getCenterLatitude()
public double getCenterLongitude()
public void setRangeRingSpacing(double spacing,
double max)
throws VisADException,
RemoteException
spacing - in kilometersmax - max radius in kilometers
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setMaxRadius(double radius)
throws VisADException,
RemoteException
radius - in kilometers
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setLabelSpacing(double li)
throws VisADException,
RemoteException
li - label increment in kilometers
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setRadialInterval(double inc)
throws VisADException,
RemoteException
inc - angular degrees separation of radials
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic void setLabelSize(float size)
size - scaling size (0 - 1)
public void setFont(Font f)
throws VisADException,
RemoteException
f - The font
VisADException - VisAD error
RemoteException - remote error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||