Package net.i2p.desktopgui
Class ExternalTrayManager
- java.lang.Object
-
- net.i2p.desktopgui.TrayManager
-
- net.i2p.desktopgui.ExternalTrayManager
-
class ExternalTrayManager extends TrayManager
When started before the router, e.g. with java -cp i2p.jar:router.jar:desktopgui.jar net.i2p.desktopgui.Main No access to context, very limited abilities. Not fully supported.
-
-
Field Summary
-
Fields inherited from class net.i2p.desktopgui.TrayManager
_appContext, _main, _useSwing, tray, trayIcon
-
-
Constructor Summary
Constructors Constructor Description ExternalTrayManager(I2PAppContext ctx, Main main, boolean useSwing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PopupMenu
getMainMenu()
Build a popup menu, adding callbacks to the different items.JPopupMenu
getSwingMainMenu()
Build a popup menu, adding callbacks to the different items.protected void
updateMenu()
Update the menu-
Methods inherited from class net.i2p.desktopgui.TrayManager
_t, _t, languageChanged, startManager, stopManager
-
-
-
-
Constructor Detail
-
ExternalTrayManager
public ExternalTrayManager(I2PAppContext ctx, Main main, boolean useSwing)
-
-
Method Detail
-
getMainMenu
public PopupMenu getMainMenu()
Description copied from class:TrayManager
Build a popup menu, adding callbacks to the different items.- Specified by:
getMainMenu
in classTrayManager
- Returns:
- popup menu
-
getSwingMainMenu
public JPopupMenu getSwingMainMenu()
Description copied from class:TrayManager
Build a popup menu, adding callbacks to the different items.- Specified by:
getSwingMainMenu
in classTrayManager
- Returns:
- popup menu
-
updateMenu
protected void updateMenu()
Update the menu- Specified by:
updateMenu
in classTrayManager
- Since:
- 0.9.26
-
-