public class TabPanelEntry extends Object implements org.gwtbootstrap3.client.ui.base.HasActive
TabPanelWithDropdowns
. Keeps track of the current title, the tab widget (which could
be one of two different types depending on whether the entry is at top-level tab or nested in a dropdown tab), and
the associated content widget.Modifier and Type | Class and Description |
---|---|
static class |
TabPanelEntry.DropDownTabListItem
Represents the tab widget that lives in the tab bar or under a dropdown tab.
|
Constructor and Description |
---|
TabPanelEntry(String title,
com.google.gwt.user.client.ui.Widget contents) |
Modifier and Type | Method and Description |
---|---|
org.gwtbootstrap3.client.ui.TabPane |
getContentPane()
Returns the intermediate container that holds the real contents.
|
com.google.gwt.user.client.ui.Widget |
getContents() |
TabPanelEntry.DropDownTabListItem |
getTabWidget() |
String |
getTitle() |
boolean |
isActive()
Returns true if this tab panel entry believes it's currently the active (displayed) tab in its tab panel.
|
void |
setActive(boolean b)
Sets or clears the active state on this tab.
|
void |
setInDropdown(boolean inDropdown) |
void |
setTitle(String title) |
void |
showTab()
Makes this tab show itself and become the active tab, replacing whatever tab was previously active.
|
String |
toString() |
public TabPanelEntry(String title, com.google.gwt.user.client.ui.Widget contents)
public TabPanelEntry.DropDownTabListItem getTabWidget()
public com.google.gwt.user.client.ui.Widget getContents()
public org.gwtbootstrap3.client.ui.TabPane getContentPane()
public String getTitle()
public void setTitle(String title)
public void setInDropdown(boolean inDropdown)
public boolean isActive()
isActive
in interface org.gwtbootstrap3.client.ui.base.HasActive
public void setActive(boolean b)
setActive
in interface org.gwtbootstrap3.client.ui.base.HasActive
public void showTab()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.