com.mapitz.gwt.googleMaps.client
Class GInfoWindowTab

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.mapitz.gwt.googleMaps.client.GInfoWindowTab

public class GInfoWindowTab
extends com.google.gwt.core.client.JavaScriptObject

An array of instances of this class can be passed as the tabs argument to the methods GMap2.openInfoWindowTabs(), GMap2.openInfoWindowTabsHtml(), GMarker.openInfoWindowTabs(), and GMarker.openInfoWindowTabsHtml(). If the array contains more than one element, the info window will be shown with tabs. Every InfoWindowTab object contains two items: content defines the content of the info window when the tab is selected, and label defines the label of the tab. The properties are passed as arguments to the constructor. For the openInfoWindowTabs() methods, content is a DOM Node. For the methods openInfoWindowTabsHtml(), content is a string that contains HTML text.

Author:
aglaforge

Method Summary
static GInfoWindowTab create(java.lang.String label, com.google.gwt.user.client.Element content)
           
static GInfoWindowTab create(java.lang.String label, java.lang.String content)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static GInfoWindowTab create(java.lang.String label,
                                    java.lang.String content)

create

public static GInfoWindowTab create(java.lang.String label,
                                    com.google.gwt.user.client.Element content)