ControllerButtonBehavior
Package: Libraries.Interface.Behaviors.Scenes.Properties · Inherits from: Libraries.Language.Object, Libraries.Interface.Behaviors.Behavior
The ControllerButtonBehavior is a button or checkbox in a model's Controller section: Fit to model, or the Camera follows this checkbox. It tells the section which was pressed.
Actions
Dispose()
A checkbox runs its behavior only when it is checked, and calls Dispose when it is unchecked, so unchecking is passed on the same way. The section reads the checkbox's state, so it sees the change.
Run(Libraries.Interface.Events.BehaviorEvent event)
Sets which section and button this is.
Parameters
SetCheckbox(boolean value)
Marks the behavior as a checkbox's, so unchecking is passed on too.
Parameters
valueboolean: True for a checkbox's behavior
Setup(Libraries.Interface.Controls.Scenes.Dialogs.ControllerPropertiesDialog dialog, integer kind)
Sets which section and button this is.
Parameters
dialogLibraries.Interface.Controls.Scenes.Dialogs.ControllerPropertiesDialog: The Controller sectionkindinteger: One of the section's button kinds, such as FIT_TO_MODEL