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

alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel Class Reference

Collaboration diagram for alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LogLevelSelectorPanel (LoggingConfigurableOperations configurable, String name) throws LogLvlSelNotSupportedException
void actionPerformed (ActionEvent e)
boolean userChangedLogLevels ()

Public Attributes

LogTypeRenderer editorLocal
LogTypeRenderer editorGlobal

Private Member Functions

void initialize (String name) throws LogLvlSelNotSupportedException
JComponent initLogLevelsPanel () throws LogLvlSelNotSupportedException
LogLevelHelper[] loggersLbl () throws Exception
void applyChanges ()
JPanel initAllLoggersPanel ()

Private Attributes

JButton applyBtn = new JButton("Apply")
LoggingConfigurableOperations logConf = null
LogLevelTable table
LogLevelModel model
JComboBox allLocalCB
JComboBox allGlobalCB
JCheckBox defaultCB = new JCheckBox("",false)

Detailed Description

The panel to select the log level of the named loggers

Author:
acaproni


Constructor & Destructor Documentation

alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::LogLevelSelectorPanel LoggingConfigurableOperations  configurable,
String  name
throws LogLvlSelNotSupportedException [inline]
 

Constructor

Parameters:
owner The windo that owns this dialog (it can be null)
configurable The LoggingConfigurable whose log level the user wants to read or set
title The name of the configurable to add to the tile
Exceptions:
LogLvlSelNotSupportedException If the configurable does not support selection


Member Function Documentation

void alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::actionPerformed ActionEvent  e  )  [inline]
 

See also:
java.awt.event.ActionListener

void alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::applyChanges  )  [inline, private]
 

Apply the changes to the log levels, if any

JPanel alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::initAllLoggersPanel  )  [inline, private]
 

Setup the panel with the option for all the named loggers

Returns:

void alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::initialize String  name  )  throws LogLvlSelNotSupportedException [inline, private]
 

Init the GUI

Exceptions:
LogLvlSelNotSupportedException If the configurable does not support selection

JComponent alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::initLogLevelsPanel  )  throws LogLvlSelNotSupportedException [inline, private]
 

Initialize the log level panel (i.e. the table)

Returns:
The panel with the table of log levels
Exceptions:
LogLvlSelNotSupportedException If the configurable does not support selection

LogLevelHelper [] alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::loggersLbl  )  throws Exception [inline, private]
 

set the labels of the logger names

Returns:

boolean alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::userChangedLogLevels  )  [inline]
 

Check if the user changed one of the logger level

Returns:
true if the user changed at least one level


Member Data Documentation

JComboBox alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::allGlobalCB [private]
 

JComboBox alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::allLocalCB [private]
 

JButton alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::applyBtn = new JButton("Apply") [private]
 

JCheckBox alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::defaultCB = new JCheckBox("",false) [private]
 

LogTypeRenderer alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::editorGlobal
 

LogTypeRenderer alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::editorLocal
 

LoggingConfigurableOperations alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::logConf = null [private]
 

LogLevelModel alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::model [private]
 

LogLevelTable alma::acs::gui::loglevel::leveldlg::LogLevelSelectorPanel::table [private]
 


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