Spec-Zone .ru
спецификации, руководства, описания, API
|
public class ToggleGroup
extends java.lang.Object
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
, but in
some situations it is desirable to explicitly manage which
Toggle
ToggleGroup
is used by
.
Toggles
Type | Property and Description |
---|---|
ReadOnlyObjectProperty<Toggle> |
selectedToggle
The selected toggle.
|
Constructor and Description |
---|
ToggleGroup() |
Modifier and Type | Method and Description |
---|---|
Toggle |
getSelectedToggle()
Gets the selected
Toggle . |
ObservableList<Toggle> |
getToggles()
The list of toggles within the ToggleGroup.
|
ReadOnlyObjectProperty<Toggle> |
selectedToggleProperty()
The selected toggle.
|
void |
selectToggle(Toggle value)
Selects the toggle.
|
public final ReadOnlyObjectProperty<Toggle> selectedToggleProperty
getSelectedToggle()
public final ObservableList<Toggle> getToggles()
public final void selectToggle(Toggle value)
value
- The Toggle
that is to be selected.public final Toggle getSelectedToggle()
Toggle
.public final ReadOnlyObjectProperty<Toggle> selectedToggleProperty()
getSelectedToggle()
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to