<TABS> : Tabs list

Java class : leon.view.LyTabs

ROLE

A container of tab type allows displaying different panels in the same graphical area, only one panel being visible at once.
Each panel is actually contained in a tab, the container being made up of a set of tabs.
The displaying that corresponds to a container of tab type must present two areas: a first one that shows names of the different tabs and a second one that allows displaying the panels.

ATTRIBUTES

<!ATTLIST TABS
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  selectedTab CDATA #IMPLIED
	  closable ( true | false) "false"
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED
	  selectedColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no TABS.id  
template no TABS.template  
selectedTab no Identifier of the selected tab.  
closable no Indicates whether tabs are closable or not. false
font no TABS.font  
color no TABS.color  
fontColor no TABS.fontColor  
selectedColor no Color of the selected tab.  

ELEMENTS

<!ELEMENT TABS 
	  (TAB*,
	   CONSTRAINT?,
	   DATA*)>
Element Mand. Mult. Description
TAB no yes List of tabs.
CONSTRAINT no no Positioning constraint of the tabs list.
DATA no yes TABS.DATA

SAMPLE

<!-- Tabs -->
<TABS>
	<!-- First tab: contains a form -->
	<TAB label="Form">
		<FORM id="_form">
		<!--	Content of the form -->
		</FORM>
	</TAB>
	<!-- Second tab: contains a tree -->
	<TAB label="Tree">
		<TREE id="_tree">
		<!-- Content of the tree -->
		</TREE>
	</TAB>
	<TAB label="Map">
		<MAP id="_map">
		<!-- Content of the map -->
		</MAP>
	</TAB>
</TABS>