Class SliderEditor
- All Implemented Interfaces:
PropertyEditor<Double>
public class SliderEditor
extends AbstractPropertyEditor<Double,Slider>
implements PropertyEditor<Double>
A property editor for editing double values using a
Slider
.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new SliderEditor for the given item. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObservableValue
<Double> Gets the observable value.void
Sets the value.Methods inherited from class org.controlsfx.property.editor.AbstractPropertyEditor
getEditor, getProperty, getValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.controlsfx.property.editor.PropertyEditor
getEditor, getValue
-
Constructor Details
-
SliderEditor
Constructs a new SliderEditor for the given item.- Parameters:
item
- the item to edit
-
-
Method Details
-
getObservableValue
Gets the observable value.- Specified by:
getObservableValue
in classAbstractPropertyEditor<Double,
Slider> - Returns:
- the observable value
-
setValue
Sets the value.- Specified by:
setValue
in interfacePropertyEditor<Double>
- Parameters:
value
- the new value
-