framework
Class MapObject

java.lang.Object
  extended by framework.MapObject

public class MapObject
extends java.lang.Object

MapObject.java

Contains all information in a map, including its points of interest.

This is originally MapObject.java in no.tellu.commonplatform.serviceframe.common.map, slightly changed, to be able to use a map image. Redundant code from no.tellu.commonplatform.serviceframe.common.map.MapObject has been removed from this file.


Constructor Summary
MapObject(javax.microedition.lcdui.Image mapImage, java.util.Vector POIs, no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox mapBoundingBox)
          Constructor MapObject
 
Method Summary
 no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox getMapBoundingBox()
           
 javax.microedition.lcdui.Image getMapImage()
           
 java.util.Vector getPOIs()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapObject

public MapObject(javax.microedition.lcdui.Image mapImage,
                 java.util.Vector POIs,
                 no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox mapBoundingBox)
Constructor MapObject

Parameters:
mapImage - An image containing a map
POIs - A vector with POIObject objects (points of interest)
mapBoundingBox - An object containing map coordinates
Method Detail

getMapImage

public javax.microedition.lcdui.Image getMapImage()
Returns:
the image of the map

getPOIs

public java.util.Vector getPOIs()
Returns:
the vector with points of interest

getMapBoundingBox

public no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox getMapBoundingBox()
Returns:
the object with map coordinates