Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 3 Nächste Version anzeigen »

To adapt a generically produced user interface to different needs, the produced representation types need to be declared in parameters. For more details see Chapter Representation types in the guide JAXFront Concepts. For this purpose, the entire visualization tree of a XML schema has been transferred into a more user friendly format.

This format has the following characteristics:

  • Simple to understand
  • As expandable as possible, because the parameters for the more exact specification of graphic elements are very extensive

The produced specification is kept as abstract as possible, independent of a certain output format or a programming language. A particular GUI specification language may be sketched for every output format that can be produced. However, the following concept concentrates on the production of Java Swing user interfaces. For this kind of GUI specification, XML is best suited, because it is.

  • Readable
  • Expandable
  • Easily changed with multiple XML editors (such as the JAXFront generic layout rendering engine).

An XML schema was produced for the definition of a GUI specification language, eXtensible User Interface (XUI). This schema describes how to parameterize each representation type. An XUI description is always written for a certain XML instance (Instance), or for the quantity of all XML instances that belong together (in regards to one of XML schema).
Note: This XML instance can be processed by the rendering engine only if it has a valid reference to an XML schema.
Both the XML schema referred by an XML instance and the schema for the GUI descriptions (XUIs) are written in the XML schema language, standardized by the W3C (World Wide Web Consortium). Thus, they are instances of the official W3C schema specification.



Figure 1: Addressing XML-nodes in XUI
Parts or sub-ranges of the XML instance are addressed with XPath Path expressions can be formulated with XPath, which localize parts of an XML document. and enriched with layout and rule specific definitions. The possibilities for this GUI refinement are described in an XML schema. Thus, the XUI pattern represents all possible adaptations of the graphical interface.

  • Keine Stichwörter