Top Fields Constructors Methods
com.sun.javafx.scene.control.behavior

public Class SpinnerBehavior<T>

extends BehaviorBase<Spinner<T>>
Class Inheritance
Imports
javafx.animation.KeyFrame, .Timeline, javafx.event.ActionEvent, .EventHandler, javafx.scene.control.Spinner, .SpinnerValueFactory, com.sun.javafx.scene.control.inputmap.InputMap, javafx.scene.input.KeyEvent, javafx.util.Duration, java.util.List

Field Summary

Modifier and TypeField and Description
private static final double
private boolean
private final InputMap<Spinner<T>>
pack-priv final EventHandler<ActionEvent>
private static final int
pack-priv Timeline

Constructor Summary

AccessConstructor and Description
public
SpinnerBehavior(Spinner<T> spinner)

* Constructors * *

Method Summary

Modifier and TypeMethod and Description
public boolean
arrowsAreVertical()

* Implementation * *

public void
decrement(int steps)

public InputMap<Spinner<T>>
public void
increment(int steps)

public void
startSpinning(boolean increment)

public void
Inherited from com.sun.javafx.scene.control.behavior.BehaviorBase:
addDefaultChildMapaddDefaultMappingaddDefaultMappingaddDefaultMappingcreateInputMapdisposegetNodeisRTLremoveMappingrtlrtl

Field Detail

INITIAL_DURATION_MSback to summary
private static final double INITIAL_DURATION_MS
isIncrementingback to summary
private boolean isIncrementing
spinnerInputMapback to summary
private final InputMap<Spinner<T>> spinnerInputMap
spinningKeyFrameEventHandlerback to summary
pack-priv final EventHandler<ActionEvent> spinningKeyFrameEventHandler
STEP_AMOUNTback to summary
private static final int STEP_AMOUNT
timelineback to summary
pack-priv Timeline timeline

Constructor Detail

SpinnerBehaviorback to summary
public SpinnerBehavior(Spinner<T> spinner)

* Constructors * *

Method Detail

arrowsAreVerticalback to summary
public boolean arrowsAreVertical()

* Implementation * *

decrementback to summary
public void decrement(int steps)
getInputMapback to summary
public InputMap<Spinner<T>> getInputMap()

Implements abstract com.sun.javafx.scene.control.behavior.BehaviorBase.getInputMap.

* API * *

Annotations
@Override
incrementback to summary
public void increment(int steps)
startSpinningback to summary
public void startSpinning(boolean increment)
stopSpinningback to summary
public void stopSpinning()