<MESSAGES> : Message bar

Java class : leon.view.LyMessages

ROLE

A message bar can be used in a main window to provide the user with information about the displayed data (number of objects, printing in progress...).

ATTRIBUTES

<!ATTLIST MESSAGES
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  border ( NONE | SOLID | RAISED | LOWERED | IN | OUT) "LOWERED"
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the message bar.  
template no MESSAGES.template  
border no Style of the border used for the message bar. The following borders are supported:
NONE No border.
SOLID Solid border.
RAISED Border having the appearance of a raised 3D button.
LOWERED Border having the appearance of a lowered 3D button.
IN Border having a 3D lowered appearance.
OUT Border having a 3D raised appearance.
LOWERED
font no MESSAGES.font  
color no MESSAGES.color  
fontColor no MESSAGES.fontColor  

ELEMENTS

<!ELEMENT MESSAGES 
	  ((MESSAGE | SEP)*,
	   CONSTRAINT?)>
Element Mand. Mult. Description
MESSAGE yes no Messages contained in the message bar.
SEP yes no Separator used to organize messages within the message bar.
CONSTRAINT no no Positioning constraint of the message bar.

SAMPLE

<MESSAGES border="OUT">
	<MESSAGE label="9 objects (none is selected)" size="10"/>
	<MESSAGE label="No filter" image="LY_UNACTIVE_FILTER"/>
	<SEP/>
	<MESSAGE image="LY_ACTION_PRINT" size="2"/>
</MESSAGES>