PopupButton
Button with popup
PopupButton is a button, which opens a popup when the button is clicked.
Versions 1.x are for Vaadin 6, 2.x for Vaadin 7 and 3.x for Vaadin 8.
Sample code
PopupButton popupButton = new PopupButton("Action"); HorizontalLayout popupLayout = new HorizontalLayout(); popupButton.setComponent(popupLayout); // Set popup content Button modifyButton = new Button("Modify"); modifyButton.setIcon(new ThemeResource("../runo/icons/16/document-txt.png")); popupLayout.addComponent(modifyButton); Button addButton = new Button("Add"); addButton.setIcon(new ThemeResource("../runo/icons/16/document-add.png")); popupLayout.addComponent(addButton); Button deleteButton = new Button("Delete"); deleteButton.setIcon(new ThemeResource("../runo/icons/16/document-delete.png")); popupLayout.addComponent(deleteButton);
Links
Compatibility
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
- Released
- 2017-02-18
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Vaadin 6.2+ in 0.7
- Vaadin 6.0+ in 1.0.0
- Vaadin 7.0+ in 2.0.0
- Vaadin 7.1+ in 2.2.1
- Vaadin 7.4+ in 2.6.0
- Browser
- Internet Explorer
- Internet Explorer
- Internet Explorer
- Firefox
- Opera
- Safari
- Google Chrome
- Internet Explorer
- iOS Browser
- Android Browser
- Internet Explorer
- Internet Explorer
- Windows Phone
- Microsoft Edge
PopupButton - Vaadin Add-on Directory
Button with popupPopupButton is a button, which opens a popup when the button is clicked.
Versions 1.x are for Vaadin 6, 2.x for Vaadin 7 and 3.x for Vaadin 8.