|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.maps.LatLonData
public class LatLonData
A data structure to hold display attributes for lat/lon lines
| Field Summary | |
|---|---|
protected boolean |
fastRendering
fast rendering flag |
protected LatLonLines |
myLatLon
The lat lon lines. |
| Constructor Summary | |
|---|---|
|
LatLonData()
Default ctor |
|
LatLonData(boolean isLatitude,
Color color,
float defaultSpacing,
float lineWidth,
int lineStyle)
The ctro |
|
LatLonData(boolean isLatitude,
Color color,
float defaultSpacing,
float lineWidth,
int lineStyle,
boolean fastRendering)
The ctro |
protected |
LatLonData(LatLonData that)
Copy constructor |
| Method Summary | |
|---|---|
Color |
getColor()
Get the Color property. |
boolean |
getFastRendering()
Get the FastRendering property. |
boolean |
getIsLatitude()
Get the IsLatitude property. |
LatLonLines |
getLatLonLines()
Create, if needed, initialize and return the latlonlines object |
int |
getLineStyle()
Get the LineStyle property. |
float |
getLineWidth()
Get the LineWidth property. |
float |
getMaxValue()
Get the MaxValue property. |
float |
getMinValue()
Get the MinValue property. |
protected boolean |
getRealVisibility()
Meant to be overwrote by a derived class that needs to determine its own visibility. |
float |
getSpacing()
Get the Spacing property. |
boolean |
getVisible()
Get the Visible property. |
void |
initWith(LatLonData that)
Initialize this object with the state from the given LatLonData |
void |
setColor(Color value)
Set the Color property. |
void |
setFastRendering(boolean value)
Set the FastRendering property. |
void |
setIsLatitude(boolean value)
Set the IsLatitude property. |
void |
setLineStyle(int value)
Set the LineStyle property. |
void |
setLineWidth(float value)
Set the LineWidth property. |
void |
setMaxValue(float value)
Set the MaxValue property. |
void |
setMinValue(float value)
Set the MinValue property. |
void |
setSpacing(float value)
Set the Spacing property. |
void |
setVisible(boolean value)
Set the Visible property. |
protected void |
stateChanged()
Gets called when any of the state has been changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected LatLonLines myLatLon
protected boolean fastRendering
| Constructor Detail |
|---|
public LatLonData()
public LatLonData(boolean isLatitude,
Color color,
float defaultSpacing,
float lineWidth,
int lineStyle)
isLatitude - Is it lat or loncolor - The colordefaultSpacing - The spacinglineWidth - The line widthlineStyle - The line style
public LatLonData(boolean isLatitude,
Color color,
float defaultSpacing,
float lineWidth,
int lineStyle,
boolean fastRendering)
isLatitude - Is it lat or loncolor - The colordefaultSpacing - The spacinglineWidth - The line widthlineStyle - The line stylefastRendering - true to use fast renderingprotected LatLonData(LatLonData that)
that - the other latlondata object| Method Detail |
|---|
public void initWith(LatLonData that)
that - The other objectprotected void stateChanged()
public LatLonLines getLatLonLines()
throws VisADException,
RemoteException
LatLonLines object
RemoteException
VisADExceptionprotected boolean getRealVisibility()
public void setColor(Color value)
value - The new value for Colorpublic Color getColor()
public void setSpacing(float value)
value - The new value for Spacingpublic float getSpacing()
public void setLineWidth(float value)
value - The new value for LineWidthpublic float getLineWidth()
public void setLineStyle(int value)
value - The new value for LineStylepublic int getLineStyle()
public void setIsLatitude(boolean value)
value - The new value for IsLatitudepublic boolean getIsLatitude()
public void setMinValue(float value)
value - The new value for MinValuepublic float getMinValue()
public void setMaxValue(float value)
value - The new value for MaxValuepublic float getMaxValue()
public void setVisible(boolean value)
value - The new value for Visiblepublic boolean getVisible()
public void setFastRendering(boolean value)
value - The new value for FastRenderingpublic boolean getFastRendering()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||