

Public Member Functions | |
| LogNavigationBar (LogEntryTable table) | |
| void | setEventHandler (ActionListener listener) |
| void | setEnabled (boolean enabled) |
| JButton | getSearchBtn () |
| JButton | getBeginBtn () |
| JButton | getEndBtn () |
| JButton | getPrevBtn () |
| JButton | getNextBtn () |
| JButton | getSelectedBtn () |
| void | actionPerformed (ActionEvent e) |
Private Member Functions | |
| void | initialize () |
Private Attributes | |
| JButton | beginBtn |
| JButton | endBtn |
| JButton | prevBtn |
| JButton | nextBtn |
| JButton | selectedBtn |
| JButton | searchBtn |
| LogEntryTable | table |
The toolbar with the controls to navigate through the logs in the table.
| alma::acs::logging::dialogs::main::LogNavigationBar::LogNavigationBar | ( | LogEntryTable | table | ) | [inline] |
Constructor
References initialize().
| void alma::acs::logging::dialogs::main::LogNavigationBar::actionPerformed | ( | ActionEvent | e | ) | [inline] |
References beginBtn, endBtn, nextBtn, prevBtn, alma::acs::logging::table::LogEntryTable::scrollToFirstRow(), alma::acs::logging::table::LogEntryTable::scrollToLastRow(), alma::acs::logging::table::LogEntryTable::scrollToNextSelectedRow(), alma::acs::logging::table::LogEntryTable::scrollToPrevSelectedRow(), alma::acs::logging::table::LogEntryTable::scrollToSelectedRow(), selectedBtn, and table.
| JButton alma::acs::logging::dialogs::main::LogNavigationBar::getBeginBtn | ( | ) | [inline] |
References beginBtn.
| JButton alma::acs::logging::dialogs::main::LogNavigationBar::getEndBtn | ( | ) | [inline] |
References endBtn.
| JButton alma::acs::logging::dialogs::main::LogNavigationBar::getNextBtn | ( | ) | [inline] |
References nextBtn.
| JButton alma::acs::logging::dialogs::main::LogNavigationBar::getPrevBtn | ( | ) | [inline] |
References prevBtn.
| JButton alma::acs::logging::dialogs::main::LogNavigationBar::getSearchBtn | ( | ) | [inline] |
References searchBtn.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed().
| JButton alma::acs::logging::dialogs::main::LogNavigationBar::getSelectedBtn | ( | ) | [inline] |
References selectedBtn.
| void alma::acs::logging::dialogs::main::LogNavigationBar::initialize | ( | ) | [inline, private] |
Initialize the GUI
References beginBtn, endBtn, nextBtn, prevBtn, searchBtn, and selectedBtn.
Referenced by LogNavigationBar().
| void alma::acs::logging::dialogs::main::LogNavigationBar::setEnabled | ( | boolean | enabled | ) | [inline] |
Enable/Disable all the control in the GUI than can cause the invalidation of the logs
| enabled | If true the controls are enabled |
References beginBtn, endBtn, nextBtn, prevBtn, searchBtn, and selectedBtn.
Referenced by com::cosylab::logging::LoggingClient::errorAcknowledged(), com::cosylab::logging::LoggingClient::setEnabled(), and com::cosylab::logging::LoggingClient::showErrorMessage().
| void alma::acs::logging::dialogs::main::LogNavigationBar::setEventHandler | ( | ActionListener | listener | ) | [inline] |
Set the event handler for the search button
| listener | The action listener |
References searchBtn.
Referenced by com::cosylab::logging::LoggingClient::initConnections().
JButton alma::acs::logging::dialogs::main::LogNavigationBar::beginBtn [private] |
The button to jump at the beginning of the document
Referenced by actionPerformed(), getBeginBtn(), initialize(), and setEnabled().
JButton alma::acs::logging::dialogs::main::LogNavigationBar::endBtn [private] |
The button to jump at the beginning of the document
Referenced by actionPerformed(), getEndBtn(), initialize(), and setEnabled().
JButton alma::acs::logging::dialogs::main::LogNavigationBar::nextBtn [private] |
The button to jump to the next row
Referenced by actionPerformed(), getNextBtn(), initialize(), and setEnabled().
JButton alma::acs::logging::dialogs::main::LogNavigationBar::prevBtn [private] |
The button to jump to the previous row
Referenced by actionPerformed(), getPrevBtn(), initialize(), and setEnabled().
JButton alma::acs::logging::dialogs::main::LogNavigationBar::searchBtn [private] |
The search button in the toolbar
Referenced by getSearchBtn(), initialize(), setEnabled(), and setEventHandler().
JButton alma::acs::logging::dialogs::main::LogNavigationBar::selectedBtn [private] |
The button to jump to the selected row
Referenced by actionPerformed(), getSelectedBtn(), initialize(), and setEnabled().
The table of logs
Referenced by actionPerformed().
1.6.2