com.lamatek.tags.google
Class GoogleMapInfoWindowTabbedTag

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

public class GoogleMapInfoWindowTabbedTag
extends BodyTagSupport
implements java.io.Serializable, InfoWindow

GoogleMapInfoWindowTabbedTag This tag represents a <googlemaps:tabbedInfoWindow> tag. It is like an info window, but can display multiple panels of information through use of a tabbed interface. Developers should not extend this class or override it's methods.

Version:
0.87
Author:
Tom Cole

Constructor Summary
GoogleMapInfoWindowTabbedTag()
           
 
Method Summary
 void addTab(GoogleMapTabTag tab)
          Adds a tab to this tabbed info window.
 int doEndTag()
          Overrides doEndTag from BodyTagSupport.
 int doStartTag()
          Overrides doStartTag from BodyTagSupport.
 java.lang.String getCss_class()
          Gets the css class attribute for this window's content.
 java.lang.String getStyle()
          Gets the css style attribute for this window's content.
 GoogleMapTabTag getTab(int i)
          Returns the tab that is stored at the given location.
 int getTabCount()
          Returns the number of tabs that have been added to this tabbed info window.
 boolean isDisplay()
          Denotes whether or not this info window should be displayed as soon as the map is loaded.
 boolean isTabbed()
          Inherited from the InfoWindow interface.
 void setCss_class(java.lang.String css_class)
          Sets the css style attribute for this window's content.
 void setDisplay(boolean display)
          Sets whether or not this info window should be displayed as soon as the map is loaded.
 void setStyle(java.lang.String style)
          Sets the css style attribute for this window's content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleMapInfoWindowTabbedTag

public GoogleMapInfoWindowTabbedTag()
Method Detail

doStartTag

public int doStartTag()
Overrides doStartTag from BodyTagSupport.


doEndTag

public int doEndTag()
Overrides doEndTag from BodyTagSupport.


addTab

public void addTab(GoogleMapTabTag tab)
Adds a tab to this tabbed info window.

Parameters:
tab - An initialized GoogleMapTabTag

getTabCount

public int getTabCount()
Returns the number of tabs that have been added to this tabbed info window.

Returns:
The number of tabs in this info window.

getTab

public GoogleMapTabTag getTab(int i)
Returns the tab that is stored at the given location.

Returns:
A GoogleMapTabTag or null of none exists at the specified location.

isTabbed

public boolean isTabbed()
Inherited from the InfoWindow interface. Denotes this as a tabbed info window.

Specified by:
isTabbed in interface InfoWindow
Returns:
true.

isDisplay

public boolean isDisplay()
Denotes whether or not this info window should be displayed as soon as the map is loaded. If set to false, the user will need to click the marker to display the tabbed info window.

Returns:
True or false.

setDisplay

public void setDisplay(boolean display)
Sets whether or not this info window should be displayed as soon as the map is loaded. If set to false, the user will need to click the marker to display the tabbed info window.

Parameters:
display - True or false.

getStyle

public java.lang.String getStyle()
Gets the css style attribute for this window's content.

Returns:
The CSS style attribute(s)

setStyle

public void setStyle(java.lang.String style)
Sets the css style attribute for this window's content.

Parameters:
style - CSS style attribute(s)

getCss_class

public java.lang.String getCss_class()
Gets the css class attribute for this window's content.

Returns:
The CSS class attribute(s)

setCss_class

public void setCss_class(java.lang.String css_class)
Sets the css style attribute for this window's content.

Parameters:
style - CSS style attribute(s)