11. Base Classes

Aus Hugo Doku

Wechseln zu: Navigation, Suche

Writing a Frame class (.jxgp file), you have to inherite it (directly or indirectly) from one of the HuGo base classes shown in the following class diagramm.


Class Diagramm of HuGo API Base Classes


The most HuGo functionality is located in the super class of all base classes, the class Frame.

The following sections only shortly describe the tasks of these classes. Details like common Java methods, generating methods, etc. , which are provided by the base classes, are described in seperate chapters.

11.1. Frame

You normaly derive your Frame classes from the HuGo class Frame. It contains the most generating methods and other common java methods.

important Important

To enable a high performance, the model-builder only interprets the tags and attribute elements in the .model file per default. Text elements are ignored. If you want to handle the text elements of the .model file as well, you have to use FrameDocu and FrameTextBlock instead.


Next: 11.2. FrameDocu
Persönliche Werkzeuge