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
Constructor and Description |
---|
PopupButtonConnector() |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addConnectorHierarchyChangeHandler(com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler) |
protected VPopupButton |
createWidget() |
boolean |
delegateCaptionHandling() |
java.util.List<com.vaadin.client.ComponentConnector> |
getChildComponents() |
PopupButtonState |
getState() |
VPopupButton |
getWidget() |
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 |
onUnregister() |
void |
setChildComponents(java.util.List<com.vaadin.client.ComponentConnector> children) |
void |
updateCaption(com.vaadin.client.ComponentConnector component) |
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
public void init()
init
in class com.vaadin.client.ui.button.ButtonConnector
public void onUnregister()
onUnregister
in interface com.vaadin.client.ServerConnector
onUnregister
in class com.vaadin.client.ui.AbstractComponentConnector
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick
in interface com.google.gwt.event.dom.client.ClickHandler
onClick
in class com.vaadin.client.ui.button.ButtonConnector
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
onStateChanged
in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
onStateChanged
in class com.vaadin.client.ui.AbstractComponentConnector
public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
onConnectorHierarchyChange
in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
protected VPopupButton createWidget()
createWidget
in class com.vaadin.client.ui.AbstractComponentConnector
public VPopupButton getWidget()
getWidget
in interface com.vaadin.client.HasWidget
getWidget
in class com.vaadin.client.ui.button.ButtonConnector
public PopupButtonState getState()
getState
in interface com.vaadin.client.ComponentConnector
getState
in interface com.vaadin.client.ServerConnector
getState
in class com.vaadin.client.ui.button.ButtonConnector
public void updateCaption(com.vaadin.client.ComponentConnector component)
updateCaption
in interface com.vaadin.client.HasComponentsConnector
public java.util.List<com.vaadin.client.ComponentConnector> getChildComponents()
getChildComponents
in interface com.vaadin.client.HasComponentsConnector
public void setChildComponents(java.util.List<com.vaadin.client.ComponentConnector> children)
setChildComponents
in interface com.vaadin.client.HasComponentsConnector
public com.google.gwt.event.shared.HandlerRegistration addConnectorHierarchyChangeHandler(com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler handler)
addConnectorHierarchyChangeHandler
in interface com.vaadin.client.HasComponentsConnector
public void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event)
onPreviewNativeEvent
in interface com.google.gwt.user.client.Event.NativePreviewHandler
public boolean delegateCaptionHandling()
delegateCaptionHandling
in interface com.vaadin.client.ComponentConnector
delegateCaptionHandling
in class com.vaadin.client.ui.button.ButtonConnector