Class PopupButtonConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.button.ButtonConnector
io.jmix.ui.widget.client.addon.popupbutton.PopupButtonConnector
- All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler
,com.google.gwt.event.shared.EventHandler
,com.google.gwt.user.client.Event.NativePreviewHandler
,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.HasContextHelpConnector
,com.vaadin.client.ui.HasErrorIndicator
,com.vaadin.shared.Connector
,Serializable
- Direct Known Subclasses:
JmixPopupButtonConnector
public class PopupButtonConnector
extends com.vaadin.client.ui.button.ButtonConnector
implements com.vaadin.client.HasComponentsConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.google.gwt.user.client.Event.NativePreviewHandler
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gwt.event.shared.HandlerRegistration
addConnectorHierarchyChangeHandler
(com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler) protected VPopupButton
boolean
List<com.vaadin.client.ComponentConnector>
getState()
void
init()
void
onClick
(com.google.gwt.event.dom.client.ClickEvent event) void
onConnectorHierarchyChange
(com.vaadin.client.ConnectorHierarchyChangeEvent event) void
onPreviewNativeEvent
(com.google.gwt.user.client.Event.NativePreviewEvent event) void
onStateChanged
(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) void
void
setChildComponents
(List<com.vaadin.client.ComponentConnector> children) void
updateCaption
(com.vaadin.client.ComponentConnector component) Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
contextHelpIconClick, contextHelpIconClick, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasContextHelpIconListeners, hasTooltip, isContextHelpIconEnabled, isContextHelpTooltipEnabled, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, 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, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, 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.shared.Connector
getConnectorId
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
-
Constructor Details
-
PopupButtonConnector
public PopupButtonConnector()
-
-
Method Details
-
init
public void init()- Overrides:
init
in classcom.vaadin.client.ui.button.ButtonConnector
-
onUnregister
public void onUnregister()- Specified by:
onUnregister
in interfacecom.vaadin.client.ServerConnector
- Overrides:
onUnregister
in classcom.vaadin.client.ui.AbstractComponentConnector
-
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event) - Specified by:
onClick
in interfacecom.google.gwt.event.dom.client.ClickHandler
- Overrides:
onClick
in classcom.vaadin.client.ui.button.ButtonConnector
-
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) - Specified by:
onStateChanged
in interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler
- Overrides:
onStateChanged
in classcom.vaadin.client.ui.AbstractComponentConnector
-
onConnectorHierarchyChange
public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event) - Specified by:
onConnectorHierarchyChange
in interfacecom.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
-
createWidget
- Overrides:
createWidget
in classcom.vaadin.client.ui.AbstractComponentConnector
-
getWidget
- Specified by:
getWidget
in interfacecom.vaadin.client.HasWidget
- Overrides:
getWidget
in classcom.vaadin.client.ui.button.ButtonConnector
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ComponentConnector
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classcom.vaadin.client.ui.button.ButtonConnector
-
updateCaption
public void updateCaption(com.vaadin.client.ComponentConnector component) - Specified by:
updateCaption
in interfacecom.vaadin.client.HasComponentsConnector
-
getChildComponents
- Specified by:
getChildComponents
in interfacecom.vaadin.client.HasComponentsConnector
-
setChildComponents
- Specified by:
setChildComponents
in interfacecom.vaadin.client.HasComponentsConnector
-
addConnectorHierarchyChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addConnectorHierarchyChangeHandler(com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler) - Specified by:
addConnectorHierarchyChangeHandler
in interfacecom.vaadin.client.HasComponentsConnector
-
onPreviewNativeEvent
public void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event) - Specified by:
onPreviewNativeEvent
in interfacecom.google.gwt.user.client.Event.NativePreviewHandler
-
delegateCaptionHandling
public boolean delegateCaptionHandling()- Specified by:
delegateCaptionHandling
in interfacecom.vaadin.client.ComponentConnector
- Overrides:
delegateCaptionHandling
in classcom.vaadin.client.ui.button.ButtonConnector
-