com.vaadin.terminal.gwt.client.ui.menubar
Class MenuBarConnector
java.lang.Object
com.vaadin.terminal.gwt.client.ui.AbstractConnector
com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector
com.vaadin.terminal.gwt.client.ui.menubar.MenuBarConnector
- All Implemented Interfaces:
- com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ComponentConnector, Connector, Paintable, ServerConnector, ManagedLayout, SimpleManagedLayout, Serializable
public class MenuBarConnector
- extends AbstractComponentConnector
- implements Paintable, SimpleManagedLayout
- See Also:
- Serialized Form
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector |
createWidget, delegateCaptionHandling, getLayoutManager, getState, hasEventListener, init, isReadOnly, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateEnabledState, updateWidgetStyleNames |
Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractConnector |
addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, getChildren, getConnection, getConnectorId, getParent, getRpcImplementations, isEnabled, registerRpc, setChildren, setParent, unregisterRpc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.vaadin.terminal.gwt.client.ServerConnector |
addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, isEnabled, onUnregister, setChildren, setParent, updateEnabledState |
MenuBarConnector
public MenuBarConnector()
updateFromUIDL
public void updateFromUIDL(UIDL uidl,
ApplicationConnection client)
- This method must be implemented to update the client-side component from
UIDL data received from server.
This method is called when the page is loaded for the first time, and
every time UI changes in the component are received from the server.
- Specified by:
updateFromUIDL
in interface Paintable
getWidget
public VMenuBar getWidget()
- Description copied from class:
AbstractComponentConnector
- Returns the widget associated with this paintable. The widget returned by
this method must not changed during the life time of the paintable.
- Specified by:
getWidget
in interface ComponentConnector
- Overrides:
getWidget
in class AbstractComponentConnector
- Returns:
- The widget associated with this paintable
layout
public void layout()
- Specified by:
layout
in interface SimpleManagedLayout
getTooltipInfo
public TooltipInfo getTooltipInfo(com.google.gwt.dom.client.Element element)
- Description copied from interface:
ComponentConnector
- Gets the tooltip info for the given element.
- Specified by:
getTooltipInfo
in interface ComponentConnector
- Overrides:
getTooltipInfo
in class AbstractComponentConnector
- Parameters:
element
- The element to lookup a tooltip for
- Returns:
- The tooltip for the element or null if no tooltip is defined for
this element.
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.