Module com.gluonhq.charm.glisten
Interface OptionEditor<T>
-
- Type Parameters:
T
- The type of the property that the OptionEditor is responsible for editing.
- All Known Implementing Classes:
OptionEditorBase
public interface OptionEditor<T>
The base interface for all editors used by theSettingsPane
control.- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Node
getEditor()
Returns the editor responsible for editing this option.T
getValue()
Returns the current value in the editorvoid
setValue(T value)
Sets the value to display in the editorProperty<T>
valueProperty()
Returns the value property bound to this editor
-
-
-
Property Detail
-
value
Property<T> valueProperty
Returns the value property bound to this editor- See Also:
getValue()
,setValue(T)
-
-
Method Detail
-
getEditor
Node getEditor()
Returns the editor responsible for editing this option.- Returns:
- the
Node
used for editing this option
-
valueProperty
Property<T> valueProperty()
Returns the value property bound to this editor- See Also:
getValue()
,setValue(T)
-
getValue
T getValue()
Returns the current value in the editor- Returns:
- T the value in the editor, of type T
-
setValue
void setValue(T value)
Sets the value to display in the editor- Parameters:
value
- sets the value to display in the editor, of type T
-
-