|
||||||||||
| 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 |
stateChanged()
Called by the base class when one of the latlon values have changed. |
| Methods inherited from class ucar.unidata.gis.maps.LatLonData |
|---|
getColor, getFastRendering, getIsLatitude, getLatLonLines, getLineStyle, getLineWidth, getMaxValue, getMinValue, getSpacing, getVisible, setColor, setFastRendering, setIsLatitude, setLineStyle, setLineWidth, setMaxValue, setMinValue, setSpacing, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 fromprotected void checkVisibility()
protected boolean getRealVisibility()
getRealVisibility in class LatLonDatapublic void stateChanged()
stateChanged in class LatLonData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||