Inherits javax::swing::JPanel.
Public Member Functions | |
LoadSwitchesPanel (LoggingClient client) | |
void | checkControlsState () |
boolean | clearLogs () |
boolean | disconnectEngine () |
void | execute () |
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)
alma.acs.logging.io.LoadSwitchesPanel.LoadSwitchesPanel | ( | LoggingClient | client | ) |
Constructor
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 | ( | ) |
boolean alma.acs.logging.io.LoadSwitchesPanel.disconnectEngine | ( | ) |
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().