T - The type of the option being edited.C - The type of Node that is used to edit this option.OptionEditor<T>public abstract class OptionEditorBase<T,C extends javafx.scene.Node> extends java.lang.Object implements OptionEditor<T>
OptionEditor interface.value| Constructor | Description |
|---|---|
OptionEditorBase(Option<T> option,
C control) |
Creates an editable AbstractPropertyEditor instance for the given option
using the given editing control.
|
OptionEditorBase(Option<T> option,
C control,
boolean readonly) |
Creates an AbstractPropertyEditor instance for the given option
using the given editing control.
|
| Modifier and Type | Method | Description |
|---|---|---|
C |
getEditor() |
Returns the editor responsible for editing this option.
|
Option<T> |
getOption() |
Returns the option that this property editor is responsible for editing.
|
T |
getValue() |
Returns the current value in the editor
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetValue, valuePropertypublic OptionEditorBase(Option<T> option, C control)
option - The option that the instance is responsible for editing.control - The control that is responsible for editing the option.public OptionEditorBase(Option<T> option, C control, boolean readonly)
option - The option that the instance is responsible for editing.control - The control that is responsible for editing the option.readonly - Specifies whether the editor should allow input or not.public final Option<T> getOption()
Option of type T that will be edited with this editorpublic C getEditor()
getEditor in interface OptionEditor<T>Node used for editing this optionpublic T getValue()
getValue in interface OptionEditor<T>