<OPTION> : Option

Java class : leon.view.LyOption

ROLE

An option represents a possible value in an input field of Choice type.
It can be represented by a check box (case of a multiple choice) or else by a radio button (case of a simple choice).

ATTRIBUTES

<!ATTLIST OPTION
	  id NMTOKEN #REQUIRED
	  template NMTOKEN #IMPLIED
	  label CDATA #REQUIRED
	  checked ( true | false) "false"
	  enabled ( true | false) "true"
	  overview CDATA #IMPLIED
	  image CDATA #IMPLIED
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED>
Attribute Mand. Description Default
id yes Identifier associated to the option.
It represents the internal value of the application that is associated to the option.
 
template no OPTION.template  
label yes Label of the option.  
checked no Indicates whether the box representing the option is selected or not. false
enabled no Indicates whether the box representing the option is enabled or not (true if enabled). true
overview no Overview label of the option.  
image no Image used to represent the option.  
font no OPTION.font  
color no OPTION.color  
fontColor no OPTION.fontColor  

SAMPLE

<OPTION id="4" label="major" checked="true" enabled="true" overview="major"/>