<TREEMAP_CONFIGURATION> : Treemap configuration

Java class : leon.info.LyTreemapConfiguration

ROLE

This tag is used to specify a configuration for a treemap view. These configurations are usually created dynamically by the end-user of the application, they represent the current display options of a treemap view. Treemap configurations may have a name, in this case the user can apply a display preference by choosing one with its name. A treemap configuration can be associated to a user by its id. In this case, only the corresponding user will have access to this treemap configuration.

ATTRIBUTES

<!ATTLIST TREEMAP_CONFIGURATION
	  id ID #REQUIRED
	  idref IDREF #REQUIRED
	  name CDATA #REQUIRED
	  hierarchyFields CDATA #IMPLIED
	  hierarchyLevels NMTOKEN #IMPLIED
	  sizeField IDREF #IMPLIED
	  colorField IDREF #IMPLIED
	  aggregationType CDATA #IMPLIED
	  aggregationField IDREF #IMPLIED
	  filterActive ( true | false) "true"
	  filterShowAll ( true | false) "true"
	  minColor CDATA #IMPLIED
	  maxColor CDATA #IMPLIED
	  thresholdColors CDATA #IMPLIED
	  borderSizes CDATA #IMPLIED
	  labelStyles CDATA #IMPLIED
	  user CDATA #IMPLIED>
Attribute Mand. Description Default
id yes Id of the configuration.  
idref yes Id of the action for which this configuration was created.  
name yes Name of the configuration.  
hierarchyFields no Id of hierarchy fields.  
hierarchyLevels no Number of hierarchy levels.  
sizeField no Id of size field.  
colorField no Id of color field.  
aggregationType no Aggregation type. Supported aggregation types are:
- MINIMUM: minimum value,
- MAXIMUM: maximum value,
- AVERAGE: average value,
- BALANCED: balanced value.
 
aggregationField no Id of aggregation field.  
filterActive no Indicates whether filter is active or not. true
filterShowAll no Indicates whether filter is applied on data or colors. true
minColor no Resource corresponding to the minimum value.  
maxColor no Resource corresponding to the maximum value.  
thresholdColors no List of threshold colors.  
borderSizes no Border sizes.  
labelStyles no Label styles.  
user no Id of the end-user who the configuration is associated to.  

ELEMENTS

<!ELEMENT TREEMAP_CONFIGURATION 
	  (FILTER?,
	   EXTERN*)>
Element Mand. Mult. Description
FILTER no no Filter of the configuration.
EXTERN no yes Declaration of external entities used in the configuration definition or in the filter.

SAMPLE

<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE TREEMAP_CONFIGURATION SYSTEM 'leon/conf/dtd/leon.dtd'>

<TREEMAP_CONFIGURATION id='conf1'
		idref='treemap_alarm'
		hierarchyFields='alarm_value alarm_type alarm_class_obj'
		hierarchyLevels='4'
		sizeField='alarm_value'
		colorField='alarm_ide'
		aggregationField='alarm_value'
		aggregationType='BALANCED'
		filterActive='true'
		filterShowAll='true'
		minColor='SkyBlue2'
		maxColor='LavenderBlush2'
		name='Basic configuration'/>

	<FILTER>
		<EXP idref='alarm_probable_cause' condition='EQUALS'
			value='alarm_pb_cause.2'/>
		<EXP idref='alarm_probable_cause' condition='EQUALS'
			value='alarm_pb_cause.3'/>
	</FILTER>

	<EXTERN id='treemap_alarm'/>
	<EXTERN id='alarm_probable_cause'/>
	<EXTERN id='alarm_value'/>
	<EXTERN id='alarm_type'/>
	<EXTERN id='alarm_class_obj'/>
	<EXTERN id='alarm_ide'/>

</TREEMAP_CONFIGURATION>