Interactive.src.ViewElements.InteractiveControls

Interactive controls and base classes

Information

InteractiveControls package

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

          

Package Content

Name Description
Interactive.src.ViewElements.InteractiveControls.ControlElement ControlElement Base class of the classes describing interactive elements
Interactive.src.ViewElements.InteractiveControls.NumberField NumberField Allows editing a numeric value. Interactive var.: var, Enable.
Interactive.src.ViewElements.InteractiveControls.RadioButton RadioButton Creates a radio-button. Interactive var.: var.
Interactive.src.ViewElements.InteractiveControls.DisplayDouble DisplayDouble Allows displaying a numeric value. Variable linked to the model: value.
Interactive.src.ViewElements.InteractiveControls.SendElement SendElement Base class of some classes describing interactive elements

Interactive.src.ViewElements.InteractiveControls.ControlElement Interactive.src.ViewElements.InteractiveControls.ControlElement

Base class of the classes describing interactive elements

Information


ControlElement class has to be inherited from the classes describing interactive elements. This class inherits from the IViewElement class.

The ControlElement class includes the code required to: This class includes the following variables:

Extends from Interfaces.IViewElement (Interfaces of the classes describing interactive elements).

Connectors

NameDescription
pLLeftConnector of non drawable components
cLLeftConnector of non drawable components

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

Allows editing a numeric value. Interactive var.: var, Enable.

Information


This class inherits from the ControlElement class.
Creates an element that allows editing a numeric value.

Extends from ControlElement (Base class of the classes describing interactive elements).

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.src.ViewElements.InteractiveControls.RadioButton Interactive.src.ViewElements.InteractiveControls.RadioButton

Creates a radio-button. Interactive var.: var.

Information


This class inherits from the ControlElement class.
Creates a radio-button. The var variable of this element can have the value 0 or 1.

Extends from ControlElement (Base class of the classes describing interactive elements).

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.src.ViewElements.InteractiveControls.DisplayDouble Interactive.src.ViewElements.InteractiveControls.DisplayDouble

Allows displaying a numeric value. Variable linked to the model: value.

Information


This class inherits from the SendElement class.
Creates an element that allows displaying a numeric value.

Extends from SendElement (Base class of some classes describing interactive elements).

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

Interactive.src.ViewElements.InteractiveControls.SendElement Interactive.src.ViewElements.InteractiveControls.SendElement

Base class of some classes describing interactive elements

Information


SendElement class has to be inherited from classes describing interactive elements that allows to display a variable value in the view. This class inherits from the IViewElement class.

The SendElement class includes the code required to: This information is sent at each communication interval, when the following two conditions are satisfied: (1) the refreshView variable value has changed; and (2) the windowClosed variable value is false.

Extends from Interfaces.IViewElement (Interfaces of the classes describing interactive elements).

Connectors

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