Public Member Functions

alma.acs.logging.io.LoadSwitchesPanel Class Reference

Inherits javax::swing::JPanel.

List of all members.

Public Member Functions

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

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  ) 

Constructor


Member Function Documentation

void alma.acs.logging.io.LoadSwitchesPanel.checkControlsState (  ) 

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

References com.cosylab.logging.LoggingClient.getLCModel1().

Referenced by alma.acs.logging.archive.QueryDlg.setVisible().

boolean alma.acs.logging.io.LoadSwitchesPanel.clearLogs (  ) 
Returns:
true if the logs has to be removed from the table
boolean alma.acs.logging.io.LoadSwitchesPanel.disconnectEngine (  ) 
Returns:
true if the engine must be disconnected
void alma.acs.logging.io.LoadSwitchesPanel.execute (  ) 

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

References com.cosylab.logging.LoggingClient.connect(), and com.cosylab.logging.LoggingClient.getLCModel1().

Referenced by alma.acs.logging.io.LoadFileChooser.execute().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties