Interactive.src.ViewElements.BasicElements

Basic elements and base classes

Information

BasicElements package

BasicElements package includes the basic elements and the base classes that the library developer has to extend to create new basic elements.

          

Package Content

Name Description
Interactive.src.ViewElements.BasicElements.BasicElement BasicElement Base class of the classes describing basic elements
Interactive.src.ViewElements.BasicElements.Label Label Decorative label
Interactive.src.ViewElements.BasicElements.CheckBox CheckBox Check-box
Interactive.src.ViewElements.BasicElements.PauseButton PauseButton Button to pause and resume the simulation
Interactive.src.ViewElements.BasicElements.Browser Browser Container of HTML pages

Interactive.src.ViewElements.BasicElements.BasicElement Interactive.src.ViewElements.BasicElements.BasicElement

Base class of the classes describing basic elements

Information

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).

Parameters

NameDescription
rowSets the row where the element is located if the parent has the Grid layout policy
columnSets the column where the element is located if the parent has the Grid layout policy
rowSpanSets the number of rows the element spans (only appliable if the parent has the Grid layout policy
columnSpanSets the number of columns the element spans (only appliable if the parent has the Grid layout policy

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

Interactive.src.ViewElements.BasicElements.Label Interactive.src.ViewElements.BasicElements.Label

Decorative label

Information


Creates a decorative label.

Extends from BasicElement (Base class of the classes describing basic elements).

Parameters

NameDescription
rowSets the row where the element is located if the parent has the Grid layout policy
columnSets the column where the element is located if the parent has the Grid layout policy
rowSpanSets the number of rows the element spans (only appliable if the parent has the Grid layout policy
columnSpanSets the number of columns the element spans (only appliable if the parent has the Grid layout policy
alignmentAlignment
textText to be displayed

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

Interactive.src.ViewElements.BasicElements.CheckBox Interactive.src.ViewElements.BasicElements.CheckBox

Check-box

Information


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).

Parameters

NameDescription
rowSets the row where the element is located if the parent has the Grid layout policy
columnSets the column where the element is located if the parent has the Grid layout policy
rowSpanSets the number of rows the element spans (only appliable if the parent has the Grid layout policy
columnSpanSets the number of columns the element spans (only appliable if the parent has the Grid layout policy
initialValueInitial value
labelString displayed by the element
varNameString 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

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

Interactive.src.ViewElements.BasicElements.PauseButton Interactive.src.ViewElements.BasicElements.PauseButton

Button to pause and resume the simulation

Information


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).

Parameters

NameDescription
rowSets the row where the element is located if the parent has the Grid layout policy
columnSets the column where the element is located if the parent has the Grid layout policy
rowSpanSets the number of rows the element spans (only appliable if the parent has the Grid layout policy
columnSpanSets the number of columns the element spans (only appliable if the parent has the Grid layout policy
initialValueFalse: button paused

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

Interactive.src.ViewElements.BasicElements.Browser Interactive.src.ViewElements.BasicElements.Browser

Container of HTML pages

Information


Creates a container of HTML pages.

Extends from BasicElement (Base class of the classes describing basic elements).

Parameters

NameDescription
rowSets the row where the element is located if the parent has the Grid layout policy
columnSets the column where the element is located if the parent has the Grid layout policy
rowSpanSets the number of rows the element spans (only appliable if the parent has the Grid layout policy
columnSpanSets the number of columns the element spans (only appliable if the parent has the Grid layout policy
initialValueInitial value
pathPath where the HTML file is located

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components
Automatically generated Thu Apr 28 12:24:24 2022.