Jaxe, your XML editor
Jaxe, your XML editor
Home pageSummaryPage for printing<-->

Display types

Author: Damien Guillaume
Type Description Display
division Two bars extending to the window's right side, clearly separating large areas in the document. images_types/division.png
area Two tags and carriage returns, to separate areas smaller than with division. images_types/zone.png
string Two tags to identify a small string, without any carriage return. images_types/string.png
empty A single tag, typically for an empty element. images_types/vide.png
table Spreadsheet style table display (with the Swing component JTable). Handy for tables of numbers, but does not allow the use of XML elements inside the cells (use text table to do that). images_types/tableau.png
text table Table display allowing the use of XML elements inside the cells. Also handles the rowspan and colspan attributes to gather cells vertically and horizontally. images_types/tabletexte.png
style For use in the case (very rare if the XML language encodes the meaning as opposed to the presentation) where an XML element only conveys a style information. Displays the characters in the chosen style (bold, italic, ...), without any tag. An alternative is to use the string type, which can also use a style, but displays the tags. images_types/style.png
file Displays an image based on its path on the disk coming from an attribute of the XML element (to be defined). It is possible to copy/paste images and Jaxe will automatically create the XML element and the image file on the disk, using the first element of type file. images_types/fichier.png
symbol Displays an image chosen within a set of images in an image folder. images_types/symbole.png
list For an element representing a bulleted or ordered list. The sub-element must use the item type. The tags are displayed as for area, with a '+' button to create new items. images_types/liste.png
item List item in a list displayed with the list type. Displayed with bullets or numbers, depending on the list type. images_types/item.png
simple type Displays an element having a simple value, in a small panel. Usable only for the elements with a simple type in the XML schema. The precise display (text field, menu or checkbox) and the validation are done based on the XML schema constraints. images_types/typesimple.png
equation Displays the image of an equation. The equation can be edited by a simple click on the image, with a dialog showing at the same time the text of the equation (using a very simple syntax specific to Jaxe) and the corresponding image. images_types/equation.png
form Displays an element and all its sub-elements as a form, with a field for each sub-element. Beware not to use this type with elements that could have an infinitely deep subtree ! images_types/formulaire.png
plugin If you want to define your own Jaxe element, it is possible ! See the section "Creation of new Jaxe elements" in the developer guide for more information.

Parameters can be specified for some display types, with the Parameter element under Element display.

Display types division and area can have a parameter specifying the name of the attribute to use as a title for the element display.

Display types file and symbol must have a parameter specifying the attribute with the file name.

Display types table and text table must have parameters specifying the elements for the rows and the cells.

Display types style must have a parameter specifying the style.

Display types area and string can have a parameter specifying the style, a parameter with the font family, and a parameter with the font size.

Display types equation must have parameters specifying the attributes to use for the equation text and the image filename.

Here is a list of all the parameters:

type parameter name description
division and area titreAtt attribute for the title
division, area, string and empty attributsVisibles displays all the attributes on the start tag (true|false)
table and text table trTag element for a line
table and text table tdTag element for a cell
table and text table thTag element for a header cell
text table colspanAttr attribute to merge columns
text table rowspanAttr attribute to merge rows
text table alignAttr attribute to align text
list typeListe type of list (POINTS|NUMEROS) (bulleted/ordered)
style, area and string style GRAS (bold) | ITALIQUE (italic) | EXPOSANT (superscript) | INDICE (subscript) | SOULIGNE (underlined) | BARRE (strikethrough)
area and string police font family
area and string taille font size
file and symbol srcAtt attribute with the file name
plugin classe Java class derived from JaxeElement
item image1 first bullet image
item image2 second bullet image
equation srcAtt attribute with the image filename
equation texteAtt attribute with the equation text
Previous pageNext page