APIdia Launch Partner
Top Constructors Methods
com.sun.javafx.scene.control.behavior

public Class ToggleButtonBehavior<C extends ToggleButton>

extends ButtonBehavior<C extends ToggleButton>
Class Inheritance
Imports
com.sun.javafx.scene.control.skin.Utils, javafx.collections.FXCollections, .ObservableList, javafx.geometry.NodeOrientation, javafx.scene.Node, javafx.scene.control.Control, .Toggle, .ToggleButton, .ToggleGroup, com.sun.javafx.scene.control.inputmap.InputMap, javafx.scene.input.KeyEvent

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private int
nextToggleIndex(final ObservableList<Toggle> toggles, final int from)

Returns the next toggle index or "from" if none found

private int
previousToggleIndex(final ObservableList<Toggle> toggles, final int from)

Returns the previous toggle index or "from" if none found

private void
private boolean
traversingToNext(String name, NodeOrientation effectiveNodeOrientation)

Inherited from com.sun.javafx.scene.control.behavior.ButtonBehavior:
disposegetInputMapkeyPressedkeyReleasedmouseEnteredmouseExitedmousePressedmouseReleased

Constructor Detail

ToggleButtonBehaviorback to summary
public ToggleButtonBehavior(C button)

Method Detail

nextToggleIndexback to summary
private int nextToggleIndex(final ObservableList<Toggle> toggles, final int from)

Returns the next toggle index or "from" if none found

previousToggleIndexback to summary
private int previousToggleIndex(final ObservableList<Toggle> toggles, final int from)

Returns the previous toggle index or "from" if none found

traverseback to summary
private void traverse(KeyEvent e, String name)
traversingToNextback to summary
private boolean traversingToNext(String name, NodeOrientation effectiveNodeOrientation)