

Public Member Functions | |
| LogMenuBar () | |
| JMenu | getSearchMenu () |
| JMenu | getZoomMenu () |
| JMenuItem | getConnectMenuItem () |
| JMenuItem | getLoadDBMenuItem () |
| JMenuItem | getLoadURLMenuItem () |
| JMenuItem | getFieldsMenuItem () |
| JMenuItem | getFiltersMenuItem () |
| JMenuItem | getLoadMenuItem () |
| JMenuItem | getExitMenuItem () |
| JMenuItem | getSaveFileMenuItem () |
| JMenuItem | getClearLogsMenuItem () |
| JMenuItem | getSearchMenuItem () |
| JMenuItem | getSearchNextMenuItem () |
| void | setEventHandler (ActionListener actionListener, MenuListener menuListener) |
| JCheckBoxMenuItem | getViewToolbarMenuItem () |
| JCheckBoxMenuItem | getViewDetailedInfoMenuItem () |
| JCheckBoxMenuItem | getViewStatusAreaMenuItem () |
| JCheckBoxMenuItem | getShortDateViewMenuItem () |
| JCheckBoxMenuItem | getLogTypeDescriptionViewMenuItem () |
| JCheckBoxMenuItem | getAutoReconnectMenuItem () |
| JMenuItem | getSuspendMenuItem () |
| JMenuItem | getPrefsMenuItem () |
| JMenuItem | getStatisticsMenuItem () |
| JMenuItem | getViewErrorLogMenuItem () |
| JMenuItem | getViewErrorBrowserMenuItem () |
| void | setEnabled (boolean enabled) |
| void | hideExitMenu (boolean hide) |
| JRadioButtonMenuItem | getOperatorMode () |
| JRadioButtonMenuItem | getEngineeringMode () |
| JRadioButtonMenuItem | getSciLogMode () |
| JMenuItem | getEngineFiltersMenuItem () |
| JMenuItem | getManualZoomMI () |
| JMenuItem | getZoomPrefsMI () |
Private Member Functions | |
| void | setupMenuBar () |
Private Attributes | |
| JMenuItem | connectMenuItem = null |
| JMenuItem | loadMenuItem = null |
| JMenuItem | loadURLMenuItem = null |
| JMenuItem | loadDBMenuItem = null |
| JMenuItem | saveFileMenuItem = null |
| JMenuItem | clearLogsMI = null |
| JMenuItem | exitMenuItem = null |
| JSeparator | exitSeparator = new JSeparator() |
| boolean | exitHided |
| JMenuItem | statisticsMenuItem = null |
| JMenuItem | viewErrorLogMI |
| JMenuItem | viewErrorBrowserMI |
| JMenuItem | filtersMenuItem |
| JMenuItem | fieldsMenuItem = null |
| JMenuItem | searchMenuItem |
| JMenuItem | searchNextMenuItem |
| JMenu | fileMenu |
| JMenu | viewMenu |
| JMenu | searchMenu |
| JMenu | zoomMenu |
| JMenu | expertMenu |
| JMenuItem | suspendMI |
| JMenuItem | prefsMI |
| JCheckBoxMenuItem | viewToolbarMI |
| JCheckBoxMenuItem | autoReconnectMI |
| JCheckBoxMenuItem | viewDetailedInfoMI |
| JCheckBoxMenuItem | viewStatusAreaMI |
| JRadioButtonMenuItem | operatorMode |
| JRadioButtonMenuItem | engineeringMode |
| JRadioButtonMenuItem | sciLogMode |
| JMenuItem | engineFiltersMI |
| JCheckBoxMenuItem | shortDateViewMI |
| JCheckBoxMenuItem | logTypeDescritptionViewMI |
| JMenuItem | zoomPrefsMI |
| JMenuItem | manualZoomMI |
The menu bar of the main GUI
| alma::acs::logging::dialogs::main::LogMenuBar::LogMenuBar | ( | ) | [inline] |
Constructor
References hideExitMenu(), and setupMenuBar().
| JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getAutoReconnectMenuItem | ( | ) | [inline] |
Getter
References autoReconnectMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::connect(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getClearLogsMenuItem | ( | ) | [inline] |
Returns the ClearAllMenuItem property value.
References clearLogsMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getConnectMenuItem | ( | ) | [inline] |
Returns the NewMenuItem property value.
References connectMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JRadioButtonMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getEngineeringMode | ( | ) | [inline] |
References engineeringMode.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::initAudience(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getEngineFiltersMenuItem | ( | ) | [inline] |
References engineFiltersMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::enableFiltersWidgets(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getExitMenuItem | ( | ) | [inline] |
Returns the ExitMenuItem property value.
References exitMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getFieldsMenuItem | ( | ) | [inline] |
Returns the Fields menu item.
References fieldsMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getFiltersMenuItem | ( | ) | [inline] |
Return the editFiltersMenuItem
References filtersMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::enableFiltersWidgets(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getLoadDBMenuItem | ( | ) | [inline] |
Returns the LoadDB menu item
References loadDBMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getLoadMenuItem | ( | ) | [inline] |
Returns the LoadMenuItem property value.
References loadMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getLoadURLMenuItem | ( | ) | [inline] |
Return the LoadURL menu item
References loadURLMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getLogTypeDescriptionViewMenuItem | ( | ) | [inline] |
Getter
References logTypeDescritptionViewMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::getLogEntryTable(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getManualZoomMI | ( | ) | [inline] |
References manualZoomMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and com::cosylab::logging::LoggingClient::initialize().
| JRadioButtonMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getOperatorMode | ( | ) | [inline] |
References operatorMode.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::initAudience(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getPrefsMenuItem | ( | ) | [inline] |
Getter
References prefsMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getSaveFileMenuItem | ( | ) | [inline] |
Returns the SaveFileMenuItem property value.
References saveFileMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JRadioButtonMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getSciLogMode | ( | ) | [inline] |
References sciLogMode.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::initAudience(), and setupMenuBar().
| JMenu alma::acs::logging::dialogs::main::LogMenuBar::getSearchMenu | ( | ) | [inline] |
Build the search menu
References getSearchMenuItem(), getSearchNextMenuItem(), and searchMenu.
Referenced by setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getSearchMenuItem | ( | ) | [inline] |
References searchMenu, and searchMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and getSearchMenu().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getSearchNextMenuItem | ( | ) | [inline] |
| JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getShortDateViewMenuItem | ( | ) | [inline] |
Getter
References shortDateViewMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::getLogEntryTable(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getStatisticsMenuItem | ( | ) | [inline] |
Getter
References statisticsMenuItem.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getSuspendMenuItem | ( | ) | [inline] |
Getter
References suspendMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::connect(), and setupMenuBar().
| JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getViewDetailedInfoMenuItem | ( | ) | [inline] |
Getter
References viewDetailedInfoMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getViewErrorBrowserMenuItem | ( | ) | [inline] |
Getter
References viewErrorBrowserMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getViewErrorLogMenuItem | ( | ) | [inline] |
Getter
References viewErrorLogMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and setupMenuBar().
| JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getViewStatusAreaMenuItem | ( | ) | [inline] |
Getter
References viewStatusAreaMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getViewToolbarMenuItem | ( | ) | [inline] |
Getter
References viewToolbarMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), com::cosylab::logging::LoggingClient::EventHandler::menuSelected(), and setupMenuBar().
| JMenu alma::acs::logging::dialogs::main::LogMenuBar::getZoomMenu | ( | ) | [inline] |
Build the zoom menu.
References manualZoomMI, zoomMenu, and zoomPrefsMI.
Referenced by setupMenuBar().
| JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::getZoomPrefsMI | ( | ) | [inline] |
References zoomPrefsMI.
Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed().
| void alma::acs::logging::dialogs::main::LogMenuBar::hideExitMenu | ( | boolean | hide | ) | [inline] |
Hide the Exit menu item
| hide | If true the menu is set to invisible |
References exitHided, exitMenuItem, exitSeparator, and fileMenu.
Referenced by com::cosylab::logging::LoggingClient::hideExitMenu(), and LogMenuBar().
| void alma::acs::logging::dialogs::main::LogMenuBar::setEnabled | ( | boolean | enabled | ) | [inline] |
Enable/Disable all the controls in the GUI that could trigger the invalidation of the logs
| enabled | If true the controls are enabled |
References expertMenu, fileMenu, searchMenu, viewMenu, and zoomMenu.
Referenced by com::cosylab::logging::LoggingClient::errorAcknowledged(), com::cosylab::logging::LoggingClient::setEnabled(), and com::cosylab::logging::LoggingClient::showErrorMessage().
| void alma::acs::logging::dialogs::main::LogMenuBar::setEventHandler | ( | ActionListener | actionListener, | |
| MenuListener | menuListener | |||
| ) | [inline] |
Set the event handler for the menus
| listener | The MenuListener |
References autoReconnectMI, clearLogsMI, connectMenuItem, engineeringMode, engineFiltersMI, exitMenuItem, fieldsMenuItem, fileMenu, filtersMenuItem, loadDBMenuItem, loadMenuItem, loadURLMenuItem, logTypeDescritptionViewMI, manualZoomMI, prefsMI, saveFileMenuItem, sciLogMode, searchMenu, searchMenuItem, searchNextMenuItem, shortDateViewMI, statisticsMenuItem, suspendMI, viewDetailedInfoMI, viewErrorBrowserMI, viewErrorLogMI, viewMenu, viewStatusAreaMI, viewToolbarMI, and zoomPrefsMI.
Referenced by com::cosylab::logging::LoggingClient::initConnections().
| void alma::acs::logging::dialogs::main::LogMenuBar::setupMenuBar | ( | ) | [inline, private] |
Builds the menu bar
References exitSeparator, expertMenu, fileMenu, getAutoReconnectMenuItem(), getClearLogsMenuItem(), getConnectMenuItem(), getEngineeringMode(), getEngineFiltersMenuItem(), getExitMenuItem(), getFieldsMenuItem(), getFiltersMenuItem(), getLoadDBMenuItem(), getLoadMenuItem(), getLoadURLMenuItem(), getLogTypeDescriptionViewMenuItem(), getOperatorMode(), getPrefsMenuItem(), getSaveFileMenuItem(), getSciLogMode(), getSearchMenu(), getShortDateViewMenuItem(), getStatisticsMenuItem(), getSuspendMenuItem(), getViewDetailedInfoMenuItem(), getViewErrorBrowserMenuItem(), getViewErrorLogMenuItem(), getViewStatusAreaMenuItem(), getViewToolbarMenuItem(), getZoomMenu(), and viewMenu.
Referenced by LogMenuBar().
JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::autoReconnectMI [private] |
The menu item to show/hide the toolbar
Referenced by getAutoReconnectMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::clearLogsMI = null [private] |
Referenced by getClearLogsMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::connectMenuItem = null [private] |
Referenced by getConnectMenuItem(), and setEventHandler().
JRadioButtonMenuItem alma::acs::logging::dialogs::main::LogMenuBar::engineeringMode [private] |
The menu to select the engineering mode
Referenced by getEngineeringMode(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::engineFiltersMI [private] |
The menu to add filters to the engine
Referenced by getEngineFiltersMenuItem(), and setEventHandler().
boolean alma::acs::logging::dialogs::main::LogMenuBar::exitHided [private] |
Referenced by hideExitMenu().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::exitMenuItem = null [private] |
Referenced by getExitMenuItem(), hideExitMenu(), and setEventHandler().
JSeparator alma::acs::logging::dialogs::main::LogMenuBar::exitSeparator = new JSeparator() [private] |
Referenced by hideExitMenu(), and setupMenuBar().
JMenu alma::acs::logging::dialogs::main::LogMenuBar::expertMenu [private] |
Referenced by setEnabled(), and setupMenuBar().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::fieldsMenuItem = null [private] |
Referenced by getFieldsMenuItem(), and setEventHandler().
JMenu alma::acs::logging::dialogs::main::LogMenuBar::fileMenu [private] |
Referenced by hideExitMenu(), setEnabled(), setEventHandler(), and setupMenuBar().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::filtersMenuItem [private] |
The menu item to show the filters control panel
Referenced by getFiltersMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::loadDBMenuItem = null [private] |
Referenced by getLoadDBMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::loadMenuItem = null [private] |
Referenced by getLoadMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::loadURLMenuItem = null [private] |
Referenced by getLoadURLMenuItem(), and setEventHandler().
JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::logTypeDescritptionViewMI [private] |
The menu item to select to show only the icon in the renderer of the type of log i.e. the description is hidden
Referenced by getLogTypeDescriptionViewMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::manualZoomMI [private] |
The menu for performing the zoom of an interval selected by the user
Referenced by getManualZoomMI(), getZoomMenu(), and setEventHandler().
JRadioButtonMenuItem alma::acs::logging::dialogs::main::LogMenuBar::operatorMode [private] |
The menu to select the operator mode
Referenced by getOperatorMode().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::prefsMI [private] |
Referenced by getPrefsMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::saveFileMenuItem = null [private] |
Referenced by getSaveFileMenuItem(), and setEventHandler().
JRadioButtonMenuItem alma::acs::logging::dialogs::main::LogMenuBar::sciLogMode [private] |
The menu to select the SciLog mode
Referenced by getSciLogMode(), and setEventHandler().
JMenu alma::acs::logging::dialogs::main::LogMenuBar::searchMenu [private] |
Referenced by getSearchMenu(), getSearchMenuItem(), setEnabled(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::searchMenuItem [private] |
Referenced by getSearchMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::searchNextMenuItem [private] |
Referenced by getSearchNextMenuItem(), and setEventHandler().
JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::shortDateViewMI [private] |
The menu item to select the format of the date column in the table of logs If it is true, the date appear as hh:mm:ss otherwise it's shown with a complete longest format shortDateViewMI defaults to true
Referenced by getShortDateViewMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::statisticsMenuItem = null [private] |
The menu item to show the statistics dialog
Referenced by getStatisticsMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::suspendMI [private] |
Referenced by getSuspendMenuItem(), and setEventHandler().
JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::viewDetailedInfoMI [private] |
The menu item to show/hide the Detailed log info panel
Referenced by getViewDetailedInfoMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::viewErrorBrowserMI [private] |
The menu item to show the error browser
Referenced by getViewErrorBrowserMenuItem(), and setEventHandler().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::viewErrorLogMI [private] |
The menu item to show the error log window
Referenced by getViewErrorLogMenuItem(), and setEventHandler().
JMenu alma::acs::logging::dialogs::main::LogMenuBar::viewMenu [private] |
Referenced by setEnabled(), setEventHandler(), and setupMenuBar().
JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::viewStatusAreaMI [private] |
The menu item to show/hide the Detailed log info panel
Referenced by getViewStatusAreaMenuItem(), and setEventHandler().
JCheckBoxMenuItem alma::acs::logging::dialogs::main::LogMenuBar::viewToolbarMI [private] |
The menu item to show/hide the toolbar
Referenced by getViewToolbarMenuItem(), and setEventHandler().
JMenu alma::acs::logging::dialogs::main::LogMenuBar::zoomMenu [private] |
Referenced by getZoomMenu(), and setEnabled().
JMenuItem alma::acs::logging::dialogs::main::LogMenuBar::zoomPrefsMI [private] |
The preferences for zooming
Referenced by getZoomMenu(), getZoomPrefsMI(), and setEventHandler().
1.6.2