Name

tabpane

Synopsis

LZX: tabpane
JavaScript: lz.tabpane
Type: Class
Access: public
Topic: Components.Laszlo Components
Declared in: lps/components/lz/tabs.lzx

Description

Tabpanes are children of the tabs component. Each tabpane has a corresponding tab. If width and height are not set, all tabpanes will resize themselves to largest tabpane or the width of the tabsbar, whichever is larger. The content of the tabpane is initstage late. You can override this value by setting initstage late on tabpane.

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basetabpane » tabpane

Known Subclasses

Details

Properties (2)

_keepchildren
<attribute name="_keepchildren" type="number" value="1" />
private var _keepchildren : Number;
Keep our background swatchview from getting swallowed into content. This number is used in the createChildren method and it determines how many are spliced from the beginning of the array.
tabwidth
<attribute name="tabwidth" type="number" value="-1" />
public var tabwidth : Number;
Width of the tab associated with this tabpane. If not set, the tab will resize itself to fit.

Methods (2)

_applystyle()
<method name="_applystyle" args="s" />
private function _applystyle(s);
init()
<method name="init" />
private function init();

LZX Synopsis

<class name="lz.tabpane" extends=" lz.basetabpane ">
  <attribute name=" _keepchildren " type="number" value="1" />
  <attribute name=" tabwidth " type="number" value="-1" />
  <method name=" _applystyle " args="s" />
  <method name=" init " />
</class>

JavaScript Synopsis

public lz.tabpane extends  lz.basetabpane  {
  private var _keepchildren  : Number;
  public var tabwidth  : Number;
  prototype private function _applystyle (s);
  prototype private function init ();
}