Instance of SAM to control.
Indicate whether to display the controls or not (visible on true
).
Node containing all the controls' nodes.
Flag indicating whether the controls should be displayed or not.
If true
, they should be displayed.
Instance of SAM to control.
Create the container and all the control nodes, and append them to the DOM. This will display the control panel on the page.
Create a button to clear the history, and append it to the container.
Create a container for the gui display, and prepend it to the page body.
Create a list of target policies, attach an event handler to the list
to update the policy on change
event, and append it to the container.
Create a list of adaptation styles, attach an event handler to the list
to update the style on change
event, and append it to the container.
Hide the control panel.
Remove the container node from the DOM. This will hide the control panel from the page.
Show the control panel.
Update the adaptation style from the selected one.
Update the target policy from the selected one.
Generated using TypeDoc
Creates a new instance of visual controls.