|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.maps.MapData
ucar.unidata.idv.control.MapDisplayControl.MapState
public static class MapDisplayControl.MapState
This class holds the state associated with a given map
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.gis.maps.MapData |
|---|
category, description, fastRendering, lineStyle, lineWidth, mapColor, myMap, source, spacing, visible |
| Constructor Summary | |
|---|---|
MapDisplayControl.MapState()
ctor for persistence |
|
MapDisplayControl.MapState(MapData that)
ctor for instantiating from a MapData |
|
MapDisplayControl.MapState(String mapPath,
String description,
Color mapColor,
float lineWidth,
int lineStyle)
Construct this MapState. |
|
| Method Summary | |
|---|---|
protected void |
checkVisibility()
Take into account the visibility of the display control |
boolean |
init(MapDisplayControl mapDisplayControl)
Initialize the map. |
protected void |
stateChanged()
A method that allows derived classes to be told when the state has changed. |
| Methods inherited from class ucar.unidata.gis.maps.MapData |
|---|
equals, getCategory, getColor, getDescription, getFastRendering, getLineStyle, getLineWidth, getMap, getSource, getSpacing, getVisible, hashCode, setCategory, setColor, setDescription, setFastRendering, setLineStyle, setLineWidth, setSource, setSpacing, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapDisplayControl.MapState()
public MapDisplayControl.MapState(MapData that)
that - The MapData to copy from
public MapDisplayControl.MapState(String mapPath,
String description,
Color mapColor,
float lineWidth,
int lineStyle)
mapPath - File path, resource path or url of the map file.description - Map descriptionmapColor - The initial color to uselineWidth - The initial line width to uselineStyle - The initial line style to use| Method Detail |
|---|
protected void checkVisibility()
public boolean init(MapDisplayControl mapDisplayControl)
mapDisplayControl - The display control we are part of
protected void stateChanged()
stateChanged in class MapData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||