com.lamatek.tags.google
Class GoogleMapDivTag

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

public class GoogleMapDivTag
extends TagSupport
implements java.io.Serializable

GoogleMapDivTag This tag generates the <div> component that represents the physical map in the JSP page. Developers should not override this class.

Version:
0.40
Author:
Tom Cole

Constructor Summary
GoogleMapDivTag()
           
 
Method Summary
 int doEndTag()
          Overrides doStartTag() from TagSupport.
 java.lang.String getCss_class()
          This method returns the CSS class used to render this <div>.
 java.lang.String getId()
          Returns the id of the <googlemaps:map> tag that this <div> renders.
 java.lang.String getStyle()
          Returns the currently defined CSS style string for this <div> tag.
 void setCss_class(java.lang.String css_class)
          Sets the CSS class to be used when rendering this <div> tag.
 void setId(java.lang.String id)
          Sets the id of the map that this <div> tag represents.
 void setScope(java.lang.String scope)
          Sets the scope where this <div> should look for it's <googlemaps:map>.
 void setStyle(java.lang.String style)
          Sets the CSS style string to use when rendering this <div> tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapDivTag

public GoogleMapDivTag()
Method Detail

doEndTag

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


setId

public void setId(java.lang.String id)
Sets the id of the map that this <div> tag represents.

Parameters:
id - The id of a <googlemaps:map> tag.

getCss_class

public java.lang.String getCss_class()
This method returns the CSS class used to render this <div>.

Returns:
The css style currently defined.

setCss_class

public void setCss_class(java.lang.String css_class)
Sets the CSS class to be used when rendering this <div> tag.

Parameters:
css_class - The CSS classname to use.

getStyle

public java.lang.String getStyle()
Returns the currently defined CSS style string for this <div> tag.

Returns:
A CSS style string.

setStyle

public void setStyle(java.lang.String style)
Sets the CSS style string to use when rendering this <div> tag.

Parameters:
style - A valid CSS style string.

getId

public java.lang.String getId()
Returns the id of the <googlemaps:map> tag that this <div> renders.

Returns:
A <googlemaps:map> tag id.

setScope

public void setScope(java.lang.String scope)
Sets the scope where this <div> should look for it's <googlemaps:map>. Valid values are "site" for session or "page" for pageContext.

Parameters:
scope - A string (site OR page) that denotes session or pageContext.