ViewElements package includes the Containers, Drawables, InteractiveControls and BasicElements packages. These packages contain classes describing the interactive graphic elements and the base classes of these elements. The library devoloper has to extend these base classes to implement new interactive graphic elements.
Each interactive element has associated the following elements:The ''initial algorithm'' section contains the code required to obtain the integer number identifying the component in the view description (value of the num variable) and a call to the Modelica function that encapsulates a call to the external C function which generates the Java code of the interactive graphic element. The value of the num variable is obtained by executing the function processingFile. This function has as input the path of a file and as output an integer value. The processingFile function reads a value from the input file. Then, it writes in that file the read value incremented by one. The function output value is the written value. The external C- function generates the Java code by writing in a file the code require to create an instance of the java class describing the element.
Name | Description |
---|---|
![]() | Container elements and base classes |
![]() | Drawable elements and base classes |
![]() | Interactive controls and base classes |
![]() | Basic elements and base classes |