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
|
Method Summary |
protected com.google.gwt.user.client.ui.Widget |
createWidget()
Creates and returns the widget for this VPaintableWidget. |
VMenuBar |
getWidget()
Returns the widget associated with this paintable. |
void |
layout()
|
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
This method must be implemented to update the client-side component from
UIDL data received from server. |
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector |
delegateCaptionHandling, getLayoutManager, getParent, getState, getStyleNames, hasEventListener, isEnabled, isReadOnly, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setParent, setState, setWidgetEnabled |
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractConnector |
addStateChangeHandler, doInit, ensureHandlerManager, fireEvent, getConnection, getConnectorId, getRpcImplementations, init, isConnectorEnabled, registerRpc, 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.ComponentConnector |
delegateCaptionHandling, getLayoutManager, getParent, getState, hasEventListener, isReadOnly, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setParent, setWidgetEnabled |
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
createWidget
protected com.google.gwt.user.client.ui.Widget createWidget()
- Description copied from class:
AbstractComponentConnector
- Creates and returns the widget for this VPaintableWidget. This method
should only be called once when initializing the paintable.
- Specified by:
createWidget in class AbstractComponentConnector
- Returns:
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
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.