Package io.github.jonestimd.swing.table
Interface PropertyAdapter<T>
-
- All Known Implementing Classes:
FunctionPropertyAdapter
public interface PropertyAdapter<T>An interface for mapping a bound bean property to a UI element.- See Also:
ObservableBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.text.FormatgetFormat()java.lang.StringgetLabel()java.lang.StringgetName()TgetValue()
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- the property name used in
PropertyChangeEvents.
-
getLabel
java.lang.String getLabel()
- Returns:
- the label for the UI element.
-
getValue
T getValue()
- Returns:
- the property value.
-
getFormat
java.text.Format getFormat()
- Returns:
- a formatter for converting the value to a
String.
-
-