Modifier and Type | Method and Description |
---|---|
void |
activate()
Should not be called directly.
|
Widget |
asWidget()
Every tab should be able to return itself as an instance of a widget class.
|
void |
deactivate()
Should not be called directly.
|
float |
getPriority()
A tab priority indicates where it should appear within the tab strip.
|
String |
getText()
Gets the text displayed on the tab.
|
void |
setTargetHistoryToken(String historyToken)
Sets the history token this tab links to.
|
void |
setText(String text)
Sets the text displayed on the tab.
|
void activate()
TabPanel.setActiveTab(Tab)
instead.Widget asWidget()
Widget
.void deactivate()
TabPanel.setActiveTab(Tab)
instead.float getPriority()
TabPanel
, a tab with low priority will
be placed more towards the left of the strip. Two tabs with the same
priority will be placed in an arbitrary order.String getText()
getText
in interface HasText
HasText.getText()
void setTargetHistoryToken(String historyToken)
historyToken
- The history token.void setText(String text)
setText
in interface HasText
text
- The text.HasText.setText(String)
Copyright © 2010–2014 Arcbees. All rights reserved.