<CONTROL> : Control

Java class : leon.info.LyControl

ROLE

This element defines a control on the data.

ATTRIBUTES

<!ATTLIST CONTROL
	  id ID #IMPLIED
	  javaName CDATA #REQUIRED
	  level ( CLASS | INSTANCE) "CLASS"
	  priority NMTOKEN #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the control.  
javaName yes Java class implementing the control. This class must respect an interface depending on the control level:
- field level (leon.data.datainterface.LyFieldInfoControl interface),
- class level (leon.data.datainterface.LyClassControl interface)
- form level (leon.data.datainterface.LyFormControl interface).
 
level no Indicates whether the control is created at the class level (CLASS) or for each instance (INSTANCE). CLASS
priority no Integer defining the control priority. A control is launched only if its priority is lower than the one of the application. The application priority is defined programatically defined by the getPriorityLevel method of the leon.app.behavior.LyApplicationBehavior class associated with the application. The default priority level is 0.  

ELEMENTS

<!ELEMENT CONTROL 
	  (ARG*)>
Element Mand. Mult. Description
ARG no yes Control argument.