Class ToggleGroup

java.lang.Object
javafx.scene.control.ToggleGroup

public class ToggleGroup extends Object
A class which contains a reference to all Toggles whose selected variables should be managed such that only a single Toggle within the ToggleGroup may be selected at any one time.

Generally ToggleGroups are managed automatically simply by specifying the name of a ToggleGroup on the Toggle, but in some situations it is desirable to explicitly manage which ToggleGroup is used by Toggles.

Since:
JavaFX 2.0