<CAPTION> : Legend

Java class : leon.view.LyCaption

ROLE

legend allows assigning to an input field a text area that will be displayed with the field.
The text of the legend is eventually followed by a colon (':').

ATTRIBUTES

<!ATTLIST CAPTION
	  id NMTOKEN #IMPLIED
	  template NMTOKEN #IMPLIED
	  label CDATA #IMPLIED
	  colon ( true | false) "true"
	  enabled ( true | false) "true"
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no CAPTION.id  
template no CAPTION.template  
label no Text of the legend.  
colon no Indicates whether the text of the legend should be followed by a colon or not. true
enabled no Indicates whether the legend is enabled or not. true
font no CAPTION.font  
color no CAPTION.color  
fontColor no CAPTION.fontColor  

ELEMENTS

<!ELEMENT CAPTION 
	  (CONSTRAINT?)>
Element Mand. Mult. Description
CONSTRAINT no no Positioning constraint of the caption.

SAMPLE

<CAPTION label="Name" colon="true"/>

<CAPTION label="Formatted text" colon="false"/>