com::cosylab::logging::search::SearchDialog Class Reference

Inheritance diagram for com::cosylab::logging::search::SearchDialog:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::logging::search::SearchDialog:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Author:
acaproni

The dialog to look for strings in the logs

The dialog delegates the search to a search engine object


Constructor & Destructor Documentation

com::cosylab::logging::search::SearchDialog::SearchDialog ( LoggingClient  mainWin  )  [inline]

Member Function Documentation

JButton com::cosylab::logging::search::SearchDialog::getAdvancedBtn (  )  [inline, private]

This method initializes jButton

Returns:
javax.swing.JButton

References advancedBtn, and advancedPanel.

Referenced by getAdvBtnPanel().

JPanel com::cosylab::logging::search::SearchDialog::getAdvancedPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References advancedPanel.

Referenced by getOptionPanel().

JPanel com::cosylab::logging::search::SearchDialog::getAdvBtnPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References advBtnPanel, and getAdvancedBtn().

Referenced by getButtonPanel().

JRadioButton com::cosylab::logging::search::SearchDialog::getBackwardRB (  )  [inline, private]

This method initializes jRadioButton

Returns:
javax.swing.JRadioButton

References backwardRB, and forwardRB.

Referenced by getDirectionPanel().

JPanel com::cosylab::logging::search::SearchDialog::getButtonPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References buttonPanel, getAdvBtnPanel(), getDoneBtnPanel(), and getFindBtnPanel().

Referenced by getJContentPane().

JCheckBox com::cosylab::logging::search::SearchDialog::getCaseSensitiveCB (  )  [inline, private]

This method initializes jCheckBox

Returns:
javax.swing.JCheckBox

References caseSensitiveCB.

Referenced by getSearchTypePanel().

JPanel com::cosylab::logging::search::SearchDialog::getCenterPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References centerPanel, and getOptionPanel().

Referenced by getJContentPane().

JPanel com::cosylab::logging::search::SearchDialog::getDirectionPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References directionPanel, getBackwardRB(), and getForwardRB().

Referenced by getOptionPanel().

JButton com::cosylab::logging::search::SearchDialog::getDoneBtn (  )  [inline, private]

This method initializes jButton

Returns:
javax.swing.JButton

References doneBtn, and setVisible().

Referenced by getDoneBtnPanel().

JPanel com::cosylab::logging::search::SearchDialog::getDoneBtnPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References doneBtnPanel, and getDoneBtn().

Referenced by getButtonPanel().

JButton com::cosylab::logging::search::SearchDialog::getFindBtn (  )  [inline, private]

This method initializes jButton

Returns:
javax.swing.JButton

References findBtn, and search().

Referenced by getFindBtnPanel().

JPanel com::cosylab::logging::search::SearchDialog::getFindBtnPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References findBtnPanel, and getFindBtn().

Referenced by getButtonPanel().

JTextField com::cosylab::logging::search::SearchDialog::getFindTF (  )  [inline, private]

This method initializes jTextField

Returns:
javax.swing.JTextField

References findTF, and search().

Referenced by getUpperPanel().

JRadioButton com::cosylab::logging::search::SearchDialog::getForwardRB (  )  [inline, private]

This method initializes jRadioButton

Returns:
javax.swing.JRadioButton

References backwardRB, and forwardRB.

Referenced by getDirectionPanel().

javax.swing.JPanel com::cosylab::logging::search::SearchDialog::getJContentPane (  )  [inline, private]

This method initializes jContentPane

Returns:
javax.swing.JPanel

References getButtonPanel(), getCenterPanel(), getUpperPanel(), and jContentPane.

Referenced by initialize().

JPanel com::cosylab::logging::search::SearchDialog::getOptionPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References getAdvancedPanel(), getDirectionPanel(), getSearchTypePanel(), and optionPanel.

Referenced by getCenterPanel().

JCheckBox com::cosylab::logging::search::SearchDialog::getRegExpCB (  )  [inline, private]

This method initializes jCheckBox

Returns:
javax.swing.JCheckBox

References regExpCB, and wholeWordCB.

Referenced by getSearchTypePanel().

JPanel com::cosylab::logging::search::SearchDialog::getSearchTypePanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References getCaseSensitiveCB(), getRegExpCB(), getWholeWordCB(), and searchTypePanel.

Referenced by getOptionPanel().

JPanel com::cosylab::logging::search::SearchDialog::getUpperPanel (  )  [inline, private]

This method initializes jPanel

Returns:
javax.swing.JPanel

References findLbl, getFindTF(), and upperPanel.

Referenced by getJContentPane().

JCheckBox com::cosylab::logging::search::SearchDialog::getWholeWordCB (  )  [inline, private]

This method initializes jCheckBox

Returns:
javax.swing.JCheckBox

References wholeWordCB.

Referenced by getSearchTypePanel().

void com::cosylab::logging::search::SearchDialog::initialize (  )  [inline, private]

This method initializes this

Returns:
void

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]
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().


Member Data Documentation

The checkbox to search also in the additional data field of the logs

Referenced by initializeAdvancedPanel(), and search().

Referenced by getAdvancedBtn().

Referenced by getAdvBtnPanel().

Referenced by getBackwardRB(), and getForwardRB().

Referenced by getButtonPanel().

Referenced by getCaseSensitiveCB(), and search().

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().

Referenced by getDirectionPanel().

Referenced by getDoneBtn().

Referenced by getDoneBtnPanel().

Referenced by getFindBtn().

Referenced by getFindBtnPanel().

Referenced by getUpperPanel().

Referenced by getFindTF(), and search().

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().

Referenced by getOptionPanel().

Referenced by getRegExpCB(), and search().

Referenced by search(), and SearchDialog().

Referenced by getSearchTypePanel().

Referenced by getUpperPanel().

Referenced by getRegExpCB(), getWholeWordCB(), and search().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2