|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.maps.LatLonData
ucar.unidata.idv.control.MapDisplayControl.LatLonState
public static class MapDisplayControl.LatLonState
This class holds the state associated with a given lat/lon
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.gis.maps.LatLonData |
|---|
fastRendering, myLatLon |
| Constructor Summary | |
|---|---|
MapDisplayControl.LatLonState()
Parameterless ctor |
|
MapDisplayControl.LatLonState(boolean isLatitude,
Color color,
float spacing,
float lineWidth,
int lineStyle)
The ctor |
|
MapDisplayControl.LatLonState(LatLonData that)
Ctor for creating from a LatLonData |
|
| Method Summary | |
|---|---|
protected void |
checkVisibility()
Apply the visibility to the myLatLon |
protected boolean |
getRealVisibility()
Overwrite the base class method to take into account the display's visibility |
protected void |
init(MapDisplayControl mapDisplayControl)
Set the MapDisplayControl |
void |
initWith(LatLonData that)
Copy the state from the given LatLonData |
void |
setColor(Color value)
_more_ |
void |
setFastRendering(boolean value)
_more_ |
void |
setLineStyle(int value)
_more_ |
void |
setLineWidth(float value)
_more_ |
void |
setSpacing(float value)
_more_ |
void |
setVisible(boolean value)
_more_ |
void |
stateChanged()
Called by the base class when one of the latlon values have changed. |
String |
toString()
to string |
| Methods inherited from class ucar.unidata.gis.maps.LatLonData |
|---|
getColor, getFastRendering, getIsLatitude, getLatLonLines, getLineStyle, getLineWidth, getMaxValue, getMinValue, getSpacing, getVisible, setIsLatitude, setMaxValue, setMinValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapDisplayControl.LatLonState()
public MapDisplayControl.LatLonState(LatLonData that)
that - The object to copy from
public MapDisplayControl.LatLonState(boolean isLatitude,
Color color,
float spacing,
float lineWidth,
int lineStyle)
isLatitude - Is this latitude or longitudecolor - Line colorspacing - Line spacinglineWidth - Line widthlineStyle - Line style| Method Detail |
|---|
protected void init(MapDisplayControl mapDisplayControl)
mapDisplayControl - The display I am part ofpublic void initWith(LatLonData that)
initWith in class LatLonDatathat - The LatLonData to copy frompublic void setColor(Color value)
setColor in class LatLonDatavalue - _more_public void setVisible(boolean value)
setVisible in class LatLonDatavalue - _more_public void setFastRendering(boolean value)
setFastRendering in class LatLonDatavalue - _more_public void setLineStyle(int value)
setLineStyle in class LatLonDatavalue - _more_public void setSpacing(float value)
setSpacing in class LatLonDatavalue - _more_public void setLineWidth(float value)
setLineWidth in class LatLonDatavalue - _more_protected void checkVisibility()
protected boolean getRealVisibility()
getRealVisibility in class LatLonDatapublic void stateChanged()
stateChanged in class LatLonDatapublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||