Basic elements and base classes
BasicElements package includes the basic elements and the base classes that the library developer has to extend to create new basic elements.
Name | Description |
---|---|
![]() |
Base class of the classes describing basic elements |
![]() |
Decorative label |
![]() |
Check-box |
![]() |
Button to pause and resume the simulation |
![]() |
Container of HTML pages |
Base class of the classes describing basic elements
BasicElement class has to be inherited from the classes describing basic elements. This class inherits from the IViewElement class.
Extends from Interfaces.IViewElement (Interfaces of the classes describing interactive elements).
Name | Description |
---|---|
row | Sets the row where the element is located if the parent has the Grid layout policy |
column | Sets the column where the element is located if the parent has the Grid layout policy |
rowSpan | Sets the number of rows the element spans (only appliable if the parent has the Grid layout policy |
columnSpan | Sets the number of columns the element spans (only appliable if the parent has the Grid layout policy |
Name | Description |
---|---|
pLLeft | Connector of non drawable components |
cLLeft | Connector of non drawable components |
Decorative label
Creates a decorative label.
Extends from BasicElement (Base class of the classes describing basic elements).
Name | Description |
---|---|
row | Sets the row where the element is located if the parent has the Grid layout policy |
column | Sets the column where the element is located if the parent has the Grid layout policy |
rowSpan | Sets the number of rows the element spans (only appliable if the parent has the Grid layout policy |
columnSpan | Sets the number of columns the element spans (only appliable if the parent has the Grid layout policy |
alignment | Alignment |
text | Text to be displayed |
Name | Description |
---|---|
pLLeft | Connector of non drawable components |
cLLeft | Connector of non drawable components |
Check-box
Creates a check-box.
The checkbox allows to show and hide the virtual-lab windows by clicking on it.
Extends from BasicElement (Base class of the classes describing basic elements).
Name | Description |
---|---|
row | Sets the row where the element is located if the parent has the Grid layout policy |
column | Sets the column where the element is located if the parent has the Grid layout policy |
rowSpan | Sets the number of rows the element spans (only appliable if the parent has the Grid layout policy |
columnSpan | Sets the number of columns the element spans (only appliable if the parent has the Grid layout policy |
initialValue | Initial value |
label | String displayed by the element |
varName | String variable that can be linked to the corresponding variable of a dialog window in order to show and hide the window by clicking on the check-box |
Name | Description |
---|---|
pLLeft | Connector of non drawable components |
cLLeft | Connector of non drawable components |
Button to pause and resume the simulation
Creates button that allows the user to pause and resume the simulation by clicking on it.
Extends from BasicElement (Base class of the classes describing basic elements).
Name | Description |
---|---|
row | Sets the row where the element is located if the parent has the Grid layout policy |
column | Sets the column where the element is located if the parent has the Grid layout policy |
rowSpan | Sets the number of rows the element spans (only appliable if the parent has the Grid layout policy |
columnSpan | Sets the number of columns the element spans (only appliable if the parent has the Grid layout policy |
initialValue | False: button paused |
Name | Description |
---|---|
pLLeft | Connector of non drawable components |
cLLeft | Connector of non drawable components |
Container of HTML pages
Creates a container of HTML pages.
Extends from BasicElement (Base class of the classes describing basic elements).
Name | Description |
---|---|
row | Sets the row where the element is located if the parent has the Grid layout policy |
column | Sets the column where the element is located if the parent has the Grid layout policy |
rowSpan | Sets the number of rows the element spans (only appliable if the parent has the Grid layout policy |
columnSpan | Sets the number of columns the element spans (only appliable if the parent has the Grid layout policy |
initialValue | Initial value |
path | Path where the HTML file is located |
Name | Description |
---|---|
pLLeft | Connector of non drawable components |
cLLeft | Connector of non drawable components |