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

Profile: desktop, common


A class which contains a reference to all the ToggleButtons whose selected variables should be managed such that only a single. ToggleButton 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 ToggleButton, but in some situations it is desireable to explicitly manage which ToggleGroup is used by ToggleButtons.

Variable Summary

access name type Can Read Can Init Can Write Default Value description
public-read package buttons ToggleButton[]

The buttons within this ToggleGroup.

The buttons within this ToggleGroup. A ToggleButton may only be in a single ToggleGroup at a time.

public selectedButton ToggleButton

The button within the ToggleGroup which is currently selected.

Inherited Variables

Inherited Functions - all specs in one place