java.lang.Object
org.controlsfx.property.editor.AbstractPropertyEditor<T,S>
qupath.fx.prefs.controlsfx.editors.ChoiceEditor<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
javafx.collections.ListChangeListener<T>
,org.controlsfx.property.editor.PropertyEditor<T>
public class ChoiceEditor<T>
extends org.controlsfx.property.editor.AbstractPropertyEditor<T,S>
Editor for choosing from a combo box, which will use an observable list directly if it can
(which differs from ControlsFX's default behavior).
-
Nested Class Summary
Nested classes/interfaces inherited from interface javafx.collections.ListChangeListener
javafx.collections.ListChangeListener.Change<E extends Object>
-
Constructor Summary
ConstructorDescriptionChoiceEditor
(org.controlsfx.control.PropertySheet.Item property, Collection<? extends T> choices) ChoiceEditor
(org.controlsfx.control.PropertySheet.Item property, javafx.collections.ObservableList<T> choices) -
Method Summary
Methods inherited from class org.controlsfx.property.editor.AbstractPropertyEditor
getEditor, getProperty, getValue
-
Constructor Details
-
ChoiceEditor
public ChoiceEditor(org.controlsfx.control.PropertySheet.Item property, Collection<? extends T> choices) -
ChoiceEditor
public ChoiceEditor(org.controlsfx.control.PropertySheet.Item property, javafx.collections.ObservableList<T> choices)
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfaceorg.controlsfx.property.editor.PropertyEditor<T>
-
getObservableValue
- Specified by:
getObservableValue
in classorg.controlsfx.property.editor.AbstractPropertyEditor<T,
S extends javafx.scene.control.ComboBox<T>>
-
onChanged
- Specified by:
onChanged
in interfacejavafx.collections.ListChangeListener<T>
-