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::ManualZoomDlg Class Reference

Inheritance diagram for alma::acs::logging::archive::zoom::ManualZoomDlg:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ManualZoomDlg (LoggingClient owner, ZoomManager manager)
Override void setVisible (boolean visible)
void close ()
Override void actionPerformed (ActionEvent e)
void run ()
Override void zoomReadingFile (int num)
Override void zoomTotalFileToRead (int num)
Override void logEntryReceived (ILogEntry logEntry)

Public Attributes

Thread thread = null

Private Member Functions

void initialize ()

Private Attributes

final LoggingClient loggingClient
final ZoomManager zoomer
DateTimeChooser fromDTC = new DateTimeChooser()
DateTimeChooser toDTC = new DateTimeChooser()
final JButton loadBtn = new JButton("Load")
final JButton stopBtn = new JButton("Stop")
final JLabel statusLbl = new JLabel("Ready")
int numOfFiles = 0
int logsRead = 0
final Timer timer = new Timer(5000,this)
final JButton doneBtn = new JButton("Done")

Detailed Description

The dialog to zoom giving a time interval.

ManualZoomDlg allows to read logs from a set of files even if the table is empty or does not contain logs in the time interval the user wants to investigate.
Zoom preferences are not modifiable from this dialog: the user must open the zoom preferences dialog instead.

Author:
acaproni


Constructor & Destructor Documentation

alma::acs::logging::archive::zoom::ManualZoomDlg::ManualZoomDlg LoggingClient  owner,
ZoomManager  manager
[inline]
 


Member Function Documentation

Override void alma::acs::logging::archive::zoom::ManualZoomDlg::actionPerformed ActionEvent  e  )  [inline]
 

See also:
ActionListener

void alma::acs::logging::archive::zoom::ManualZoomDlg::close  )  [inline]
 

Close the dialog

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

Init the GUI

Override void alma::acs::logging::archive::zoom::ManualZoomDlg::logEntryReceived ILogEntry  logEntry  )  [inline]
 

See also:
ACSRemoteLogListener

void alma::acs::logging::archive::zoom::ManualZoomDlg::run  )  [inline]
 

The thread to load the logs in the given interval

Override void alma::acs::logging::archive::zoom::ManualZoomDlg::setVisible boolean  visible  )  [inline]
 

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

Override void alma::acs::logging::archive::zoom::ManualZoomDlg::zoomReadingFile int  num  )  [inline]
 

See also:
ZoomProgressListener

Implements alma::acs::logging::archive::zoom::ZoomProgressListener.

Override void alma::acs::logging::archive::zoom::ManualZoomDlg::zoomTotalFileToRead int  num  )  [inline]
 

See also:
ZoomProgressListener

Implements alma::acs::logging::archive::zoom::ZoomProgressListener.


Member Data Documentation

final JButton alma::acs::logging::archive::zoom::ManualZoomDlg::doneBtn = new JButton("Done") [private]
 

The button to close the dialog

DateTimeChooser alma::acs::logging::archive::zoom::ManualZoomDlg::fromDTC = new DateTimeChooser() [private]
 

The widget to get the start date of loading

final JButton alma::acs::logging::archive::zoom::ManualZoomDlg::loadBtn = new JButton("Load") [private]
 

The button to load logs

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

The logging client

int alma::acs::logging::archive::zoom::ManualZoomDlg::logsRead = 0 [private]
 

Number of logs read (shown in the status line)

int alma::acs::logging::archive::zoom::ManualZoomDlg::numOfFiles = 0 [private]
 

Number of files to read

final JLabel alma::acs::logging::archive::zoom::ManualZoomDlg::statusLbl = new JLabel("Ready") [private]
 

The label showing the progress of a loading

final JButton alma::acs::logging::archive::zoom::ManualZoomDlg::stopBtn = new JButton("Stop") [private]
 

The button stop current loading

Thread alma::acs::logging::archive::zoom::ManualZoomDlg::thread = null
 

The thread to load logs

final Timer alma::acs::logging::archive::zoom::ManualZoomDlg::timer = new Timer(5000,this) [private]
 

The timer to clean the status label

DateTimeChooser alma::acs::logging::archive::zoom::ManualZoomDlg::toDTC = new DateTimeChooser() [private]
 

The widget to get the end date of loading

final ZoomManager alma::acs::logging::archive::zoom::ManualZoomDlg::zoomer [private]
 

The ZoomManager to load logs.


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