Basic elements
BasicElements package contains classes that can be hosted inside a window or a panel.
Name | Description |
---|---|
![]() |
Decorative label |
![]() |
Check-box |
![]() |
Button to pause and resume the simulation |
![]() |
HTML Browser |
Decorative label
Creates a decorative label.
Extends from Interactive.src.ViewElements.BasicElements.Label (Decorative label).
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 or hide the virtual-lab windows by clicking on it.
Extends from Interactive.src.ViewElements.BasicElements.CheckBox (Check-box).
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 Interactive.src.ViewElements.BasicElements.PauseButton (Button to pause and resume the simulation).
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 |
HTML Browser
Creates a check-box. The checkbox allows to show or hide the virtual-lab windows by clicking on it.
Extends from Interactive.src.ViewElements.BasicElements.Browser (Container of HTML pages).
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 |