Inherits javax::swing::JToolBar.
Public Member Functions | |
LogToolBar (LogTypeHelper initialLogLvl, LogTypeHelper intialDiscardLvl) | |
void | setEventHandler (ActionListener listener) |
JComboBox | getDiscardLevelCB () |
JComboBox | getLogLevelCB () |
JButton | getClearLogsBtn () |
JButton | getPauseBtn () |
JButton | getFiltersBtn () |
JButton | getZoomBtn () |
boolean | clickPauseBtn () |
boolean | pause () |
boolean | unpause () |
void | setEnabled (boolean enabled) |
boolean | isPaused () |
void | setZoomable (boolean zoomable) |
Static Public Attributes | |
static final String | pauseStr = "<HTML><FONT size=-2>Pause</FONT>" |
static final String | playStr = "<HTML><FONT size=-2>Play</FONT>" |
The toolbar of the main window
alma.acs.logging.dialogs.main.LogToolBar.LogToolBar | ( | LogTypeHelper | initialLogLvl, | |
LogTypeHelper | intialDiscardLvl | |||
) |
Constructor
initialLogLvl | The initial log level to set in the CB | |
intialDiscardLvl | The initial discard level to set in the COB |
boolean alma.acs.logging.dialogs.main.LogToolBar.clickPauseBtn | ( | ) |
The pause has been pressed Change the test and icon in the button.
References alma.acs.logging.dialogs.main.LogToolBar.getPauseBtn(), alma.acs.logging.dialogs.main.LogToolBar.pauseStr, and alma.acs.logging.dialogs.main.LogToolBar.playStr.
JButton alma.acs.logging.dialogs.main.LogToolBar.getClearLogsBtn | ( | ) |
JComboBox alma.acs.logging.dialogs.main.LogToolBar.getDiscardLevelCB | ( | ) |
Referenced by com.cosylab.logging.LoggingClient.getDiscardLevel(), com.cosylab.logging.LoggingClient.getEngine(), and alma.acs.logging.dialogs.main.LogToolBar.setEnabled().
JButton alma.acs.logging.dialogs.main.LogToolBar.getFiltersBtn | ( | ) |
Referenced by com.cosylab.logging.LoggingClient.enableFiltersWidgets().
JComboBox alma.acs.logging.dialogs.main.LogToolBar.getLogLevelCB | ( | ) |
Referenced by alma.acs.logging.dialogs.main.LogToolBar.setEnabled().
JButton alma.acs.logging.dialogs.main.LogToolBar.getPauseBtn | ( | ) |
References alma.acs.logging.dialogs.main.LogToolBar.pauseStr.
Referenced by alma.acs.logging.dialogs.main.LogToolBar.clickPauseBtn(), alma.acs.logging.dialogs.main.LogToolBar.pause(), and alma.acs.logging.dialogs.main.LogToolBar.unpause().
JButton alma.acs.logging.dialogs.main.LogToolBar.getZoomBtn | ( | ) |
boolean alma.acs.logging.dialogs.main.LogToolBar.isPaused | ( | ) |
Referenced by com.cosylab.logging.LoggingClient.isPaused().
boolean alma.acs.logging.dialogs.main.LogToolBar.pause | ( | ) |
Set the play/pause button in pause mode
References alma.acs.logging.dialogs.main.LogToolBar.getPauseBtn(), and alma.acs.logging.dialogs.main.LogToolBar.playStr.
Referenced by com.cosylab.logging.LoggingClient.pause().
void alma.acs.logging.dialogs.main.LogToolBar.setEnabled | ( | boolean | enabled | ) |
Enable/Disable all the control in the GUI than can cause the invalidation of the logs
enabled | If true the controls are enabled |
References alma.acs.logging.dialogs.main.LogToolBar.getDiscardLevelCB(), and alma.acs.logging.dialogs.main.LogToolBar.getLogLevelCB().
Referenced by com.cosylab.logging.LoggingClient.errorAcknowledged(), com.cosylab.logging.LoggingClient.setEnabled(), and com.cosylab.logging.LoggingClient.showErrorMessage().
void alma.acs.logging.dialogs.main.LogToolBar.setEventHandler | ( | ActionListener | listener | ) |
Set the event handler for the widgets in the toolbar
listener | The action listener |
void alma.acs.logging.dialogs.main.LogToolBar.setZoomable | ( | boolean | zoomable | ) |
Set the state of the zoom button
zoomable | If true the zoom button is enabled. |
boolean alma.acs.logging.dialogs.main.LogToolBar.unpause | ( | ) |
Unpause the play/pause button
References alma.acs.logging.dialogs.main.LogToolBar.getPauseBtn(), and alma.acs.logging.dialogs.main.LogToolBar.pauseStr.
Referenced by com.cosylab.logging.LoggingClient.resume().
final String alma.acs.logging.dialogs.main.LogToolBar.pauseStr = "<HTML><FONT size=-2>Pause</FONT>" [static] |
final String alma.acs.logging.dialogs.main.LogToolBar.playStr = "<HTML><FONT size=-2>Play</FONT>" [static] |