Name

basetab

Synopsis

LZX: basetab
JavaScript: lz.basetab
Type: Class
Access: public
Topic: Components.Base Components
Declared in: lps/components/base/basetabs.lzx

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'.

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basevaluecomponent » baselistitem » basetab

Known Subclasses

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()
<method name="init" />
private function 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=" destroy " />
  <method name=" doSpaceUp " />
  <method name=" init " />
  <method name=" setSelected " args="s" />
  <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 doSpaceUp ();
  prototype private function init ();
  prototype public function setSelected (s : Boolean);
  prototype private function setText (t);
}