T - the value data typepublic interface Editor<T>
EditorManager to provide a consistent way to retrieve an editor to edit any data types.EditorManager| Modifier and Type | Method and Description |
|---|---|
default javafx.scene.Node |
createEditor()
Creates the editor node.
|
default T |
getValue()
Gets the value from the editor.
|
javafx.beans.value.ObservableValue<T> |
observableValue()
An observable value of the editor so that one can listen to the value change.
|
void |
setValue(T value)
Sets the value to the editor.
|
javafx.beans.value.ObservableValue<T> observableValue()
default T getValue()
comboBox.getValue().void setValue(T value)
comboBox.setValue(value).value - the new value.default javafx.scene.Node createEditor()