public class UserMenuViewImpl extends Object implements UserMenuView
UserMenuView
. Basically a button, which opens the UserMenu
when clicked.UserMenuView.Listener
Constructor and Description |
---|
UserMenuViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAction(String actionName,
String label)
Deprecated.
|
void |
addAction(String actionName,
String label,
String icon)
Adds an action to the user menu with given action name as configured, label and icon.
|
com.vaadin.ui.Component |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
void |
setCaption(String caption) |
void |
setListener(UserMenuView.Listener listener) |
public void setCaption(String caption)
setCaption
in interface UserMenuView
public void setListener(UserMenuView.Listener listener)
setListener
in interface UserMenuView
@Deprecated public void addAction(String actionName, String label)
UserMenuView
addAction
in interface UserMenuView
public void addAction(String actionName, String label, String icon)
UserMenuView
addAction
in interface UserMenuView
public com.vaadin.ui.Component asVaadinComponent()
View
asVaadinComponent
in interface View
Copyright © 2016 Magnolia International Ltd.. All rights reserved.