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.Format
getFormat()
java.lang.String
getLabel()
java.lang.String
getName()
T
getValue()
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- the property name used in
PropertyChangeEvent
s.
-
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
.
-
-