public class LatLonData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
fastRendering
fast rendering flag
|
protected LatLonLines |
myLatLon
The lat lon lines.
|
Modifier | Constructor and Description |
---|---|
|
LatLonData()
Default ctor
|
|
LatLonData(boolean isLatitude,
java.awt.Color color,
float defaultSpacing,
float base,
float lineWidth,
int lineStyle,
boolean fastRendering)
The constructor
|
|
LatLonData(boolean isLatitude,
java.awt.Color color,
float defaultSpacing,
float lineWidth,
int lineStyle)
The ctro
|
|
LatLonData(boolean isLatitude,
java.awt.Color color,
float defaultSpacing,
float lineWidth,
int lineStyle,
boolean fastRendering)
The constructor
|
protected |
LatLonData(LatLonData that)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
float |
getBase()
Get the Base property.
|
java.awt.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 |
setBase(float value)
Set the Base property.
|
void |
setColor(java.awt.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.
|
protected LatLonLines myLatLon
protected boolean fastRendering
public LatLonData()
public LatLonData(boolean isLatitude, java.awt.Color color, float defaultSpacing, float lineWidth, int lineStyle)
isLatitude
- Is it lat or loncolor
- The colordefaultSpacing
- The spacinglineWidth
- The line widthlineStyle
- The line stylepublic LatLonData(boolean isLatitude, java.awt.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 renderingpublic LatLonData(boolean isLatitude, java.awt.Color color, float defaultSpacing, float base, float lineWidth, int lineStyle, boolean fastRendering)
isLatitude
- Is it lat or loncolor
- The colordefaultSpacing
- The spacingbase
- The baselineWidth
- The line widthlineStyle
- The line stylefastRendering
- true to use fast renderingprotected LatLonData(LatLonData that)
that
- the other latlondata objectpublic void initWith(LatLonData that)
that
- The other objectprotected void stateChanged()
public LatLonLines getLatLonLines() throws visad.VisADException, java.rmi.RemoteException
LatLonLines
objectvisad.VisADException
- the VisAD exceptionjava.rmi.RemoteException
- the remote exceptionprotected boolean getRealVisibility()
public void setColor(java.awt.Color value)
value
- The new value for Colorpublic java.awt.Color getColor()
public void setSpacing(float value)
value
- The new value for Spacingpublic float getSpacing()
public void setBase(float value)
value
- The new value for Basepublic float getBase()
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()