Class HeaderDetailTableRowSorter.ModelChange
- java.lang.Object
-
- io.github.jonestimd.swing.table.sort.HeaderDetailTableRowSorter.ModelChange
-
- Enclosing class:
- HeaderDetailTableRowSorter<H,M extends BufferedHeaderDetailTableModel<H>>
protected class HeaderDetailTableRowSorter.ModelChange extends java.lang.Object
A helper class for updating the view/model mappings. It represents a change to the model that needs to be reflected in the view.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
endBean
protected int
firstBean
protected int
firstDetail
-
Constructor Summary
Constructors Modifier Constructor Description protected
ModelChange(int firstRow, int endRow, boolean delete)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
deltaBeans()
Get the number of header/detail groups involved in the change.boolean
isBeanChange()
Is this change for header/detail groups or just details?
-