E - public interface PropertyWidget<E>
| Modifier and Type | Method and Description |
|---|---|
ConfiguredPropertyDescriptor |
getPropertyDescriptor()
Gets the
ConfiguredPropertyDescriptor that this
PropertyWidget is modelling. |
E |
getValue()
Gets the current value of the property given the current state in the UI.
|
javax.swing.JComponent |
getWidget()
Gets the visual widget to show on the UI.
|
void |
initialize(E value)
Initializes the property widget with the initial value of the property
|
boolean |
isSet()
Determines if the property is set given the current state in the UI.
|
void |
onValueTouched(E value)
Called on a widget if the value it contains is prone to have been changed
by a another party (typically some sort of shortcut in the UI to populate
values or similar).
|
void initialize(E value)
value - javax.swing.JComponent getWidget()
ConfiguredPropertyDescriptor getPropertyDescriptor()
ConfiguredPropertyDescriptor that this
PropertyWidget is modelling.void onValueTouched(E value)
boolean isSet()
E getValue()
Copyright © 2015. All Rights Reserved.