Description
The default tab used by tabsbar. This class isn't meant to be used
standalone. You can pass the name of this class in the 'tabclass'
attribute of basetabpane, tabpane, basetabs, and tabs classes. Tabs
uses this class as its default 'tabclass'.
Details
Properties (5)
-
MIN_TEXT_BORDER
-
<attribute name="MIN_TEXT_BORDER" type="number" value="2" />
private var MIN_TEXT_BORDER : Number;
-
padding
-
<attribute name="padding" value="20" />
Text padding. Default is 20.
-
tabstate
-
<attribute name="tabstate" type="number" value="2" />
private var tabstate : Number;
-
titleshift
-
<attribute name="titleshift" type="number" value="${this.tabstate == 4 ? 4 : 0}" />
private var titleshift : Number;
-
width
-
<attribute name="width" value="${tabview.labeltext.getTextWidth() + 2*padding}" />
Methods (4)
-
_applystyle()
-
<method name="_applystyle" args="s" />
private function _applystyle(s);
-
setHilite()
-
<method name="setHilite" args="dohilite" />
private function setHilite(dohilite);
-
setSelected()
-
<method name="setSelected" args="s" />
private function setSelected(s);
-
_showEnabled()
-
<method name="_showEnabled" />
private function _showEnabled();
LZX Synopsis
<class name="
lz.tab" extends="
lz.basetab
">
<attribute name="
padding
" value="
20" />
<attribute name="
tabstate
" type="
number" value="
2" />
<attribute name="
titleshift
" type="
number" value="
${this.tabstate == 4 ? 4 : 0}" />
<attribute name="
width
" value="
${tabview.labeltext.getTextWidth() + 2*padding}" />
<method name="
setHilite
" args="
dohilite" />
</class>