JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common


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 desireable to explicitly manage which ToggleGroup is used by Toggles.

Commonly used classes that extend the Toggle mixin include ToggleButton and RadioMenuItem.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription

The toggle within the ToggleGroup which is currently selected.

public-read packagetogglesToggle[]

The toggles within this ToggleGroup.

The toggles within this ToggleGroup. A Toggle may only be in a single ToggleGroup at a time.


Inherited Variables

Inherited Functions