public abstract void setToggleGroup (ToggleGroup toggleGroup)

Sets the ToggleGroup to which this Toggle belongs.

Parameters:
toggleGroup    The new ToggleGroup.