|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.map.Map
public class Map
This class defines Map which holds information about a map
| Field Summary | |
|---|---|
private java.util.List<MapArc> |
arcs
|
private Position |
center
|
static java.lang.String |
CVS_VERSION_ID
CVS Version |
private java.util.List<MapLine> |
lines
|
private MapName |
mapName
|
(package private) static long |
serialVersionUID
|
private java.util.List<MapSymbol> |
symbols
|
| Constructor Summary | |
|---|---|
Map(MapName mapName)
Constructor |
|
| Method Summary | |
|---|---|
void |
addMapArc(MapArc mapArc)
|
void |
addMapLine(MapLine mapLine)
|
void |
addMapSymbol(MapSymbol mapSymbol)
|
Position |
getCenter()
returns the center of this map |
java.util.Iterator<MapArc> |
getMapArcsIterator()
|
java.util.Iterator<MapLine> |
getMapLinesIterator()
returns an iterator of the lines of this map |
MapName |
getMapName()
|
java.util.Iterator<MapSymbol> |
getMapSymbolsIterator()
returns an iterator of the symbols of this map |
java.lang.String |
getName()
Required in order to implement has name interface returns the name of this map |
void |
setCenter(Position center)
sets the center of this map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private MapName mapName
private Position center
private java.util.List<MapLine> lines
private java.util.List<MapArc> arcs
private java.util.List<MapSymbol> symbols
| Constructor Detail |
|---|
public Map(MapName mapName)
name - - name of the map| Method Detail |
|---|
public java.lang.String getName()
getName in interface ManagedObjectpublic MapName getMapName()
public Position getCenter()
public void setCenter(Position center)
public void addMapLine(MapLine mapLine)
public void addMapArc(MapArc mapArc)
public void addMapSymbol(MapSymbol mapSymbol)
public java.util.Iterator<MapSymbol> getMapSymbolsIterator()
public java.util.Iterator<MapLine> getMapLinesIterator()
public java.util.Iterator<MapArc> getMapArcsIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||