- 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 the property backgroundColor.doubledoublejavafx.scene.paint.ColorGets the value of the property foregroundColor.doubledoubledoubledoublegetValue()Gets the value of the property value.booleanGets the value of the property backgroundVisible.booleanGets the value of the property overlayVisible.booleanjavafx.beans.property.BooleanPropertyvoidreInit()voidvoidremoveSpinnerObserver(SpinnerObserver observer) voidsetBackgroundColor(javafx.scene.paint.Color color) Sets the value of the property backgroundColor.voidsetBackgroundVisible(boolean visible) Sets the value of the property backgroundVisible.voidsetForegroundColor(javafx.scene.paint.Color color) Sets the value of the property foregroundColor.voidsetOnSpinnerEvent(SpinnerObserver observer) voidsetOnValueChanged(SpinnerObserver observer) voidsetOnZeroPassed(SpinnerObserver observer) voidsetOverlayVisible(boolean visible) Sets the value of the property overlayVisible.voidsetSnapshotBackground(javafx.scene.paint.Color color) voidsetSpinnerType(SpinnerType spinnerType) voidsetValue(double value) Sets the value of the property value.voidspinDown()voidspinUp()javafx.beans.property.DoubleProperty
-
Property Details
-
value
javafx.beans.property.DoubleProperty valueProperty- See Also:
-
backgroundVisible
javafx.beans.property.BooleanProperty backgroundVisibleProperty -
overlayVisible
javafx.beans.property.BooleanProperty overlayVisibleProperty- See Also:
-
backgroundColor
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> backgroundColorProperty -
foregroundColor
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> foregroundColorProperty
-
-
Method Details
-
getOldValue
double getOldValue() -
getValue
double getValue()Gets the value of the property value.- Property description:
-
setValue
void setValue(double value) Sets the value of the property value.- Property description:
-
valueProperty
javafx.beans.property.DoubleProperty valueProperty()- See Also:
-
isBackgroundVisible
boolean isBackgroundVisible()Gets the value of the property backgroundVisible.- Property description:
-
setBackgroundVisible
void setBackgroundVisible(boolean visible) Sets the value of the property backgroundVisible.- Property description:
-
backgroundVisibleProperty
javafx.beans.property.BooleanProperty backgroundVisibleProperty() -
isOverlayVisible
boolean isOverlayVisible()Gets the value of the property overlayVisible.- Property description:
-
setOverlayVisible
void setOverlayVisible(boolean visible) Sets the value of the property overlayVisible.- Property description:
-
overlayVisibleProperty
javafx.beans.property.BooleanProperty overlayVisibleProperty()- See Also:
-
spinUp
void spinUp() -
spinDown
void spinDown() -
getBackgroundColor
javafx.scene.paint.Color getBackgroundColor()Gets the value of the property backgroundColor.- Property description:
-
setBackgroundColor
void setBackgroundColor(javafx.scene.paint.Color color) Sets the value of the property backgroundColor.- Property description:
-
backgroundColorProperty
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> backgroundColorProperty() -
getForegroundColor
javafx.scene.paint.Color getForegroundColor()Gets the value of the property foregroundColor.- Property description:
-
setForegroundColor
void setForegroundColor(javafx.scene.paint.Color color) Sets the value of the property foregroundColor.- Property description:
-
foregroundColorProperty
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> foregroundColorProperty() -
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
-