
Public Member Functions | |
| SearchEngine (AlarmTable table, AlarmTableModel model) | |
| int | search (String string, boolean next) |
Private Attributes | |
| final AlarmTable | table |
| final AlarmTableModel | model |
Object of this class perform the search function on the alarm table.
| alma::acsplugins::alarmsystem::gui::table::SearchEngine::SearchEngine | ( | AlarmTable | table, | |
| AlarmTableModel | model | |||
| ) | [inline] |
Constructor
| table | The table of logs | |
| model | The table model |
| int alma::acsplugins::alarmsystem::gui::table::SearchEngine::search | ( | String | string, | |
| boolean | next | |||
| ) | [inline] |
Search for a string in the table
The method search for the string only in the visible columns. It succeeds is a column contains the passed string.
The returned values tell if the methods reached the end (or the beginning) of the table without finding a matching row.
| string | The string to search in the table | |
| next | if true search the next entry, otherwise the previous |
References alma::acsplugins::alarmsystem::gui::table::AlarmTableModel::getValueAt(), model, and table.
Referenced by alma::acsplugins::alarmsystem::gui::table::AlarmTable::search().
The model of the table of alarms
Referenced by search().
The table of alarms
Referenced by search().
1.6.2