Name

basetab

Synopsis

LZX: basetab
JavaScript: 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

Known Direct Subclasses: tab

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 (1)

setSelected()
<method name="setSelected" args="s" />
public function setSelected(s : Boolean);
Selects and makes this tab's corresponding tabpane visible.

LZX Synopsis

<class name="basetab" extends=" baselistitem ">
  <attribute name=" tabpane " type="expression" value="null" />
  <attribute name=" text " type="text" value="${this.tabpane.text}" />
  <method name=" setSelected " args="s" />
</class>

JavaScript Synopsis

public basetab extends  baselistitem  {
  public read-only var tabpane  : Object;
  public read-only var text  : String;
  prototype public function setSelected (s : Boolean);
}