Tank  |
Position and Size |
Name | Description | Values accepted | Default |
Level | The level of the liquid in the tank. You can also to modify it with the mouse over the drawing panel. | A constant or variable of type double or int. | |
Pos X | The X coordinate for the bottom right-hand corner of the element. You can also to modify it with the mouse over the drawing panel. | A constant or variable of type double, int or double[]. | |
Pos Y | The Y coordinate for the bottom right-hand corner of the element. You can also to modify it with the mouse over the drawing panel. | A constant or variable of type double, int or double[]. | |
Height | The height of the tank. | A constant or variable of type double, int or double[]. | |
Width | The width of the tank. | A constant or variable of type double, int or double[]. | |
Show Profiles | Whether the element has a profile. | A boolean variable or a boolean array with true or false values. | |
Profile | Four values to define the profile. (Description Missing). | A double[4] array. | |
Visibility and Interaction |
Name | Description | Values accepted | Default |
Visible | The visibility of the element. | A boolean variable or one of the constants true or false. | |
Enabled | Whether the element is responsive to user action. | A boolean variable or one of the constants true or false. | |
Draggable | Whether the element can be moved. | A boolean variable or one of the constants true or false. | |
Resizable | Whether the element can be resized. | A boolean variable or one of the constants true or false. | |
Profilable | Whether the tank’s profile can be changed interactively. | A boolean variable or one of the constants true or false. | |
On Press | The action to invoke when the element is pressed. | The Java code to invoke for the action. | |
On Drag | The action to invoke when the element is dragged. | The Java code to invoke for the action. | |
On Release | The action to invoke when the element is released. | The Java code to invoke for the action. | |
On Enter | The action to invoke when the mouse enters the element. | The Java code to invoke for the action. | |
On Exit | The action to invoke when the mouse leaves the element. | The Java code to invoke for the action. | |
Graphical Aspect |
Name | Description | Values accepted | Default |
Closed Top | Whether to close the element at its top. | A boolean variable or one of the constants true or false. | |
Line Color | The color used for the lines of the element. | Use the editor provided or read about colors. | |
Fill Color | The color used to fill the element. | Use the editor provided or read about colors. The special value null draws a hollow element. | |
Profile Color | The color for the profile. | Use the editor provided or read about colors. | |
Stroke | The thickness and line style for the lines of the element. | A constant or variable of type double, int or double[]. | |