com.lamatek.tags.google
Class GoogleMapTabTag

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

public class GoogleMapTabTag
extends BodyTagSupport
implements java.io.Serializable

GoogleMapTabTag This tag represents a <googlemaps:tab> tag, which is a child to <googlemaps:tabbedInfoWindow> tag. Developers should not extend this class or override it's methods.

Version:
0.87
Author:
Tom Cole

Constructor Summary
GoogleMapTabTag()
           
 
Method Summary
 int doEndTag()
          Overrides doEndTag from BodyTagSupport.
 int doStartTag()
          Overrides doStartTag() from BodyTagSupport.
 java.lang.String getContent()
          Returns the displayable contents of this tab.
 java.lang.String getLabel()
          Returns the label for this tab.
 boolean isHtml()
          Denotes whether or not the contents of this tag are html and therefore need to be escaped.
 void setContent(java.lang.String content)
          Sets the displayable contents of this tab.
 void setHtml(boolean html)
          Sets whether or not the contents of this tag are html and therefore need to be escaped.
 void setLabel(java.lang.String label)
          Sets the label for this tab.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapTabTag

public GoogleMapTabTag()
Method Detail

doStartTag

public int doStartTag()
Overrides doStartTag() from BodyTagSupport.


doEndTag

public int doEndTag()
Overrides doEndTag from BodyTagSupport.


getLabel

public java.lang.String getLabel()
Returns the label for this tab. The label is the clickable text that is displayed on a tab to show it's contents.

Returns:
The label for this tab.

setLabel

public void setLabel(java.lang.String label)
Sets the label for this tab. The label is the clickable text that is displayed on a tab to show it's contents.

Parameters:
label - The label for this tab.

getContent

public java.lang.String getContent()
Returns the displayable contents of this tab. This can be HTML or plain text. These contents are displayed when this tab is clicked.

Returns:
The contents of this tab.

setContent

public void setContent(java.lang.String content)
Sets the displayable contents of this tab. This can be HTML or plain text. These contents will be displayed when this tab is clicked. If this is set, the content between the starting tag and ending tag will be ignored.

Parameters:
content - The contents of this tab.

isHtml

public boolean isHtml()
Denotes whether or not the contents of this tag are html and therefore need to be escaped.

Returns:
True or false.

setHtml

public void setHtml(boolean html)
Sets whether or not the contents of this tag are html and therefore need to be escaped.

Parameters:
html - True if content needs to be escaped, false if not.