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

alma::acs::logging::io::LoadSwitchesPanel Class Reference

List of all members.

Public Member Functions

 LoadSwitchesPanel (LoggingClient client)
void checkControlsState ()
boolean clearLogs ()
boolean disconnectEngine ()
void execute ()

Private Member Functions

void initGUI ()

Private Attributes

JCheckBox clearLogsCB = null
JCheckBox disconnectCB = null
LoggingClient loggingClient = null

Detailed Description

The panel contains the checkboxes to clear the logs in the table and to disconnect.

It will be used in the panel to load logs (from URL, file or the database)

Author:
acaproni


Constructor & Destructor Documentation

alma::acs::logging::io::LoadSwitchesPanel::LoadSwitchesPanel LoggingClient  client  )  [inline]
 

Constructor


Member Function Documentation

void alma::acs::logging::io::LoadSwitchesPanel::checkControlsState  )  [inline]
 

Enable/disable the check boxes depending on the number of logs in the table and the connection status.

boolean alma::acs::logging::io::LoadSwitchesPanel::clearLogs  )  [inline]
 

Returns:
true if the logs has to be removed from the table

boolean alma::acs::logging::io::LoadSwitchesPanel::disconnectEngine  )  [inline]
 

Returns:
true if the engine must be disconnected

void alma::acs::logging::io::LoadSwitchesPanel::execute  )  [inline]
 

Remove the logs from the table and disconnect the engine (if the checkboxes are selected).

void alma::acs::logging::io::LoadSwitchesPanel::initGUI  )  [inline, private]
 

Initialize the panel


Member Data Documentation

JCheckBox alma::acs::logging::io::LoadSwitchesPanel::clearLogsCB = null [private]
 

The check box to clear the logs before starting to load logs (enabled by default)

JCheckBox alma::acs::logging::io::LoadSwitchesPanel::disconnectCB = null [private]
 

The checkbox to disconnect before starting to load logs (enabled by default)

LoggingClient alma::acs::logging::io::LoadSwitchesPanel::loggingClient = null [private]
 


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