Directory

← Back

Popup MenuBar

MenuBar that allows opening new browser windows

Author

Rating

Popularity

<100

Use this add-on if you want to open new browser windows from a MenuBar (like with BrowserWindowOpener).

Sample code

PopupMenuBar menuBar = new PopupMenuBar();

MenuBar.MenuItem helpMainItem = menuBar.addItem("Help", (MenuBar.Command) null);
MenuBar.MenuItem generalHelp = helpMainItem.addItem("General help (new window)", (MenuBar.Command) null);
MenuBar.MenuItem about = helpMainItem.addItem("About (this window)", (MenuBar.Command) null);
menuBar.setMenuItemUrl(generalHelp, "https://www.vaadin.com", "_blank");
menuBar.setMenuItemUrl(about,"https://www.google.com", "_self");

Compatibility

0.1.10.1.20.1.30.2.00.3.0
(24.3)
(24.2)
(24.1)
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
8.1-8.21Y
(8.0)
7.7YYYYY
(7.6)
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Compiled for Vaadin 8 in the 0.3.0 branch

Released
2017-11-24
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.7+
Vaadin 8.1+
Browser
N/A

Popup MenuBar - Vaadin Add-on Directory

MenuBar that allows opening new browser windows Popup MenuBar - Vaadin Add-on Directory
Use this add-on if you want to open new browser windows from a MenuBar (like with BrowserWindowOpener).
Online