Class FunctionColumnAdapter<Bean,Value>
- java.lang.Object
-
- io.github.jonestimd.swing.table.model.AbstractColumnAdapter<Bean,Value>
-
- io.github.jonestimd.swing.table.model.ConstantColumnAdapter<Bean,Value>
-
- io.github.jonestimd.swing.table.model.FunctionColumnAdapter<Bean,Value>
-
- All Implemented Interfaces:
ReadAccessor<Bean,Value>
,ReadWriteAccessor<Bean,Value>
,WriteAccessor<Bean,Value>
,ColumnAdapter<Bean,Value>
public class FunctionColumnAdapter<Bean,Value> extends ConstantColumnAdapter<Bean,Value>
Bean adapter for a table column that uses functions to get/set the property value.
-
-
Constructor Summary
Constructors Constructor Description FunctionColumnAdapter(java.util.ResourceBundle bundle, java.lang.String tableResourcePrefix, java.lang.String columnId, java.lang.Class<? super Value> valueType, java.util.function.Function<Bean,Value> getter, java.util.function.BiConsumer<Bean,Value> setter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value
getValue(Bean summary)
void
setValue(Bean summary, Value value)
-
Methods inherited from class io.github.jonestimd.swing.table.model.ConstantColumnAdapter
getType, isEditable
-
Methods inherited from class io.github.jonestimd.swing.table.model.AbstractColumnAdapter
getColumnId, getName, getResource
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.jonestimd.swing.table.model.ColumnAdapter
getCursor, handleClick
-
-