Game Control Plus
1.2.2
|
Public Member Functions | |
MToggleGroup () | |
void | addControl (MToggleControl tc) |
void | addControls (MToggleControl...controls) |
Package Functions | |
void | makeSelected (MToggleControl tc) |
Private Attributes | |
MToggleControl | selected = null |
MToggleControl | deselected = null |
Use this class to create a single selection collection of options.
To use create an object of this class and then add GOption objects to it with the addControl method.
You cannot add GCheckbox objects because they are designed to work independently.
org.gamecontrolplus.gui.MToggleGroup.MToggleGroup | ( | ) |
Create a toggle group object.
void org.gamecontrolplus.gui.MToggleGroup.addControl | ( | MToggleControl | tc | ) |
Add a GOption object to this group.
tc |
void org.gamecontrolplus.gui.MToggleGroup.addControls | ( | MToggleControl... | controls | ) |
Add a set of comma separated GOptions.
controls |
|
package |
Used internally to change selection