Package io.github.jonestimd.swing.table
Class UnsavedChangeDecorator
- java.lang.Object
-
- io.github.jonestimd.swing.table.UnsavedChangeDecorator
-
- All Implemented Interfaces:
TableDecorator
public class UnsavedChangeDecorator extends java.lang.Object implements TableDecorator
ATableDecorator
that highlights cells that contain unsaved values.
-
-
Constructor Summary
Constructors Constructor Description UnsavedChangeDecorator()
UnsavedChangeDecorator(java.awt.Color pendingChangeBackground, java.awt.Color pendingDeleteBackground)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <B,M extends BeanTableModel<B>>
voidprepareRenderer(DecoratedTable<B,M> table, javax.swing.JComponent renderer, int modelRow, int modelColumn)
-
-
-
Method Detail
-
prepareRenderer
public <B,M extends BeanTableModel<B>> void prepareRenderer(DecoratedTable<B,M> table, javax.swing.JComponent renderer, int modelRow, int modelColumn)
- Specified by:
prepareRenderer
in interfaceTableDecorator
-
-