MoSync 3.3
MAP::GeoPointLayer Class Reference

Layer class for GeoPoint. More...

#include <MAP/GeoPointLayer.h>

Inheritance diagram for MAP::GeoPointLayer:
MAP::Layer MAPUtil::Broadcaster< IGeoPointLayerListener > MAP::IGeoPointDataSourceListener MAPUtil::IEnumerable< GeoPoint * > MAPUtil::Broadcaster< ILayerListener >

List of all members.

Public Member Functions

 GeoPointLayer ()
virtual ~GeoPointLayer ()
virtual void draw (MapViewport *viewport, const Rect &bounds, MagnificationType magnification, bool isLayerSelected)
GeoPointDataSourcegetDataSource () const
void setDataSource (GeoPointDataSource *dataSource)
GeoPointLayerRenderergetRenderer () const
void setRenderer (GeoPointLayerRenderer *renderer)
void dataChanged (GeoPointDataSource *sender)
void loadComplete (GeoPointDataSource *sender)
int size ()
GeoPointgetItem (int index)
virtual void selectItem (int index)
virtual void selectNextItem ()
virtual void selectPreviousItem ()
virtual void activateSelectedItem ()
virtual void selectItemAtPixel (MapViewport *viewport, MagnificationType magnification, MAPoint2d screenPixel)
virtual void getBoundingBox (double &left, double &top, double &right, double &bottom)
virtual LonLat getSelectedItemLocation ()
const char * getTitle () const
void setTitle (const char *title)
void setEnabled (bool enabled)
bool getEnabled () const
void addListener (ILayerListener *listener)
void removeListener (ILayerListener *listener)
Vector< ILayerListener * > * getListeners ()
void addListener (IGeoPointLayerListener *listener)
void removeListener (IGeoPointLayerListener *listener)
Vector< IGeoPointLayerListener * > * getListeners ()

Protected Member Functions

virtual void onContentChanged ()

Detailed Description

Layer class for GeoPoint.


Constructor & Destructor Documentation

virtual MAP::GeoPointLayer::~GeoPointLayer ( ) [inline, virtual]

Member Function Documentation

virtual void MAP::GeoPointLayer::draw ( MapViewport viewport,
const Rect bounds,
MagnificationType  magnification,
bool  isLayerSelected 
) [virtual]

Implements MAP::Layer.

virtual void MAP::GeoPointLayer::selectItem ( int  index) [virtual]

Implements MAP::Layer.

virtual void MAP::GeoPointLayer::selectNextItem ( ) [virtual]

Implements MAP::Layer.

virtual void MAP::GeoPointLayer::selectPreviousItem ( ) [virtual]

Implements MAP::Layer.

virtual void MAP::GeoPointLayer::activateSelectedItem ( ) [virtual]

Implements MAP::Layer.

virtual void MAP::GeoPointLayer::selectItemAtPixel ( MapViewport viewport,
MagnificationType  magnification,
MAPoint2d  screenPixel 
) [virtual]
virtual void MAP::GeoPointLayer::getBoundingBox ( double &  left,
double &  top,
double &  right,
double &  bottom 
) [virtual]

Implements MAP::Layer.

const char* MAP::Layer::getTitle ( ) const [inline, inherited]
void MAP::Layer::setTitle ( const char *  title) [inline, inherited]
void MAP::Layer::setEnabled ( bool  enabled) [inherited]
bool MAP::Layer::getEnabled ( ) const [inline, inherited]
virtual void MAP::Layer::onContentChanged ( ) [protected, virtual, inherited]
void MAPUtil::Broadcaster< ILayerListener >::addListener ( ILayerListener *  listener) [inline, inherited]

Add a listener. Clients should call this to register for notification.

void MAPUtil::Broadcaster< ILayerListener >::removeListener ( ILayerListener *  listener) [inline, inherited]

Remove a listener. Clients should call this to unregister for notification.

void MAPUtil::Broadcaster< IGeoPointLayerListener >::addListener ( IGeoPointLayerListener *  listener) [inline, inherited]

Add a listener. Clients should call this to register for notification.

void MAPUtil::Broadcaster< IGeoPointLayerListener >::removeListener ( IGeoPointLayerListener *  listener) [inline, inherited]

Remove a listener. Clients should call this to unregister for notification.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines