Code example for ToggleButton

Methods: getText, getId, isChecked