<GAUGE> : Progress Bar

Java class : leon.view.LyGauge

ROLE

A progress bar is used to indicate to the end-user the progression of a process that takes a long time.

ATTRIBUTES

<!ATTLIST GAUGE
	  id NMTOKEN #REQUIRED
	  template NMTOKEN #IMPLIED
	  label CDATA #IMPLIED
	  controller CDATA #IMPLIED
	  nMin NMTOKEN #IMPLIED
	  nMax NMTOKEN #IMPLIED
	  nValue NMTOKEN #IMPLIED
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  progressColor CDATA #IMPLIED
	  fontColor CDATA #IMPLIED
	  nCols NMTOKEN #IMPLIED
	  nRows NMTOKEN #IMPLIED>
Attribute Mand. Description Default
id yes Identifier of the progress bar.  
template no GAUGE.template  
label no Label of the progress bar.  
controller no Reference of the controller that manages the progress bar (i.e. handles user demands and refresh content).  
nMin no Minimum value used for the progress bar.
The expected value is an integer value.
-1
nMax no Maximum value used for the progress bar.
The expected value is an integer value.
-1
nValue no Current value of the progress bar.
The expected value is an integer value.
If the value is lower than the minimum value, the minimum value is taken as the current value.
If the value is greater than the maximum value, the maximum value is taken as current value.
-1
font no GAUGE.font  
color no GAUGE.color  
progressColor no Color of the progress bar of the gauge.  
fontColor no GAUGE.fontColor  
nCols no Gives the width of the progress bar. -1
nRows no Gives the height of the progress bar. -1