public interface UserMenuView extends View
Modifier and Type | Interface and Description |
---|---|
static interface |
UserMenuView.Listener
Listener callback interface for presenter.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(String name,
String label)
Deprecated.
since 5.2.4 icons are supported in user menu so one should use
addAction(String, String, String) . |
void |
addAction(String name,
String label,
String icon)
Adds an action to the user menu with given action name as configured, label and icon.
|
void |
setCaption(String caption) |
void |
setListener(UserMenuView.Listener listener) |
asVaadinComponent
void setListener(UserMenuView.Listener listener)
@Deprecated void addAction(String name, String label)
addAction(String, String, String)
.void addAction(String name, String label, String icon)
void setCaption(String caption)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.