|
Interface Composite
An Interface Composite is an element with which you can use an already created interface with another model. It offers you an editor in which you can link the Interface's variables to the (new) model variables.
Adding an Interface Composite
| 1. | In the Library window, select an Interface Composite. |
| 2. | Drag the Composite from the Library window and drop it into the Application window. |
Renaming an Interface Composite
To rename an Interface Composite you:
| 1. | In the Application window, select the Interface Composite. |
| 2. | Click right and choose Rename. |
Modifying an Interface Composite
First you must add Interfaces to your Interface Composite as follows:
| 1. | In the Application window, select an Interface. |
| 2. | Drag this Interface from the application and drop it into the top right area of the composite editor. |
Next, you must specify the links between the Interfaces and the model.
| 1. | Select a model variable from the list on the left. |
| 2. | Select the Interface you want to link to the model variable to from the list on the right. |
| 4. | Repeat from step 1 for all the interfaces and variables. |
Now Save and Close the Editor.
Adding an Interface Composite to an Interface
Now that you have linked all model variables to the selected interfaces, you can add the Interface Composite to an interface:
| 1. | In the Application window, select an Interface, click right and choose Edit. |
| 2. | In the Application window, select the Interface Composite. |
| 3. | Drag the Interface Composite from the Application window and drop it into the Interface. |
Editing the Interface Composite in an Interface
To edit an Interface Composite in an Interface, select it, then right click and choose Properties. A menu with three tab sheets will appear. Fill them out as described below:
Tab sheet: Basics
| 1. | Click on the Basics tab sheet. |
| 2. | If you want the Interface Composite to have scroll bars, click the Horizontal and/or Vertical check box. |
| 3. | If you want the Interface Composite to have borders, click the Bordered check box. |
Tab sheet: Variables
| 1. | Click the Variables tab sheet. |
| 2. | Select a model variable from the list on the left. |
| 3. | Select the Interface you want to link to the model variable to from the list on the right. |
| 5. | Repeat from step 2 for all the variables. |
Tab sheet: Position
Optionally, you can use this tab sheet to manually specify the relative position (raging from 0 to 1) and the offset of the Interface Composite. You can, however, also use dragging and stretching with the mouse to resize and move any object. Also, consider using the Canvas Tool to quickly arrange and resize one or more items on an interface or in an animation.
Related topics:
Interface Elements
Copyright University of Twente 2011
|