RowSorter.SortKey
Constructor and Description |
---|
ProxyRowSorter(JTable pTable) |
ProxyRowSorter(JTable pTable,
javafx.beans.value.ObservableValue<RowSorter<? extends T>> pObservableRowSorter) |
Modifier and Type | Method and Description |
---|---|
void |
addRowSorterListener(RowSorterListener pListener) |
void |
allRowsChanged() |
int |
convertRowIndexToModel(int pIdx) |
int |
convertRowIndexToView(int pIdx) |
T |
getModel() |
int |
getModelRowCount() |
List<? extends RowSorter.SortKey> |
getSortKeys() |
int |
getViewRowCount() |
void |
modelStructureChanged() |
void |
removeRowSorterListener(RowSorterListener pListener) |
void |
rowsDeleted(int pFirstRow,
int pEndRow) |
void |
rowsInserted(int pFirstRow,
int pEndRow) |
void |
rowsUpdated(int pFirstRow,
int pEndRow) |
void |
rowsUpdated(int pFirstRow,
int pEndRow,
int pCol) |
void |
setSortKeys(List<? extends RowSorter.SortKey> pKeys) |
void |
toggleSortOrder(int pCol) |
fireRowSorterChanged, fireSortOrderChanged
public ProxyRowSorter(JTable pTable)
public void toggleSortOrder(int pCol)
toggleSortOrder
in class RowSorter<T>
public int convertRowIndexToModel(int pIdx)
convertRowIndexToModel
in class RowSorter<T>
public int convertRowIndexToView(int pIdx)
convertRowIndexToView
in class RowSorter<T>
public List<? extends RowSorter.SortKey> getSortKeys()
getSortKeys
in class RowSorter<T>
public void setSortKeys(List<? extends RowSorter.SortKey> pKeys)
setSortKeys
in class RowSorter<T>
public int getViewRowCount()
getViewRowCount
in class RowSorter<T>
public int getModelRowCount()
getModelRowCount
in class RowSorter<T>
public void modelStructureChanged()
modelStructureChanged
in class RowSorter<T>
public void allRowsChanged()
allRowsChanged
in class RowSorter<T>
public void rowsInserted(int pFirstRow, int pEndRow)
rowsInserted
in class RowSorter<T>
public void rowsDeleted(int pFirstRow, int pEndRow)
rowsDeleted
in class RowSorter<T>
public void rowsUpdated(int pFirstRow, int pEndRow)
rowsUpdated
in class RowSorter<T>
public void rowsUpdated(int pFirstRow, int pEndRow, int pCol)
rowsUpdated
in class RowSorter<T>
public void addRowSorterListener(RowSorterListener pListener)
addRowSorterListener
in class RowSorter<T>
public void removeRowSorterListener(RowSorterListener pListener)
removeRowSorterListener
in class RowSorter<T>
Copyright © 2023. All rights reserved.