Class PopupButtonConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
com.vaadin.addon.spreadsheet.client.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:
-
Field Summary
FieldsFields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.gwt.user.client.ui.Widgetprotected <T extends com.vaadin.shared.communication.ServerRpc>
TgetRpcProxy(Class<T> rpcInterface) getState()voidinit()voidonClick(com.google.gwt.event.dom.client.ClickEvent event) voidonClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event) voidonConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent) voidonStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) voidvoidupdateCaption(com.vaadin.client.ComponentConnector connector) Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponentsMethods 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, updateWidgetStyleNamesMethods 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, unregisterRpcMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.shared.Connector
getConnectorIdMethods 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
-
Field Details
-
rpc
-
-
Constructor Details
-
PopupButtonConnector
public PopupButtonConnector()
-
-
Method Details
-
init
public void init()- Overrides:
initin classcom.vaadin.client.ui.AbstractConnector
-
setPopupButtonServerRpc
-
getRpcProxy
protected <T extends com.vaadin.shared.communication.ServerRpc> T getRpcProxy(Class<T> rpcInterface) - Overrides:
getRpcProxyin classcom.vaadin.client.ui.AbstractConnector
-
createWidget
protected com.google.gwt.user.client.ui.Widget createWidget()- Overrides:
createWidgetin classcom.vaadin.client.ui.AbstractComponentConnector
-
getWidget
- Specified by:
getWidgetin interfacecom.vaadin.client.HasWidget- Overrides:
getWidgetin classcom.vaadin.client.ui.AbstractComponentConnector
-
getState
- Specified by:
getStatein interfacecom.vaadin.client.ComponentConnector- Specified by:
getStatein interfacecom.vaadin.client.ServerConnector- Overrides:
getStatein classcom.vaadin.client.ui.AbstractComponentConnector
-
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) - Specified by:
onStateChangedin interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler- Overrides:
onStateChangedin classcom.vaadin.client.ui.AbstractComponentConnector
-
updateCaption
public void updateCaption(com.vaadin.client.ComponentConnector connector) - Specified by:
updateCaptionin interfacecom.vaadin.client.HasComponentsConnector
-
onConnectorHierarchyChange
public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent) - Specified by:
onConnectorHierarchyChangein interfacecom.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
-
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event) - Specified by:
onClickin interfacecom.google.gwt.event.dom.client.ClickHandler
-