use of com.github.appreciated.app.layout.addons.profile.ProfileButton in project vaadin-app-layout by appreciated.
the class ProfileView method furtherConfiguration.
@Override
public void furtherConfiguration(AppLayoutBuilder builder) {
ProfileButton button = AppBarProfileButtonBuilder.get().withItem("Profile Entry 1", event -> Notification.show("Profile Entry 1 clicked")).withItem("Profile Entry 2", event -> Notification.show("Profile Entry 2 clicked")).withItem("Profile Entry 3", event -> Notification.show("Profile Entry 3 clicked")).build();
button.getWrappedComponent().setId("it-test-profile-button");
builder.withAppBar(button);
}
Aggregations