public class AnalysisProblemsTableModel extends ListTableModel<AnalysisProblem>
| Modifier and Type | Field and Description |
|---|---|
protected int |
myErrorCount |
protected int |
myHintCount |
protected int |
myWarningCount |
| Constructor and Description |
|---|
AnalysisProblemsTableModel(AnalysisProblemsPresentationHelper presentationHelper) |
| Modifier and Type | Method and Description |
|---|---|
AnalysisProblem |
addProblemsAndReturnReplacementForSelection(java.util.List<? extends AnalysisProblem> problems,
AnalysisProblem oldSelectedProblem) |
boolean |
canExchangeRows(int oldIndex,
int newIndex) |
void |
exchangeRows(int idx1,
int idx2) |
javax.swing.RowSorter.SortKey |
getDefaultSortKey() |
java.lang.String |
getStatusText() |
boolean |
hasErrors() |
boolean |
hasWarnings() |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
protected static boolean |
lookSimilar(AnalysisProblem problem1,
AnalysisProblem problem2) |
void |
removeAll() |
protected void |
removeRows(int firstRow,
int lastRow) |
void |
removeRows(java.util.function.Predicate<? super AnalysisProblem> predicate) |
protected void |
updateProblemsCountAfterFilter(AnalysisProblem problem,
int delta) |
addRow, addRow, addRows, getAspectOf, getColumnClass, getColumnCount, getColumnInfos, getColumnName, getItem, getItems, getRowCount, getRowValue, getValueAt, indexOf, insertRow, isSortable, removeRow, setColumnInfos, setItems, setSortable, setValueAt, setValueAtaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprotected int myErrorCount
protected int myWarningCount
protected int myHintCount
public AnalysisProblemsTableModel(AnalysisProblemsPresentationHelper presentationHelper)
public javax.swing.RowSorter.SortKey getDefaultSortKey()
getDefaultSortKey in interface SortableColumnModelgetDefaultSortKey in class ListTableModel<AnalysisProblem>public boolean canExchangeRows(int oldIndex,
int newIndex)
canExchangeRows in interface EditableModelcanExchangeRows in class ListTableModel<AnalysisProblem>public void exchangeRows(int idx1,
int idx2)
exchangeRows in interface EditableModelexchangeRows in class ListTableModel<AnalysisProblem>public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class ListTableModel<AnalysisProblem>protected void removeRows(int firstRow,
int lastRow)
public void removeRows(java.util.function.Predicate<? super AnalysisProblem> predicate)
public void removeAll()
public AnalysisProblem addProblemsAndReturnReplacementForSelection(java.util.List<? extends AnalysisProblem> problems, AnalysisProblem oldSelectedProblem)
protected static boolean lookSimilar(AnalysisProblem problem1, AnalysisProblem problem2)
protected void updateProblemsCountAfterFilter(AnalysisProblem problem, int delta)
public boolean hasErrors()
public boolean hasWarnings()
public java.lang.String getStatusText()