Interactive.ViewElements.InteractiveControls

Interactive control elements

Information

InteractiveControls package

InteractiveControls package contains classes that allow modifying interactively the value of model variables. Each class includes a definition of an input real variable (var) and a boolean variable (event). The value of the event variable is true at those time instants at which the interactive control is manipulated by the virtual-lab user. Otherwise, the event variable is false The interactive model variable can be linked to the var variable by writing the corresponding equation.

        

Package Content

Name Description
Interactive.ViewElements.InteractiveControls.NumberField NumberField Allows editing a numeric value
Interactive.ViewElements.InteractiveControls.RadioButton RadioButton Creates a radio-button
Interactive.ViewElements.InteractiveControls.DisplayDouble DisplayDouble Shows a box displaying a number

Interactive.ViewElements.InteractiveControls.NumberField Interactive.ViewElements.InteractiveControls.NumberField

Allows editing a numeric value

Information

Creates an element that allows editing a numeric value.

Extends from Interactive.src.ViewElements.InteractiveControls.NumberField (Allows editing a numeric value. Interactive var.: var, Enable.).

Parameters

NameDescription
minValue 
maxValue 
step 
initialValue 
numberOfDecimals 
row 
column 
rowSpan 
columnSpan 
EnableInt 
Enablep 
Initialization
event 

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

Interactive.ViewElements.InteractiveControls.RadioButton Interactive.ViewElements.InteractiveControls.RadioButton

Creates a radio-button

Information

Creates a radio-button. The var variable of this element can have the value 0 or 1.

Extends from Interactive.src.ViewElements.InteractiveControls.RadioButton (Creates a radio-button. Interactive var.: var.).

Parameters

NameDescription
buttonValueInitial value
textText displayed by the element
buttonGroupThe radio-button belongs to this group
row 
column 
rowSpan 
columnSpan 
Initialization
event 

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

Interactive.ViewElements.InteractiveControls.DisplayDouble Interactive.ViewElements.InteractiveControls.DisplayDouble

Shows a box displaying a number

Information

Creates an element that allows editing a numeric value.

Extends from Interactive.src.ViewElements.InteractiveControls.DisplayDouble (Allows displaying a numeric value. Variable linked to the model: value.).

Parameters

NameDescription
formatNumeric format
precisionNumber of digits after the decimal point
alignmentAlignment
prefixText inserted before the displayed value
sufixText inserted after the displayed value
row 
column 
rowSpan 
columnSpan 
Initialization
sdStatus1 

Connectors

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