com.lamatek.tags.google
Class GoogleMapEventTag

java.lang.Object
  extended by TagSupport
      extended by com.lamatek.tags.google.GoogleMapEventTag
All Implemented Interfaces:
java.io.Serializable

public class GoogleMapEventTag
extends TagSupport
implements java.io.Serializable

GoogleMapEventTag This class represents a <googlemaps:event> tag. Developers should not override this class.

Version:
0.40
Author:
Tom Cole

Constructor Summary
GoogleMapEventTag()
           
 
Method Summary
 int doStartTag()
          Overrides doStartTag() from TagSupport.
 java.lang.String getAction()
          Returns the action name that this event handles.
 java.lang.String getUrl()
          Returns a url pointing to the Object that is responsible for handling this event.
 boolean isAsynchronous()
          Denotes whether or not this event is to be handled asynchronously (through a GXmlHttp object) or synchronously (through a standard HTTP request.
 void setAction(java.lang.String action)
          Sets the action name that this event handles.
 void setAsynchronous(boolean asynchronous)
          Sets whether or not this event is to be handled asynchronously (through a GXmlHttp object) or synchronously (through a standard HTTP request.
 void setUrl(java.lang.String url)
          Sets the url to the Object responsible for handling this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapEventTag

public GoogleMapEventTag()
Method Detail

doStartTag

public int doStartTag()
Overrides doStartTag() from TagSupport. Developers should not override this method.


getUrl

public java.lang.String getUrl()
Returns a url pointing to the Object that is responsible for handling this event.

Returns:
A URL string.

setUrl

public void setUrl(java.lang.String url)
Sets the url to the Object responsible for handling this event. The Object this url points to should implement the GoogleMapEventHandler interface.

Parameters:
url - The url that points to a GoogleMapEventHandler.

getAction

public java.lang.String getAction()
Returns the action name that this event handles. Options vary depending on the component this is added to. The complete list is:

Returns:
The action name for this event.

setAction

public void setAction(java.lang.String action)
Sets the action name that this event handles. Options vary depending on the component this is added to. The complete list is:


isAsynchronous

public boolean isAsynchronous()
Denotes whether or not this event is to be handled asynchronously (through a GXmlHttp object) or synchronously (through a standard HTTP request. Asynchronous events do not affect or update the page, they simply send data to the GoogleMapEventHandler that is referred to by this event's url. This default behaviour is handled by the GoogleMapEventHandler if is has been subclassed properly. These are data only events. Synchronous events will reload the page, allowing the developer to add or remove markers, events, etc. before the map is re-rendered. These are for dynamic additions/subtractions from a map.


setAsynchronous

public void setAsynchronous(boolean asynchronous)
Sets whether or not this event is to be handled asynchronously (through a GXmlHttp object) or synchronously (through a standard HTTP request. Asynchronous events do not affect or update the page, they simply send data to the GoogleMapEventHandler that is referred to by this event's url. This default behaviour is handled by the GoogleMapEventHandler if is has been subclassed properly. These are data only events. Synchronous events will reload the page, allowing the developer to add or remove markers, events, etc. before the map is re-rendered. These are for dynamic additions/subtractions from a map.

Parameters:
asynchronous - True if this event is asynchronous, false if it is not.