next up previous contents index
Next: Creating Items Up: Interactive Elements Previous: Interactive Elements

What is Available

The base class for all elements in the GRAPE control window is the abstract class Item, a subclass of Root. The static elements like texts and color rectangles are subclasses of Item, the variable elements like rulers are subclasses of the abstract class Interactive, a subclass of Item.

There exists many different interactive types in GRAPE which can be used to control variables or to send methods to different objects (the number given with each element refers to its documentation in chapter 9.1):

As you might have noticed while working with GRAPE there are much more interactive elements, some of them subclasses of the ones mentioned above, like Slider (9.1.3.24) which is a subclass of Ruler with a different look but basically the same functionality. Other interactive elements are composed of several (simple) elements, they can be very complex but nevertheless they are easy to use -- like Color_Selectors (9.1.3.5), which allow editing a color given by RGB values in RGB or HSV mode, or Matrix_Editors (9.1.3.18) which control a transformation matrix. The basic classes for these composite elements are Group (9.1.3.12) and Layer (9.1.3.16).

Most of these interactives were already described in the introduction in section 4.1, the full documentation of all interactive classes and their methods can be found in chapter 9.1.


next up previous contents index
Next: Creating Items Up: Interactive Elements Previous: Interactive Elements

SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.