

Public Member Functions | |
| SearchDialog (LoggingClient mainWin) | |
| void | search () |
| void | setVisible (boolean visible) |
Private Member Functions | |
| void | initialize () |
| void | initializeAdvancedPanel () |
| javax.swing.JPanel | getJContentPane () |
| JPanel | getUpperPanel () |
| JTextField | getFindTF () |
| JPanel | getButtonPanel () |
| JButton | getFindBtn () |
| JButton | getAdvancedBtn () |
| JButton | getDoneBtn () |
| JPanel | getCenterPanel () |
| JPanel | getOptionPanel () |
| JPanel | getDirectionPanel () |
| JRadioButton | getForwardRB () |
| JRadioButton | getBackwardRB () |
| JPanel | getSearchTypePanel () |
| JCheckBox | getRegExpCB () |
| JCheckBox | getCaseSensitiveCB () |
| JPanel | getAdvancedPanel () |
| JPanel | getAdvBtnPanel () |
| JPanel | getFindBtnPanel () |
| JPanel | getDoneBtnPanel () |
| JCheckBox | getWholeWordCB () |
Private Attributes | |
| javax.swing.JPanel | jContentPane = null |
| JPanel | upperPanel = null |
| JLabel | findLbl = null |
| JTextField | findTF = null |
| JPanel | buttonPanel = null |
| JButton | findBtn = null |
| JButton | advancedBtn = null |
| JButton | doneBtn = null |
| JPanel | centerPanel = null |
| JPanel | optionPanel = null |
| JPanel | directionPanel = null |
| JRadioButton | forwardRB = null |
| JRadioButton | backwardRB = null |
| JPanel | searchTypePanel = null |
| JCheckBox | regExpCB = null |
| JCheckBox | caseSensitiveCB = null |
| JPanel | advancedPanel = null |
| JPanel | advBtnPanel = null |
| JPanel | findBtnPanel = null |
| JPanel | doneBtnPanel = null |
| LoggingClient | loggingClient |
| JCheckBox | columnToSearchIn [] = new JCheckBox[LogField.values().length] |
| JCheckBox | additionalDataCB |
| JCheckBox | wholeWordCB = null |
| SearchEngine | searchEngine |
The dialog to look for strings in the logs
The dialog delegates the search to a search engine object
| com::cosylab::logging::search::SearchDialog::SearchDialog | ( | LoggingClient | mainWin | ) | [inline] |
This is the default constructor
References com::cosylab::logging::LoggingClient::getLogEntryTable(), initialize(), loggingClient, and searchEngine.
| JButton com::cosylab::logging::search::SearchDialog::getAdvancedBtn | ( | ) | [inline, private] |
This method initializes jButton
References advancedBtn, and advancedPanel.
Referenced by getAdvBtnPanel().
| JPanel com::cosylab::logging::search::SearchDialog::getAdvancedPanel | ( | ) | [inline, private] |
This method initializes jPanel
References advancedPanel.
Referenced by getOptionPanel().
| JPanel com::cosylab::logging::search::SearchDialog::getAdvBtnPanel | ( | ) | [inline, private] |
This method initializes jPanel
References advBtnPanel, and getAdvancedBtn().
Referenced by getButtonPanel().
| JRadioButton com::cosylab::logging::search::SearchDialog::getBackwardRB | ( | ) | [inline, private] |
This method initializes jRadioButton
References backwardRB, and forwardRB.
Referenced by getDirectionPanel().
| JPanel com::cosylab::logging::search::SearchDialog::getButtonPanel | ( | ) | [inline, private] |
This method initializes jPanel
References buttonPanel, getAdvBtnPanel(), getDoneBtnPanel(), and getFindBtnPanel().
Referenced by getJContentPane().
| JCheckBox com::cosylab::logging::search::SearchDialog::getCaseSensitiveCB | ( | ) | [inline, private] |
This method initializes jCheckBox
References caseSensitiveCB.
Referenced by getSearchTypePanel().
| JPanel com::cosylab::logging::search::SearchDialog::getCenterPanel | ( | ) | [inline, private] |
This method initializes jPanel
References centerPanel, and getOptionPanel().
Referenced by getJContentPane().
| JPanel com::cosylab::logging::search::SearchDialog::getDirectionPanel | ( | ) | [inline, private] |
This method initializes jPanel
References directionPanel, getBackwardRB(), and getForwardRB().
Referenced by getOptionPanel().
| JButton com::cosylab::logging::search::SearchDialog::getDoneBtn | ( | ) | [inline, private] |
This method initializes jButton
References doneBtn, and setVisible().
Referenced by getDoneBtnPanel().
| JPanel com::cosylab::logging::search::SearchDialog::getDoneBtnPanel | ( | ) | [inline, private] |
This method initializes jPanel
References doneBtnPanel, and getDoneBtn().
Referenced by getButtonPanel().
| JButton com::cosylab::logging::search::SearchDialog::getFindBtn | ( | ) | [inline, private] |
This method initializes jButton
References findBtn, and search().
Referenced by getFindBtnPanel().
| JPanel com::cosylab::logging::search::SearchDialog::getFindBtnPanel | ( | ) | [inline, private] |
This method initializes jPanel
References findBtnPanel, and getFindBtn().
Referenced by getButtonPanel().
| JTextField com::cosylab::logging::search::SearchDialog::getFindTF | ( | ) | [inline, private] |
This method initializes jTextField
References findTF, and search().
Referenced by getUpperPanel().
| JRadioButton com::cosylab::logging::search::SearchDialog::getForwardRB | ( | ) | [inline, private] |
This method initializes jRadioButton
References backwardRB, and forwardRB.
Referenced by getDirectionPanel().
| javax.swing.JPanel com::cosylab::logging::search::SearchDialog::getJContentPane | ( | ) | [inline, private] |
This method initializes jContentPane
References getButtonPanel(), getCenterPanel(), getUpperPanel(), and jContentPane.
Referenced by initialize().
| JPanel com::cosylab::logging::search::SearchDialog::getOptionPanel | ( | ) | [inline, private] |
This method initializes jPanel
References getAdvancedPanel(), getDirectionPanel(), getSearchTypePanel(), and optionPanel.
Referenced by getCenterPanel().
| JCheckBox com::cosylab::logging::search::SearchDialog::getRegExpCB | ( | ) | [inline, private] |
This method initializes jCheckBox
References regExpCB, and wholeWordCB.
Referenced by getSearchTypePanel().
| JPanel com::cosylab::logging::search::SearchDialog::getSearchTypePanel | ( | ) | [inline, private] |
This method initializes jPanel
References getCaseSensitiveCB(), getRegExpCB(), getWholeWordCB(), and searchTypePanel.
Referenced by getOptionPanel().
| JPanel com::cosylab::logging::search::SearchDialog::getUpperPanel | ( | ) | [inline, private] |
This method initializes jPanel
References findLbl, getFindTF(), and upperPanel.
Referenced by getJContentPane().
| JCheckBox com::cosylab::logging::search::SearchDialog::getWholeWordCB | ( | ) | [inline, private] |
This method initializes jCheckBox
References wholeWordCB.
Referenced by getSearchTypePanel().
| void com::cosylab::logging::search::SearchDialog::initialize | ( | ) | [inline, private] |
This method initializes this
References getJContentPane(), and initializeAdvancedPanel().
Referenced by SearchDialog().
| void com::cosylab::logging::search::SearchDialog::initializeAdvancedPanel | ( | ) | [inline, private] |
Initialize the advanced panel adding a check box for each column of the main window If a column is not visible in the main window then the checkbox is disabled and unchecked
References additionalDataCB, advancedPanel, columnToSearchIn, com::cosylab::logging::LoggingClient::getLogEntryTable(), alma::acs::logging::table::LogEntryTable::getVisibleColumns(), and loggingClient.
Referenced by initialize().
| void com::cosylab::logging::search::SearchDialog::search | ( | ) | [inline] |
Search the string/regular expriossion delegating the SearchEngine
References additionalDataCB, caseSensitiveCB, columnToSearchIn, com::cosylab::logging::LoggingClient::enableSearchNext(), com::cosylab::logging::search::SearchEngine::find(), findTF, forwardRB, com::cosylab::logging::LoggingClient::getLogEntryTable(), loggingClient, regExpCB, searchEngine, and wholeWordCB.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), getFindBtn(), and getFindTF().
| void com::cosylab::logging::search::SearchDialog::setVisible | ( | boolean | visible | ) | [inline] |
Override JDialog.setVisible to show this dialog over the LogsingClient component.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::close(), and getDoneBtn().
JCheckBox com::cosylab::logging::search::SearchDialog::additionalDataCB [private] |
The checkbox to search also in the additional data field of the logs
Referenced by initializeAdvancedPanel(), and search().
JButton com::cosylab::logging::search::SearchDialog::advancedBtn = null [private] |
Referenced by getAdvancedBtn().
JPanel com::cosylab::logging::search::SearchDialog::advancedPanel = null [private] |
Referenced by getAdvancedBtn(), getAdvancedPanel(), and initializeAdvancedPanel().
JPanel com::cosylab::logging::search::SearchDialog::advBtnPanel = null [private] |
Referenced by getAdvBtnPanel().
JRadioButton com::cosylab::logging::search::SearchDialog::backwardRB = null [private] |
Referenced by getBackwardRB(), and getForwardRB().
JPanel com::cosylab::logging::search::SearchDialog::buttonPanel = null [private] |
Referenced by getButtonPanel().
JCheckBox com::cosylab::logging::search::SearchDialog::caseSensitiveCB = null [private] |
Referenced by getCaseSensitiveCB(), and search().
JPanel com::cosylab::logging::search::SearchDialog::centerPanel = null [private] |
Referenced by getCenterPanel().
JCheckBox com::cosylab::logging::search::SearchDialog::columnToSearchIn[] = new JCheckBox[LogField.values().length] [private] |
One CheckBox per each field of a log entry
Referenced by initializeAdvancedPanel(), and search().
JPanel com::cosylab::logging::search::SearchDialog::directionPanel = null [private] |
Referenced by getDirectionPanel().
JButton com::cosylab::logging::search::SearchDialog::doneBtn = null [private] |
Referenced by getDoneBtn().
JPanel com::cosylab::logging::search::SearchDialog::doneBtnPanel = null [private] |
Referenced by getDoneBtnPanel().
JButton com::cosylab::logging::search::SearchDialog::findBtn = null [private] |
Referenced by getFindBtn().
JPanel com::cosylab::logging::search::SearchDialog::findBtnPanel = null [private] |
Referenced by getFindBtnPanel().
JLabel com::cosylab::logging::search::SearchDialog::findLbl = null [private] |
Referenced by getUpperPanel().
JTextField com::cosylab::logging::search::SearchDialog::findTF = null [private] |
Referenced by getFindTF(), and search().
JRadioButton com::cosylab::logging::search::SearchDialog::forwardRB = null [private] |
Referenced by getBackwardRB(), getForwardRB(), and search().
javax.swing.JPanel com::cosylab::logging::search::SearchDialog::jContentPane = null [private] |
Referenced by getJContentPane().
The logging client (main window)
Referenced by initializeAdvancedPanel(), search(), and SearchDialog().
JPanel com::cosylab::logging::search::SearchDialog::optionPanel = null [private] |
Referenced by getOptionPanel().
JCheckBox com::cosylab::logging::search::SearchDialog::regExpCB = null [private] |
Referenced by getRegExpCB(), and search().
Referenced by search(), and SearchDialog().
JPanel com::cosylab::logging::search::SearchDialog::searchTypePanel = null [private] |
Referenced by getSearchTypePanel().
JPanel com::cosylab::logging::search::SearchDialog::upperPanel = null [private] |
Referenced by getUpperPanel().
JCheckBox com::cosylab::logging::search::SearchDialog::wholeWordCB = null [private] |
Referenced by getRegExpCB(), getWholeWordCB(), and search().
1.6.2