<LABEL> : Input Field of Label Type

Java class : leon.view.LyLabel

ROLE

An input field of label type allows displaying a simple, non-editable label inside a form.
It is used in the consultation forms to show different types of fields (date, number, choice, etc.). It can be made up of one or several lines. It does not comprise any element.

ATTRIBUTES

<!ATTLIST LABEL
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  label CDATA #IMPLIED
	  image CDATA #IMPLIED
	  hAlign ( LEFT | CENTER | RIGHT) "LEFT"
	  bean CDATA #IMPLIED
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED
	  highlightColor CDATA #IMPLIED
	  nCols NMTOKEN #IMPLIED
	  nRows NMTOKEN #IMPLIED>
Attribute Mand. Description Default
id no LABEL.id  
template no LABEL.template  
label no Text of the label.  
image no Image of the label.  
hAlign no Horizontal alignment of the label. LEFT
bean no Allows specifying the name of a Java class that replaces the default graphical component.  
font no Font of the label.  
color no LABEL.color  
fontColor no LABEL.fontColor  
highlightColor no LABEL.highlightColor  
nCols no Gives the height (number of columns) on which the label is shown (given in number of characters). -1
nRows no Gives the width (number of rows) on which the label is shown (given in number of characters). -1

SAMPLE

<LABEL label="The user's name" hAlign="CENTER" 	bean="monpackage.monLabel"/>