public interface SearchableTableModel extends TableModel
Modifier and Type | Method and Description |
---|---|
int |
getActualRow(int rowIndex)
Returns the actual row in the model.
|
int |
getActualRowCount()
Returns the actual row count in the model.
|
String |
getSeachString()
Returns the current search string.
|
boolean |
isRegExpSearch()
Returns whether the last search was a regular expression based one.
|
void |
search(String searchString,
boolean regexp)
Performs a search for the given string.
|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
int getActualRow(int rowIndex)
rowIndex
- the row of the currently displayed dataint getActualRowCount()
void search(String searchString, boolean regexp)
searchString
- the string to search forregexp
- whether to perform regular expression matching
or just plain string comparisonString getSeachString()
boolean isRegExpSearch()
Copyright © 2017. All Rights Reserved.