List of usage examples for com.google.gwt.maps.client InfoWindowContent InfoWindowContent
public InfoWindowContent(InfoWindowTab[] tabs, int selectedTab)
From source file:com.google.gwt.maps.sample.hellomaps.client.InfoWindowDemo.java
License:Apache License
private InfoWindowContent displayInfoWindowTabs() { InfoWindowTab tabs[] = new InfoWindowTab[2]; tabs[0] = new InfoWindowTab("Tab 1", "<h1>Tab 1 Content</h1>"); tabs[1] = new InfoWindowTab("Tab 2", "<h1>Tab 2 Content</h1>"); final InfoWindowContent content = new InfoWindowContent(tabs, 1); return content; }