Module is.codion.swing.common.ui
Interface FilterTableCellEditor<T>
- Type Parameters:
T
- the value type
- All Superinterfaces:
CellEditor
,TableCellEditor
A
TableCellEditor
implementation for FilterTable
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionComponentValue<T,
? extends JComponent> static <T> FilterTableCellEditor<T>
filterTableCellEditor
(Supplier<ComponentValue<T, ? extends JComponent>> inputComponent) Creates a new defaultFilterTableCellEditor
instance.Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
Methods inherited from interface javax.swing.table.TableCellEditor
getTableCellEditorComponent
-
Method Details
-
componentValue
ComponentValue<T,? extends JComponent> componentValue()- Returns:
- the underlying component value
-
filterTableCellEditor
static <T> FilterTableCellEditor<T> filterTableCellEditor(Supplier<ComponentValue<T, ? extends JComponent>> inputComponent) Creates a new defaultFilterTableCellEditor
instance.- Type Parameters:
T
- the cell value type- Parameters:
inputComponent
- supplies the input component- Returns:
- a new default
FilterTableCellEditor
instance
-