Class JmixPopupButtonConnector
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
io.jmix.ui.widget.client.popupbutton.JmixPopupButtonConnector
- 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
- See Also:
-
Field Summary
FieldsFields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JmixPopupButtonWidgetgetState()protected voidhandleClick(com.google.gwt.user.client.Event.NativePreviewEvent event, com.google.gwt.dom.client.Element target) protected voidhandleKeyDown(com.google.gwt.user.client.Event.NativePreviewEvent event, com.google.gwt.dom.client.Element target) protected voidhandleMouseOver(com.google.gwt.user.client.Event.NativePreviewEvent event, com.google.gwt.dom.client.Element target) protected booleanisLastChild(com.google.gwt.dom.client.Element target) voidonPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event) voidonStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) Methods inherited from class io.jmix.ui.widget.client.addon.popupbutton.PopupButtonConnector
addConnectorHierarchyChangeHandler, delegateCaptionHandling, getChildComponents, init, onClick, onConnectorHierarchyChange, onUnregister, setChildComponents, updateCaptionMethods 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, updateWidgetStyleNamesMethods 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, 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, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
-
Field Details
-
rpc
-
-
Constructor Details
-
JmixPopupButtonConnector
public JmixPopupButtonConnector()
-
-
Method Details
-
getState
- Specified by:
getStatein interfacecom.vaadin.client.ComponentConnector- Specified by:
getStatein interfacecom.vaadin.client.ServerConnector- Overrides:
getStatein classPopupButtonConnector
-
createWidget
- Overrides:
createWidgetin classPopupButtonConnector
-
getWidget
- Specified by:
getWidgetin interfacecom.vaadin.client.HasWidget- Overrides:
getWidgetin classPopupButtonConnector
-
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) - Specified by:
onStateChangedin interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler- Overrides:
onStateChangedin classPopupButtonConnector
-
onPreviewNativeEvent
public void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event) - Specified by:
onPreviewNativeEventin interfacecom.google.gwt.user.client.Event.NativePreviewHandler- Overrides:
onPreviewNativeEventin classPopupButtonConnector
-
handleClick
protected void handleClick(com.google.gwt.user.client.Event.NativePreviewEvent event, com.google.gwt.dom.client.Element target) -
handleMouseOver
protected void handleMouseOver(com.google.gwt.user.client.Event.NativePreviewEvent event, com.google.gwt.dom.client.Element target) -
handleKeyDown
protected void handleKeyDown(com.google.gwt.user.client.Event.NativePreviewEvent event, com.google.gwt.dom.client.Element target) -
isLastChild
protected boolean isLastChild(com.google.gwt.dom.client.Element target)
-