<TITLEBAR> : Title bar

Java class : leon.view.LyTitleBar

ROLE

A title bar allows displaying a colored horizontal bar containing images and texts.
The text comprises three independent parts and each one of them is optional: a left, a central and a right part.
The color of the title bar is defined in the resources of the application.

ATTRIBUTES

<!ATTLIST TITLEBAR
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  image CDATA #IMPLIED
	  imageToolTip CDATA #IMPLIED
	  imageSensitive ( true | false) "false"
	  rightImage CDATA #IMPLIED
	  rightImageToolTip CDATA #IMPLIED
	  leftLabel CDATA #IMPLIED
	  centerLabel CDATA #IMPLIED
	  rightLabel CDATA #IMPLIED
	  rightLabelSensitive ( true | false) "false"
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the title bar.  
template no TITLEBAR.template  
image no Image of the title bar.  
imageToolTip no Text of the tooltip over the image  
imageSensitive no Indicates whether the image displayed in the title bar is sensitive or not. false
rightImage no Right image of the title bar.  
rightImageToolTip no Text of the tooltip over the image on the right  
leftLabel no Left label of the title bar.  
centerLabel no Central label of the title bar.  
rightLabel no Right label of the title bar.  
rightLabelSensitive no Indicates whether the label on the right is sensitive or not (presented as an hyperlink). false
font no TITLEBAR.font  
color no TITLEBAR.color  
fontColor no TITLEBAR.fontColor  

ELEMENTS

<!ELEMENT TITLEBAR 
	  (TOOLBAR?,
	   CONSTRAINT?)>
Element Mand. Mult. Description
TOOLBAR no no Toolbar displayed on the right of the title bar.
CONSTRAINT no no Positioning constraint of the title bar.

SAMPLE

<!-- Title bar with an image, a text on the right and one on the left -->
<TITLEBAR image="logo.png" rightImage="logo.png" leftLabel="Left label"
	rightLabel="Right label"/>