Class PopupButtonConnector

  • All Implemented Interfaces:
    com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.vaadin.client.HasComponentsConnector, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.shared.Connector, Serializable

    public class PopupButtonConnector
    extends com.vaadin.client.ui.AbstractHasComponentsConnector
    implements com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      PopupButtonClientRpc rpc  
      • Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector

        SIGNIFICANT_MOVE_THRESHOLD
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.google.gwt.user.client.ui.Widget createWidget()  
      protected <T extends com.vaadin.shared.communication.ServerRpc>
      T
      getRpcProxy​(Class<T> rpcInterface)  
      PopupButtonState getState()  
      PopupButtonWidget getWidget()  
      void init()  
      void onClick​(com.google.gwt.event.dom.client.ClickEvent event)  
      void onClose​(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)  
      void onConnectorHierarchyChange​(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)  
      void onStateChanged​(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)  
      void setPopupButtonServerRpc​(PopupButtonServerRpc rpc)  
      void updateCaption​(com.vaadin.client.ComponentConnector connector)  
      • Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector

        addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
      • Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector

        delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames
      • Methods inherited from class com.vaadin.client.ui.AbstractConnector

        addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc
      • Methods inherited from interface com.vaadin.shared.Connector

        getConnectorId
      • Methods inherited from interface com.vaadin.client.ServerConnector

        addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
    • Constructor Detail

      • PopupButtonConnector

        public PopupButtonConnector()
    • Method Detail

      • init

        public void init()
        Overrides:
        init in class com.vaadin.client.ui.AbstractConnector
      • getRpcProxy

        protected <T extends com.vaadin.shared.communication.ServerRpc> T getRpcProxy​(Class<T> rpcInterface)
        Overrides:
        getRpcProxy in class com.vaadin.client.ui.AbstractConnector
      • createWidget

        protected com.google.gwt.user.client.ui.Widget createWidget()
        Overrides:
        createWidget in class com.vaadin.client.ui.AbstractComponentConnector
      • getWidget

        public PopupButtonWidget getWidget()
        Specified by:
        getWidget in interface com.vaadin.client.HasWidget
        Overrides:
        getWidget in class com.vaadin.client.ui.AbstractComponentConnector
      • getState

        public PopupButtonState getState()
        Specified by:
        getState in interface com.vaadin.client.ComponentConnector
        Specified by:
        getState in interface com.vaadin.client.ServerConnector
        Overrides:
        getState in class com.vaadin.client.ui.AbstractComponentConnector
      • onStateChanged

        public void onStateChanged​(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
        Specified by:
        onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
        Overrides:
        onStateChanged in class com.vaadin.client.ui.AbstractComponentConnector
      • updateCaption

        public void updateCaption​(com.vaadin.client.ComponentConnector connector)
        Specified by:
        updateCaption in interface com.vaadin.client.HasComponentsConnector
      • onConnectorHierarchyChange

        public void onConnectorHierarchyChange​(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
        Specified by:
        onConnectorHierarchyChange in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
      • onClose

        public void onClose​(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)
        Specified by:
        onClose in interface com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>
      • onClick

        public void onClick​(com.google.gwt.event.dom.client.ClickEvent event)
        Specified by:
        onClick in interface com.google.gwt.event.dom.client.ClickHandler