<TAB> : Tab

Java class : leon.view.LyTab

ROLE

A tab belongs to a container of tab type.
It is identified by a name (label) and it allows displaying a panel.

ATTRIBUTES

<!ATTLIST TAB
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  label CDATA #IMPLIED
	  image CDATA #IMPLIED
	  enabled ( true | false) "true"
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the tab.  
template no TAB.template  
label no Name of the tab.  
image no Image of the tab.  
enabled no Indicates whether the tab is enabled or not. true
font no TAB.font  
color no Color of the tab.  
fontColor no TAB.fontColor  

ELEMENTS

<!ELEMENT TAB 
	  ((%PANEL;)?,
	   DATA*)>
Element Mand. Mult. Description
PANEL
no no Panel contained in the tab.
DATA no yes TAB.DATA

SAMPLE

<!-- Tab containing a tree -->
<TAB label="Tree">
	<TREE id="_tree">
		<TREE_NODE label="Racine" image="dir.gif (15,15)"/>
	</TREE>
</TAB>