TTabView represents a view in a {@link TTabPanel} control.
The content in a TTabView can be specified by the {@link setText Text} property
or its child controls. In template syntax, the latter means enclosing the content
within the TTabView component element. If both are set, {@link getText Text} takes precedence.
Each TTabView is associated with a tab in the tab bar of the TTabPanel control.
The tab caption is specified by {@link setCaption Caption}. If {@link setNavigateUrl NavigateUrl}
is set, the tab will contain a hyperlink pointing to the specified URL. In this case,
clicking on the tab will redirect the browser to the specified URL.
TTabView may be toggled between visible (active) and invisible (inactive) by
setting the {@link setActive Active} property.
getText()
публичный Метод
public getText ( ) : string |
Результат |
string |
the text content displayed on this view. Defaults to ''. |
renderContents()
публичный Метод
Renders body contents of the tab view.
renderTabContent()
защищенный Метод
By default, a hyperlink is displayed.
setText()
публичный Метод
If this is not empty, the child content of the view will be ignored.