com.micello.mapapi.data
Interface PointReference

All Known Subinterfaces:
GeomReference
All Known Implementing Classes:
AddressGeomReference, IdGeomReference, MapPoint, MLatLonPoint

public interface PointReference

This interface defines a reference to a location.


Field Summary
static int ADDRESS_GEOM_TYPE
          This constant indicates a ponit reference of type geometry address.
static int ID_GEOM_TYPE
          This constant indicates a ponit reference of type geometry ID reference.
static int LAT_LON_POINT_TYPE
          This constant indicates a ponit reference of type lat lon point.
static int MAP_POINT_TYPE
          This constant indicates a ponit reference of type map point.
 
Method Summary
 float[] getXY(DrawingLevel level)
          This method returns an XY location.
 boolean isOnLevel(DrawingLevel level)
          This method returns true if the referenced point should appear on the given level.
 

Field Detail

MAP_POINT_TYPE

static final int MAP_POINT_TYPE
This constant indicates a ponit reference of type map point.

See Also:
Constant Field Values

LAT_LON_POINT_TYPE

static final int LAT_LON_POINT_TYPE
This constant indicates a ponit reference of type lat lon point.

See Also:
Constant Field Values

ID_GEOM_TYPE

static final int ID_GEOM_TYPE
This constant indicates a ponit reference of type geometry ID reference.

See Also:
Constant Field Values

ADDRESS_GEOM_TYPE

static final int ADDRESS_GEOM_TYPE
This constant indicates a ponit reference of type geometry address.

See Also:
Constant Field Values
Method Detail

getXY

float[] getXY(DrawingLevel level)
This method returns an XY location. It may return null if the basis for the point has not been defined or is unavailable.


isOnLevel

boolean isOnLevel(DrawingLevel level)
This method returns true if the referenced point should appear on the given level.

Parameters:
level - The level on shich to check if the point resides.
Returns:
True if the point is on the level.