VirtualLabBuilder.ViewElements.BasicElements

Basic elements

Information


 

BasicElements package

BasicElements package contains classes that can be hosted inside a window or a panel.

Package Content

NameDescription
VirtualLabBuilder.ViewElements.BasicElements.Label Label Decorative label
VirtualLabBuilder.ViewElements.BasicElements.CheckBox CheckBox Check-box
VirtualLabBuilder.ViewElements.BasicElements.PauseButton PauseButton Button to pause and resume the simulation
VirtualLabBuilder.ViewElements.BasicElements.InfoButton InfoButton Button that allows the user to display the virtual-lab documentation


VirtualLabBuilder.ViewElements.BasicElements.Label VirtualLabBuilder.ViewElements.BasicElements.Label

Decorative label

VirtualLabBuilder.ViewElements.BasicElements.Label

Information


                        

Creates a decorative label.


Parameters

TypeNameDefaultDescription
positioninLayoutposition"CENTER"Position inside its container
Stringtext"text"Text to be displayed
alignmentTypealignment"0.00"Alignment of the text
Colorbackground[4]{255,255,255,255}Background color
Colorforeground[4]{0,0,0,255}Foreground color
fontTypetypeOfFont"Times New Roman"Type of font of the text
fontStylestyleOfFont"Plain"Style of font of the text
IntegersizeOfFont10Size of font

Connectors

TypeNameDescription
ParentLpLLeftConnector of non drawable components
ChildLcLLeftConnector of non drawable components

Modelica definition

model Label "Decorative label" 
                        extends src.ViewElements.BasicElements.Label;
  
  
end Label;

VirtualLabBuilder.ViewElements.BasicElements.CheckBox VirtualLabBuilder.ViewElements.BasicElements.CheckBox

Check-box

VirtualLabBuilder.ViewElements.BasicElements.CheckBox

Information


                        

Creates a check-box. The checkbox allows to show or hide the virtual-lab windows by clicking on it.


Parameters

TypeNameDefaultDescription
positioninLayoutposition"CENTER"Position inside its container
booleanValueinitialValue"false"Initial value
Stringlabel""String displayed by the element
StringvarName"var"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

Connectors

TypeNameDescription
ParentLpLLeftConnector of non drawable components
ChildLcLLeftConnector of non drawable components

Modelica definition

model CheckBox "Check-box" 
                            extends src.ViewElements.BasicElements.CheckBox;
end CheckBox;

VirtualLabBuilder.ViewElements.BasicElements.PauseButton VirtualLabBuilder.ViewElements.BasicElements.PauseButton

Button to pause and resume the simulation

VirtualLabBuilder.ViewElements.BasicElements.PauseButton

Information


                        

Creates button that allows the user to pause and resume the simulation by clicking on it.


Parameters

TypeNameDefaultDescription
positioninLayoutposition"CENTER"Position inside its container
booleanValuebuttonPause"false"Initial value

Connectors

TypeNameDescription
ParentLpLLeftConnector of non drawable components
ChildLcLLeftConnector of non drawable components

Modelica definition

model PauseButton "Button to pause and resume the simulation" 
                                            extends src.ViewElements.BasicElements.PauseButton;
end PauseButton;

VirtualLabBuilder.ViewElements.BasicElements.InfoButton VirtualLabBuilder.ViewElements.BasicElements.InfoButton

Button that allows the user to display the virtual-lab documentation

VirtualLabBuilder.ViewElements.BasicElements.InfoButton

Information


                        

Creates a button that allows the user to show or hide a window displaying HTML pages. This feature allows including documentation in the virtual-lab. That is to say, it supports the implementation of the virtual-lab introduction.


Parameters

TypeNameDefaultDescription
positioninLayoutposition"CENTER"Position inside its container
booleanValueselected"false"Whether the button is selected or not
Stringlabel"info"Text displayed by the button
alignmentTypealignment"0.00"Text alignment
Stringimage""Path of the image of the button
Colorbgcolor[4]{255,255,255,255}Background color
Stringtooltip""Tooltip
Colorlettercolor[4]{0,0,0,255}String color
fontTypetypeFont"Times New Roman"Type of font
fontStylestyleFont"Plain"Style of font
IntegersizeFont20Size of font
Stringpath""location of the html file
IntegerxPos400Position of the dialog window displayed by the button
IntegeryPos0Position of the dialog window displayed by the button
IntegerxWidth400Width of the dialog window displayed by the button
IntegeryWidth400Width of the dialog window displayed by the button
Stringtitle"Info window"Title of the dialog window displayed by the button

Connectors

TypeNameDescription
ParentLpLLeftConnector of non drawable components
ChildLcLLeftConnector of non drawable components

Modelica definition

model InfoButton 
  "Button that allows the user to display the virtual-lab documentation" 
                                            extends src.ViewElements.BasicElements.InfoButton;
end InfoButton;

HTML-documentation generated by Dymola Tue Jul 24 18:58:09 2007.