Code example for ToggleButton

Methods: getTagisChecked

0
    // 
    //-------------------------------------------------------------------------- 
 
    protected void onStepChange(ToggleButton button) {
        // trigger on/off for the step in the sequencer 
        StepInfo info = (StepInfo)button.getTag();
        stepSequencerModel.setSelected(info, button.isChecked());
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE