1.1.5. Graphics.xml

The configuration file graphics.xml describes graphics figures illustrating values of some FO parameters.

Structure of graphics.xml

<graphics xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1
  <figure name="page-format" class="cz.zcu.fav.kiv.editor.displays.PageFigure">2
    <parameter>page.orientation</parameter>3
    <parameter>page.width</parameter>
    <parameter>page.height</parameter>
  </figure>
</graphics>
1

Tag graphics is a root element and can occur in the file only once. It can contain unlimited number of figure tags.

2

Tag figure defines a figure illustrating values of parameters whose list it contains. Argument name specifies figure name and is used for joining the figure with parameter group in config.xml (argument graphics).

Argument class specifies a name of Java class that implements the figure. The class name must be defined by whole path including its package and the class must inherit from the parent class cz.zcu.fav.kiv.editor.displays.GraphicsFigure.

3

Tags parameter specify names of parameters whose values are displayed by the figure. Parameter values create input values for the figure. Parameter must be defined in config.xml.