Class Index

Global Variables

Classes


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.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
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.
 
This method resets and releases the pressed down button if there is any.
Class Detail
MVButtonGroup()
Returns:
The newly created MVButtonGroup object.
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

Documentation generated by JsDoc Toolkit 2.1.0 on Fri Feb 25 2011 12:34:45 GMT-0500 (EST)