Class MVButtonGroup
The MVButtonGroup class defines a group of buttons. Within the group, at any time, at most one button can be in the pushed DOWN state. Pushing down a button will automatically pop up the other pushed DOWN button if there is any.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
add(btObject)
This method add a MVToolButton object to the button group.
|
|
addSeparator(buttonID)
This method internally creates a MVToolButton of SEPARATOR type and adds it to the button group.
|
|
reset()
This method resets and releases the pressed down button if there is any.
|
Method Detail
{void}
add(btObject)
This method add a MVToolButton object to the button group.
- Parameters:
- {MVToolButton} btObject
- btObject specifies the button object to be added to the button group.
- Returns:
- None
{void}
addSeparator(buttonID)
This method internally creates a MVToolButton of SEPARATOR type and adds it to the button group.
- Parameters:
- {string} buttonID
- buttonID specifies the id of the newly created SEPARATOR button. This id is used to delete this SEPARATOR button if needed.
- Returns:
- None
{void}
reset()
This method resets and releases the pressed down button if there is any.
- Returns:
- None