alma::acs::logging::dialogs::main::LogNavigationBar Class Reference

Inheritance diagram for alma::acs::logging::dialogs::main::LogNavigationBar:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::dialogs::main::LogNavigationBar:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

The toolbar with the controls to navigate through the logs in the table.

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::logging::dialogs::main::LogNavigationBar::LogNavigationBar ( LogEntryTable  table  )  [inline]

Constructor

References initialize().


Member Function Documentation

void alma::acs::logging::dialogs::main::LogNavigationBar::actionPerformed ( ActionEvent  e  )  [inline]
JButton alma::acs::logging::dialogs::main::LogNavigationBar::getBeginBtn (  )  [inline]
Returns:
the beginBtn

References beginBtn.

JButton alma::acs::logging::dialogs::main::LogNavigationBar::getEndBtn (  )  [inline]
Returns:
the endBtn

References endBtn.

JButton alma::acs::logging::dialogs::main::LogNavigationBar::getNextBtn (  )  [inline]
Returns:
the nextBtn

References nextBtn.

JButton alma::acs::logging::dialogs::main::LogNavigationBar::getPrevBtn (  )  [inline]
Returns:
the prevBtn

References prevBtn.

JButton alma::acs::logging::dialogs::main::LogNavigationBar::getSearchBtn (  )  [inline]
Returns:
The search button

References searchBtn.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed().

JButton alma::acs::logging::dialogs::main::LogNavigationBar::getSelectedBtn (  )  [inline]
Returns:
the selectedBtn

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

Parameters:
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

Parameters:
listener The action listener

References searchBtn.

Referenced by com::cosylab::logging::LoggingClient::initConnections().


Member Data Documentation

The button to jump at the beginning of the document

Referenced by actionPerformed(), getBeginBtn(), initialize(), and setEnabled().

The button to jump at the beginning of the document

Referenced by actionPerformed(), getEndBtn(), initialize(), and setEnabled().

The button to jump to the next row

Referenced by actionPerformed(), getNextBtn(), initialize(), and setEnabled().

The button to jump to the previous row

Referenced by actionPerformed(), getPrevBtn(), initialize(), and setEnabled().

The search button in the toolbar

Referenced by getSearchBtn(), initialize(), setEnabled(), and setEventHandler().

The button to jump to the selected row

Referenced by actionPerformed(), getSelectedBtn(), initialize(), and setEnabled().

The table of logs

Referenced by actionPerformed().


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

Generated by  doxygen 1.6.2