Drag[en]gine Script Module DragonScript
1.23
|
Toggle model. More...
Public Member Functions | |
void | addListener (ToggleModelListener listener) |
Add listener. More... | |
bool | getToggled () |
Get toggled state. More... | |
void | removeListener (ToggleModelListener listener) |
Remove listener. More... | |
void | setToggled (bool toggled) |
Set toggled state. More... | |
Toggle model.
Switches between an activated and deactivated state.
void Dragengine.Gui.ToggleModel.addListener | ( | ToggleModelListener | listener | ) |
Add listener.
Implemented in Dragengine.Gui.DefaultToggleModel.
bool Dragengine.Gui.ToggleModel.getToggled | ( | ) |
Get toggled state.
Implemented in Dragengine.Gui.DefaultToggleModel.
void Dragengine.Gui.ToggleModel.removeListener | ( | ToggleModelListener | listener | ) |
Remove listener.
Implemented in Dragengine.Gui.DefaultToggleModel.
void Dragengine.Gui.ToggleModel.setToggled | ( | bool | toggled | ) |
Set toggled state.
Implemented in Dragengine.Gui.OptionGroupModel, and Dragengine.Gui.DefaultToggleModel.