Example usage for javafx.scene.control Toggle setToggleGroup

List of usage examples for javafx.scene.control Toggle setToggleGroup

Introduction

In this page you can find the example usage for javafx.scene.control Toggle setToggleGroup.

Prototype

void setToggleGroup(ToggleGroup toggleGroup);

Source Link

Document

Sets the ToggleGroup to which this Toggle belongs.

Usage

From source file:org.drombler.fx.core.action.impl.ToggleGroupManager.java

public void configureToggle(Toggle toggle, String toggleGroupId) {
    if (StringUtils.isNotEmpty(toggleGroupId)) {
        toggle.setToggleGroup(getToggleGroup(toggleGroupId));
    }/*  w ww.ja  va2  s .  com*/
}