Directory

← Back

ButtonPanel

Buttons in the title bar of a panel

Author

Rating

Popularity

<100

Optimized for the material theme (https://vaadin.com/directory/component/material)

There will also be support for the Valo theme in the future

Sample code

ButtonPanel buttonPanel = new ButtonPanel("Test", VaadinIcons.DASHBOARD); // Caption, Icon

buttonPanel.setDefaultAddButtonStyle(MaterialTheme.BUTTON_FLAT); // Optional: A style is added to each button here

buttonPanel.addButton(new Button(VaadinIcons.EDIT)); // Add button to headline
buttonPanel.addButton(new Button(VaadinIcons.CLOCK)); // Add button to headline

buttonPanel.setHeight(300, Unit.PIXELS);
buttonPanel.setWidth(500, Unit.PIXELS);

buttonPanel.setContent(< content >);

Compatibility

(Loading compatibility data...)

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

Fix style import

Released
2018-03-21
Maturity
STABLE
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.3+
Vaadin 8.0+
Browser
Firefox
Opera
Safari
Google Chrome
iOS Browser
Android Browser
Internet Explorer
Windows Phone
Microsoft Edge

ButtonPanel - Vaadin Add-on Directory

Buttons in the title bar of a panel ButtonPanel - Vaadin Add-on Directory
Optimized for the material theme (https://vaadin.com/directory/component/material) There will also be support for the Valo theme in the future
Issues
Source Code

ButtonPanel version 1.0.0
Init release

ButtonPanel version 1.0.1
Fix style import

Online