Description
The base tab class. This class is to be used only in conjunction with
basetabs and basetabapane classes. You can pass the name of this class
in the 'tabclass' attribute of basetabpane, tabpane, basetabs, and
tabs classes. Basetabs uses this class as its default 'tabclass'.
Details
Properties (2)
-
tabpane
-
<attribute name="tabpane" type="expression" value="null" />
public read-only var tabpane : Object;
The tabpane associated with this tab.
-
text
-
<attribute name="text" type="text" value="${this.tabpane.text}" />
public read-only var text : String;
The name of this tab. This is constrained to the tabpane's
text.
Methods (5)
-
destroy()
-
<method name="destroy" />
private function destroy();
-
doSpaceUp()
-
<method name="doSpaceUp" />
private function doSpaceUp();
Used with keyboard navigation. Selects this tab with the space
bar.
-
init()
-
-
setSelected()
-
<method name="setSelected" args="s" />
public function setSelected(s : Boolean);
Selects and makes this tab's corresponding tabpane visible.
-
setText()
-
<method name="setText" args="t" />
private function setText(t);
Deprecated: this method is unused.
LZX Synopsis
<class name="
lz.basetab" extends="
lz.baselistitem
">
<attribute name="
tabpane
" type="
expression" value="
null" />
<attribute name="
text
" type="
text" value="
${this.tabpane.text}" />
<method name="
setText
" args="
t" />
</class>
JavaScript Synopsis
public
lz.basetab extends
lz.baselistitem
{
public read-only var
tabpane
:
Object;
public read-only var
text
:
String;
prototype private function
destroy
();
prototype private function
init
();
prototype private function
setText
(
t);
}