Code example for ToggleButton

Methods: setChecked, getId, isChecked