<basetabsbar>
A non-visual container for basetab components.

JavaScript: lz.basetabsbar

A basetabsbar is a non-visual container class that uses a default x-axis <simplelayout> to lay out its <basetab> children. basetabsbar is contained in a <basetabs> component.

Example 41. custom basetabsbar

<canvas height="75">
              <include href="base"/>
            
              <class name="aquatab" extends="basetab" width="40" height="20" bgcolor="aqua">
                <text>tab</text>
              </class>
            
              <class name="spacetabsbar" extends="basetabsbar" bgcolor="black" layout="class: simplelayout; axis: x; spacing: 4">
              </class>
            
              <basetabs x="10" y="10" tabclass="aquatab" barclass="spacetabsbar">
                <basetabpane>
                  <text>one</text>
                </basetabpane>
                <basetabpane>
                  <text>two</text>
                </basetabpane>
                <basetabpane>
                  <text>three</text>
                </basetabpane>
              </basetabs>
            </canvas>

See Also:

This class is a container for basetab items. It must be a child of basetabs. The default layout for its subviews is "class: simplelayout; axis: x; spacing: 0". You can pass the name of this class in the 'barclass' attribute of tabpane, basetabpane, basetabs, and tabs. Basetabs uses this class as its default 'barclass'.

Attributes inherited from <basevaluecomponent>

type, value

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <baselist>

onitemclassname, onselect

Events inherited from <baseformitem>

onchanged, onvalue

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy