|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wicketstuff.gmap.api.GOverlay
public abstract class GOverlay
Represents an Google Maps API's GOverlay.
| Constructor Summary | |
|---|---|
GOverlay()
Construct. |
|
GOverlay(String id)
Used in stateless environment as session id's are changing continuously without state. |
|
| Method Summary | |
|---|---|
GOverlay |
addFunctionListener(GEvent event,
String jsFunction)
Add a none Ajax Event. |
GOverlay |
addListener(GEvent event,
GEventHandler handler)
|
GOverlay |
clearListeners(GEvent event)
Clear listeners. |
Map<GEvent,String> |
getFunctionListeners()
Return all registered Listeners. |
String |
getId()
|
String |
getJS()
|
abstract String |
getJSconstructor()
Implement the needed JavaScript constructor for the corresponding JavaScript object. |
String |
getJSremove()
|
Map<GEvent,GEventHandler> |
getListeners()
Return all registered Listeners. |
protected Page |
getPage()
|
GMap |
getParent()
|
void |
onEvent(AjaxRequestTarget target,
GEvent overlayEvent)
Called when an Ajax call occurs. |
void |
setParent(GMap parent)
|
protected abstract void |
updateOnAjaxCall(AjaxRequestTarget target,
GEvent overlayEvent)
Implement to handle Ajax calls to your needs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GOverlay()
public GOverlay(String id)
| Method Detail |
|---|
public String getJS()
public String getJSremove()
public String getId()
public abstract String getJSconstructor()
public GMap getParent()
protected Page getPage()
public void setParent(GMap parent)
public GOverlay addListener(GEvent event,
GEventHandler handler)
public GOverlay addFunctionListener(GEvent event,
String jsFunction)
public Map<GEvent,GEventHandler> getListeners()
public Map<GEvent,String> getFunctionListeners()
public GOverlay clearListeners(GEvent event)
event - event to be cleared.
public void onEvent(AjaxRequestTarget target,
GEvent overlayEvent)
target - overlayEvent -
protected abstract void updateOnAjaxCall(AjaxRequestTarget target,
GEvent overlayEvent)
target - overlayEvent -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||