Package net.i2p.desktopgui
Class InternalTrayManager
java.lang.Object
net.i2p.desktopgui.TrayManager
net.i2p.desktopgui.InternalTrayManager
java -cp i2p.jar:router.jar:desktopgui.jar net.i2p.desktopgui.Main
Full access to router context.
-
Field Summary
Fields inherited from class net.i2p.desktopgui.TrayManager
_appContext, _jnotificationItem1, _jnotificationItem2, _notificationItem1, _notificationItem2, _showNotifications, _useSwing, PROP_NOTIFICATIONS, tray, trayIcon -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureNotifications(boolean enable) Does not save.Build a popup menu, adding callbacks to the different items.Build a popup menu, adding callbacks to the different items.voidAdd the tray icon to the system tray and start everything up.protected voidUpdate the menuMethods inherited from class net.i2p.desktopgui.TrayManager
_t, _t, addMenu, disableMenu, displayMessage, enableMenu, hideMenu, initializeJNotificationItems, initializeNotificationItems, languageChanged, removeMenu, showMenu, stopManager, updateMenu
-
Constructor Details
-
InternalTrayManager
-
-
Method Details
-
startManager
Description copied from class:TrayManagerAdd the tray icon to the system tray and start everything up.- Overrides:
startManagerin classTrayManager- Throws:
AWTException- Since:
- 0.9.53
-
getMainMenu
Description copied from class:TrayManagerBuild a popup menu, adding callbacks to the different items.- Specified by:
getMainMenuin classTrayManager- Returns:
- popup menu
-
getSwingMainMenu
Description copied from class:TrayManagerBuild a popup menu, adding callbacks to the different items.- Specified by:
getSwingMainMenuin classTrayManager- Returns:
- popup menu
-
updateMenu
protected void updateMenu()Update the menu- Specified by:
updateMenuin classTrayManager- Since:
- 0.9.26
-
configureNotifications
protected void configureNotifications(boolean enable) Description copied from class:TrayManagerDoes not save. See InternalTrayManager.- Overrides:
configureNotificationsin classTrayManager- Since:
- 0.9.53
-