info.magnolia.ui.admincentral.usermenu
Class UserMenuViewImpl

java.lang.Object
  extended by info.magnolia.ui.admincentral.usermenu.UserMenuViewImpl
All Implemented Interfaces:
UserMenuView, info.magnolia.ui.api.view.View, Serializable

public class UserMenuViewImpl
extends Object
implements UserMenuView

Implementation of UserMenuView. Basically a button, which opens the UserMenu when clicked.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.ui.admincentral.usermenu.UserMenuView
UserMenuView.Listener
 
Constructor Summary
UserMenuViewImpl()
           
 
Method Summary
 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()
           
 void setCaption(String caption)
           
 void setListener(UserMenuView.Listener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserMenuViewImpl

public UserMenuViewImpl()
Method Detail

setCaption

public void setCaption(String caption)
Specified by:
setCaption in interface UserMenuView

setListener

public void setListener(UserMenuView.Listener listener)
Specified by:
setListener in interface UserMenuView

addAction

@Deprecated
public void addAction(String actionName,
                                 String label)
Deprecated. 

Description copied from interface: UserMenuView
Adds an action to the user menu with given action name as configured and label.

Specified by:
addAction in interface UserMenuView

addAction

public void addAction(String actionName,
                      String label,
                      String icon)
Description copied from interface: UserMenuView
Adds an action to the user menu with given action name as configured, label and icon.

Specified by:
addAction in interface UserMenuView

asVaadinComponent

public com.vaadin.ui.Component asVaadinComponent()
Specified by:
asVaadinComponent in interface info.magnolia.ui.api.view.View


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.