<NOTICE> : Information Panel

Java class : leon.view.LyNotice

ROLE

An information panel allows displaying an insert having an informative purpose.
It is possible to assign an icon, a label and a progress bar to an information panel.

ATTRIBUTES

<!ATTLIST NOTICE
	  id NMTOKEN #REQUIRED
	  template NMTOKEN #IMPLIED
	  controller CDATA #IMPLIED
	  nCols NMTOKEN #IMPLIED
	  nRows NMTOKEN #IMPLIED
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED
	  style ( STANDARD | STICKER) "STANDARD">
Attribute Mand. Description Default
id yes Identifier of the information panel.  
template no NOTICE.template  
controller no Reference of the controller that manages the notice panel (i.e. handles user demands and refresh content).  
nCols no Number of columns used to display the label. -1
nRows no Number of rows used to display the label. -1
font no NOTICE.font  
color no NOTICE.color  
fontColor no NOTICE.fontColor  
style no Style of the notice.
The following styles are managed:
STANDARD Standard notice.
STICKER Notice is displayed as a sticker.
STANDARD

ELEMENTS

<!ELEMENT NOTICE 
	  (ICON?,
	   LABEL?,
	   GAUGE?,
	   CONSTRAINT?,
	   DATA*)>
Element Mand. Mult. Description
ICON no no Icon
associated to the information panel.
LABEL no no Label associated to the information panel.
GAUGE no no Progress bar associated to the information panel.
CONSTRAINT no no Positioning constraint of the notice panel.
DATA no yes NOTICE.DATA

SAMPLE

<NOTICE id="notice1">
	<ICON label="DEMO_NOTICE" image="DEMO_WAIT"/>
	<LABEL label="DEMO_NOTICE_LABEL" hAlign="CENTER"/>
	<GAUGE id="gauge1" label="DEMO_GAUGE" nMin="0" nMax="100" nValue="55"/>
</NOTICE>