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

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

Collaboration diagram for alma::acs::logging::archive::zoom::ZoomPrefsDlg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ZoomPrefsDlg (LoggingClient logCli, ZoomManager manager)
Override void actionPerformed (ActionEvent e)
Override 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


Member Function Documentation

Override 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

void alma::acs::logging::archive::zoom::ZoomPrefsDlg::initialize  )  [inline, private]
 

Init the GUI

boolean alma::acs::logging::archive::zoom::ZoomPrefsDlg::okPressed  )  [inline, private]
 

Read the values from the widgets and update the ZoomManager.

Returns:
true if the values has been accepted

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)

Override 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


Member Data Documentation

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

The Cancel button

String alma::acs::logging::archive::zoom::ZoomPrefsDlg::folder [private]
 

The path of the folder to show in the label.

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

The button to choose the folder of XML files of logs

JLabel alma::acs::logging::archive::zoom::ZoomPrefsDlg::folderLbl = new JLabel() [private]
 

The label with the folder of XML files of logs.

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

final LoggingClient alma::acs::logging::archive::zoom::ZoomPrefsDlg::loggingClient [private]
 

The logging client

JComboBox alma::acs::logging::archive::zoom::ZoomPrefsDlg::maxLevelCB [private]
 

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

JComboBox alma::acs::logging::archive::zoom::ZoomPrefsDlg::minLevelCB [private]
 

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

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

The OK button

final ZoomManager alma::acs::logging::archive::zoom::ZoomPrefsDlg::zoomManager [private]
 

The manager for zooming


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