- All Known Implementing Classes:
CanvasSpinner,ImageSpinner
public interface Spinner
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.BooleanPropertyjavafx.beans.property.DoubleProperty -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.BooleanPropertyvoidjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.scene.paint.ColorGets the value of thebackgroundColorproperty.doubledoublejavafx.scene.paint.ColorGets the value of theforegroundColorproperty.doubledoubledoubledoublegetValue()Gets the value of thevalueproperty.booleanGets the value of thebackgroundVisibleproperty.booleanGets the value of theoverlayVisibleproperty.booleanjavafx.beans.property.BooleanPropertyvoidreInit()voidvoidremoveSpinnerObserver(SpinnerObserver observer) voidsetBackgroundColor(javafx.scene.paint.Color color) Sets the value of thebackgroundColorproperty.voidsetBackgroundVisible(boolean visible) Sets the value of thebackgroundVisibleproperty.voidsetForegroundColor(javafx.scene.paint.Color color) Sets the value of theforegroundColorproperty.voidsetOnSpinnerEvent(SpinnerObserver observer) voidsetOnValueChanged(SpinnerObserver observer) voidsetOnZeroPassed(SpinnerObserver observer) voidsetOverlayVisible(boolean visible) Sets the value of theoverlayVisibleproperty.voidsetSnapshotBackground(javafx.scene.paint.Color color) voidsetSpinnerType(SpinnerType spinnerType) voidsetValue(double value) Sets the value of thevalueproperty.voidspinDown()voidspinUp()javafx.beans.property.DoubleProperty
-
Property Details
-
value
javafx.beans.property.DoubleProperty valueProperty- See Also:
-
backgroundVisible
javafx.beans.property.BooleanProperty backgroundVisibleProperty- See Also:
-
overlayVisible
javafx.beans.property.BooleanProperty overlayVisibleProperty- See Also:
-
backgroundColor
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> backgroundColorProperty- See Also:
-
foregroundColor
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> foregroundColorProperty- See Also:
-
-
Method Details
-
getOldValue
double getOldValue() -
getValue
double getValue()Gets the value of thevalueproperty.- Property description:
- Returns:
- the value of the
valueproperty - See Also:
-
setValue
void setValue(double value) Sets the value of thevalueproperty.- Property description:
- Parameters:
value- the value for thevalueproperty- See Also:
-
valueProperty
javafx.beans.property.DoubleProperty valueProperty()- Returns:
- the
valueproperty - See Also:
-
isBackgroundVisible
boolean isBackgroundVisible()Gets the value of thebackgroundVisibleproperty.- Property description:
- Returns:
- the value of the
backgroundVisibleproperty - See Also:
-
setBackgroundVisible
void setBackgroundVisible(boolean visible) Sets the value of thebackgroundVisibleproperty.- Property description:
- Parameters:
visible- the value for thebackgroundVisibleproperty- See Also:
-
backgroundVisibleProperty
javafx.beans.property.BooleanProperty backgroundVisibleProperty()- Returns:
- the
backgroundVisibleproperty - See Also:
-
isOverlayVisible
boolean isOverlayVisible()Gets the value of theoverlayVisibleproperty.- Property description:
- Returns:
- the value of the
overlayVisibleproperty - See Also:
-
setOverlayVisible
void setOverlayVisible(boolean visible) Sets the value of theoverlayVisibleproperty.- Property description:
- Parameters:
visible- the value for theoverlayVisibleproperty- See Also:
-
overlayVisibleProperty
javafx.beans.property.BooleanProperty overlayVisibleProperty()- Returns:
- the
overlayVisibleproperty - See Also:
-
spinUp
void spinUp() -
spinDown
void spinDown() -
getBackgroundColor
javafx.scene.paint.Color getBackgroundColor()Gets the value of thebackgroundColorproperty.- Property description:
- Returns:
- the value of the
backgroundColorproperty - See Also:
-
setBackgroundColor
void setBackgroundColor(javafx.scene.paint.Color color) Sets the value of thebackgroundColorproperty.- Property description:
- Parameters:
color- the value for thebackgroundColorproperty- See Also:
-
backgroundColorProperty
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> backgroundColorProperty()- Returns:
- the
backgroundColorproperty - See Also:
-
getForegroundColor
javafx.scene.paint.Color getForegroundColor()Gets the value of theforegroundColorproperty.- Property description:
- Returns:
- the value of the
foregroundColorproperty - See Also:
-
setForegroundColor
void setForegroundColor(javafx.scene.paint.Color color) Sets the value of theforegroundColorproperty.- Property description:
- Parameters:
color- the value for theforegroundColorproperty- See Also:
-
foregroundColorProperty
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> foregroundColorProperty()- Returns:
- the
foregroundColorproperty - See Also:
-
getSpinnerType
SpinnerType getSpinnerType() -
setSpinnerType
-
setSnapshotBackground
void setSnapshotBackground(javafx.scene.paint.Color color) -
reInit
void reInit() -
getSpinnerWidth
double getSpinnerWidth() -
getSpinnerHeight
double getSpinnerHeight() -
getDigitHeight
double getDigitHeight() -
getExtendedHeight
double getExtendedHeight() -
isShowing
boolean isShowing() -
setOnValueChanged
-
setOnZeroPassed
-
setOnSpinnerEvent
-
removeSpinnerObserver
-
removeAllObservers
void removeAllObservers() -
fireSpinnerEvent
-