info.magnolia.ui.admincentral.usermenu
Class UserMenuViewImpl

java.lang.Object
  extended by com.vaadin.server.AbstractClientConnector
      extended by com.vaadin.ui.AbstractComponent
          extended by com.vaadin.ui.Button
              extended by com.vaadin.ui.NativeButton
                  extended by info.magnolia.ui.admincentral.usermenu.UserMenuViewImpl
All Implemented Interfaces:
com.vaadin.event.Action.ShortcutNotifier, com.vaadin.event.FieldEvents.BlurNotifier, com.vaadin.event.FieldEvents.FocusNotifier, com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Sizeable, com.vaadin.shared.Connector, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, UserMenuView, View, Serializable

public class UserMenuViewImpl
extends com.vaadin.ui.NativeButton
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 class com.vaadin.ui.Button
com.vaadin.ui.Button.ClickEvent, com.vaadin.ui.Button.ClickListener, com.vaadin.ui.Button.ClickShortcut
 
Nested classes/interfaces inherited from interface info.magnolia.ui.admincentral.usermenu.UserMenuView
UserMenuView.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
 
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
com.vaadin.server.Sizeable.Unit
 
Field Summary
 
Fields inherited from class com.vaadin.ui.Button
clickShortcut
 
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
UserMenuViewImpl()
           
 
Method Summary
 void addAction(String actionName, String label)
           
 com.vaadin.ui.Component asVaadinComponent()
          Returns the Vaadin component managed by this view.
 void setCaption(String caption)
           
 void setListener(UserMenuView.Listener listener)
           
 void updateArrow(boolean open)
           
 
Methods inherited from class com.vaadin.ui.Button
addBlurListener, addClickListener, addFocusListener, addListener, addListener, addListener, click, fireClick, fireClick, focus, getIconAlternateText, getState, getTabIndex, isDisableOnClick, isHtmlContentAllowed, removeBlurListener, removeClickListener, removeClickShortcut, removeFocusListener, removeListener, removeListener, removeListener, setClickShortcut, setDisableOnClick, setHtmlContentAllowed, setIcon, setIconAlternateText, setTabIndex
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth
 
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidth
 
Methods inherited from interface com.vaadin.event.Action.ShortcutNotifier
addShortcutListener, removeShortcutListener
 

Constructor Detail

UserMenuViewImpl

public UserMenuViewImpl()
Method Detail

setCaption

public void setCaption(String caption)
Specified by:
setCaption in interface com.vaadin.ui.Component
Specified by:
setCaption in interface UserMenuView
Overrides:
setCaption in class com.vaadin.ui.AbstractComponent

updateArrow

public void updateArrow(boolean open)

setListener

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

addAction

public void addAction(String actionName,
                      String label)
Specified by:
addAction in interface UserMenuView

asVaadinComponent

public com.vaadin.ui.Component asVaadinComponent()
Description copied from interface: View
Returns the Vaadin component managed by this view.

Specified by:
asVaadinComponent in interface View


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