alma::acs::logging::archive::zoom::ZoomPrefsDlg Class Reference

Inheritance diagram for alma::acs::logging::archive::zoom::ZoomPrefsDlg:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::archive::zoom::ZoomPrefsDlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ZoomPrefsDlg (LoggingClient logCli, ZoomManager manager)
void actionPerformed (ActionEvent e)
void setVisible (boolean visible)

Private Member Functions

void initialize ()
JComboBox buildLogLevelCB (LogTypeHelper initialLevel)
boolean okPressed ()
void setupFolderLbl ()

Private Attributes

final LoggingClient loggingClient
final ZoomManager zoomManager
JComboBox minLevelCB
JComboBox maxLevelCB
String folder
JLabel folderLbl = new JLabel()
JButton folderBtn = new JButton("Change...")
JButton okBtn = new JButton("Ok")
JButton cancelBtn = new JButton("Cancel")

Detailed Description

The dialog to set preferences for zooming

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::logging::archive::zoom::ZoomPrefsDlg::ZoomPrefsDlg ( LoggingClient  logCli,
ZoomManager  manager 
) [inline]

Constructor

Parameters:
logCli The LoggingClient
manager The manager for zooming

References folder, alma::acs::logging::archive::zoom::ZoomManager::getRepository(), initialize(), loggingClient, setVisible(), and zoomManager.


Member Function Documentation

void alma::acs::logging::archive::zoom::ZoomPrefsDlg::actionPerformed ( ActionEvent  e  )  [inline]
JComboBox alma::acs::logging::archive::zoom::ZoomPrefsDlg::buildLogLevelCB ( LogTypeHelper  initialLevel  )  [inline, private]

Build a log level combobox.

Parameters:
initialLevel The initial log level
Returns:
The log level CB

Referenced by initialize().

void alma::acs::logging::archive::zoom::ZoomPrefsDlg::initialize (  )  [inline, private]
boolean alma::acs::logging::archive::zoom::ZoomPrefsDlg::okPressed (  )  [inline, private]
void alma::acs::logging::archive::zoom::ZoomPrefsDlg::setupFolderLbl (  )  [inline, private]

Setup the content of the label depending on the parameter

Parameters:
folder The path of the folder of XML files (can be null)

References folder, and folderLbl.

Referenced by actionPerformed(), and initialize().

void alma::acs::logging::archive::zoom::ZoomPrefsDlg::setVisible ( boolean  visible  )  [inline]

Override setVisible() to move the dialog over the logging client and in front of other windows

References loggingClient.

Referenced by actionPerformed(), and ZoomPrefsDlg().


Member Data Documentation

JButton alma::acs::logging::archive::zoom::ZoomPrefsDlg::cancelBtn = new JButton("Cancel") [private]

The Cancel button

Referenced by actionPerformed(), and initialize().

The path of the folder to show in the label.

Referenced by actionPerformed(), initialize(), okPressed(), setupFolderLbl(), and ZoomPrefsDlg().

JButton alma::acs::logging::archive::zoom::ZoomPrefsDlg::folderBtn = new JButton("Change...") [private]

The button to choose the folder of XML files of logs

Referenced by actionPerformed(), and initialize().

The label with the folder of XML files of logs.

The content of the label is built from the value of folder.

Referenced by initialize(), and setupFolderLbl().

The logging client

Referenced by setVisible(), and ZoomPrefsDlg().

The combobox to choose maximum log level while zooming (inclusive)

Referenced by initialize(), and okPressed().

The combobox to choose minimum log level while zooming (inclusive)

Referenced by initialize(), and okPressed().

JButton alma::acs::logging::archive::zoom::ZoomPrefsDlg::okBtn = new JButton("Ok") [private]

The OK button

Referenced by actionPerformed(), and initialize().

The manager for zooming

Referenced by initialize(), okPressed(), and ZoomPrefsDlg().


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

Generated by  doxygen 1.6.2