Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

List of all members.

Public Member Functions

 LogToolBar (LogTypeHelper initialLogLvl, LogTypeHelper intialDiscardLvl)
void setEventHandler (ActionListener listener)
JComboBox getDiscardLevelCB ()
JComboBox getLogLevelCB ()
JButton getClearLogsBtn ()
JButton getPauseBtn ()
JButton getFiltersBtn ()
JButton getZoomBtn ()
boolean clickPauseBtn ()
boolean pause ()
boolean unpause ()
Override void setEnabled (boolean enabled)
boolean isPaused ()
void setZoomable (boolean zoomable)

Static Public Attributes

final String pauseStr = "<HTML><FONT size=-2>Pause</FONT>"
final String playStr = "<HTML><FONT size=-2>Play</FONT>"

Private Member Functions

void setupToolBar ()

Private Attributes

JComboBox logLevelCB
JComboBox discardLevelCB
JButton pauseBtn
boolean pauseBtnPaused
ImageIcon pauseIcon
ImageIcon playIcon
JButton clearLogsBtn
JButton filtersBtn
JButton zoomBtn
LogTypeHelper initialDiscardLevel
LogTypeHelper initialLogLevel

Detailed Description

The toolbar of the main window

Author:
acaproni


Constructor & Destructor Documentation

alma::acs::logging::dialogs::main::LogToolBar::LogToolBar LogTypeHelper  initialLogLvl,
LogTypeHelper  intialDiscardLvl
[inline]
 

Constructor

Parameters:
initialLogLvl The initial log level to set in the CB
intialDiscardLvl The initial discard level to set in the COB


Member Function Documentation

boolean alma::acs::logging::dialogs::main::LogToolBar::clickPauseBtn  )  [inline]
 

The pause has been pressed Change the test and icon in the button.

Returns:
true if the button is in pause

JButton alma::acs::logging::dialogs::main::LogToolBar::getClearLogsBtn  )  [inline]
 

Returns:
The button to clear the logs

JComboBox alma::acs::logging::dialogs::main::LogToolBar::getDiscardLevelCB  )  [inline]
 

Returns:
The discard level CB

JButton alma::acs::logging::dialogs::main::LogToolBar::getFiltersBtn  )  [inline]
 

Returns:
The filter button

JComboBox alma::acs::logging::dialogs::main::LogToolBar::getLogLevelCB  )  [inline]
 

Returns:
The log level CB

JButton alma::acs::logging::dialogs::main::LogToolBar::getPauseBtn  )  [inline]
 

Returns:
The pause button

JButton alma::acs::logging::dialogs::main::LogToolBar::getZoomBtn  )  [inline]
 

Returns:
The zoom button

boolean alma::acs::logging::dialogs::main::LogToolBar::isPaused  )  [inline]
 

Returns:
true if the play/pause button is pressed

boolean alma::acs::logging::dialogs::main::LogToolBar::pause  )  [inline]
 

Set the play/pause button in pause mode

Returns:
The status of the button previous of the command (true means pasused)

Override void alma::acs::logging::dialogs::main::LogToolBar::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

void alma::acs::logging::dialogs::main::LogToolBar::setEventHandler ActionListener  listener  )  [inline]
 

Set the event handler for the widgets in the toolbar

Parameters:
listener The action listener

void alma::acs::logging::dialogs::main::LogToolBar::setupToolBar  )  [inline, private]
 

Builds the toolbar

void alma::acs::logging::dialogs::main::LogToolBar::setZoomable boolean  zoomable  )  [inline]
 

Set the state of the zoom button

Parameters:
zoomable If true the zoom button is enabled.

boolean alma::acs::logging::dialogs::main::LogToolBar::unpause  )  [inline]
 

Unpause the play/pause button

Returns:
The status of the button previous of the command (true means pasused)


Member Data Documentation

JButton alma::acs::logging::dialogs::main::LogToolBar::clearLogsBtn [private]
 

The button to delete the logs

JComboBox alma::acs::logging::dialogs::main::LogToolBar::discardLevelCB [private]
 

The ComboBox with the discard level in the toolbar (the logs with a level lower then what is shown in this ComboBox are discarded when read from the NC)

JButton alma::acs::logging::dialogs::main::LogToolBar::filtersBtn [private]
 

The button to manage filters

LogTypeHelper alma::acs::logging::dialogs::main::LogToolBar::initialDiscardLevel [private]
 

The initial discard level

LogTypeHelper alma::acs::logging::dialogs::main::LogToolBar::initialLogLevel [private]
 

The initial log level

JComboBox alma::acs::logging::dialogs::main::LogToolBar::logLevelCB [private]
 

The ComboBox in the toolbar and its default value (i.e. the log level at startup

JButton alma::acs::logging::dialogs::main::LogToolBar::pauseBtn [private]
 

boolean alma::acs::logging::dialogs::main::LogToolBar::pauseBtnPaused [private]
 

ImageIcon alma::acs::logging::dialogs::main::LogToolBar::pauseIcon [private]
 

final String alma::acs::logging::dialogs::main::LogToolBar::pauseStr = "<HTML><FONT size=-2>Pause</FONT>" [static]
 

ImageIcon alma::acs::logging::dialogs::main::LogToolBar::playIcon [private]
 

final String alma::acs::logging::dialogs::main::LogToolBar::playStr = "<HTML><FONT size=-2>Play</FONT>" [static]
 

JButton alma::acs::logging::dialogs::main::LogToolBar::zoomBtn [private]
 

The button for zooming


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:49 2009 for ACS Java API by doxygen 1.3.8