The <tabs> Tag

The <tabs> tag creates a tabbed pane, consisting of a number of stacked panels, one of which is visible at any one time. Panels are made visible by clicking the associated tab at the top of the tabbed pane.

Parameters

See common parameters .

Contents

The tabstag contains a collection of <tab> tags. Each <tab> tag contains the single component that will be displayed in that tab. A tab tag has the following parameters:

Name Description Legal Values Default
name

The name that appears on the tab. This attribute may contain backtick expressions .

Any string

none

selected

Whether or not this tab should be selected initially. If no tab is marked selected, the first tab will be selected. If multiple tabs are marked selected, the marked tab will be selected. This attribute may contain backtick expressions .

true

false

false

Example

<xmllayout>
   <tabs>
      <tab name="Ontology">
         <component id="DAG" width="300"/>
      </tab>
      <tab name="Text Editor">
         <component id="TEXTEDIT" width="320"/>
      </tab>
      <tab name="Search">
         <component id="FIND" width="320"/>
      </tab>
   </tabs>
</xmllayout>