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.voidSets the value.Methods inherited from class AbstractPropertyEditor
getEditor, getProperty, getValueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
getObservableValuein classAbstractPropertyEditor<Double,Slider> - Returns:
- the observable value
-
setValue
Sets the value.- Specified by:
setValuein interfacePropertyEditor<Double>- Parameters:
value- the new value
-