|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.gmaps.AbstractMapModel
public abstract class AbstractMapModel
A skeletal implementation for MapModel.
| Constructor Summary | |
|---|---|
AbstractMapModel()
|
|
| Method Summary | |
|---|---|
void |
addMapDataListener(MapDataListener listener)
Adds a listener to the Maps that's notified each time a change to the data model occurs. |
protected void |
fireEvent(int type,
java.util.Collection items)
Fires a MapDataEvent for all registered listener
(thru addMapDataListener(org.zkoss.gmaps.event.MapDataListener). |
void |
removeMapDataListener(MapDataListener listener)
Remove a listener from the list that's notified each time a change to the the data model occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zkoss.gmaps.MapModel |
|---|
clear, getItemsIn |
| Constructor Detail |
|---|
public AbstractMapModel()
| Method Detail |
|---|
protected void fireEvent(int type,
java.util.Collection items)
MapDataEvent for all registered listener
(thru addMapDataListener(org.zkoss.gmaps.event.MapDataListener).
Note: you can invoke this method only in an event listener.
type - the MapDataEvent typeitems - the items to be processedpublic void addMapDataListener(MapDataListener listener)
MapModel
addMapDataListener in interface MapModelpublic void removeMapDataListener(MapDataListener listener)
MapModel
removeMapDataListener in interface MapModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||