public class NativeButtonConnector extends AbstractComponentConnector implements com.google.gwt.event.dom.client.ClickHandler
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
NativeButtonConnector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delegateCaptionHandling()
Return true if parent handles caption, false if the paintable handles the
caption itself.
|
NativeButtonState |
getState()
Returns the shared state object for this connector.
|
VNativeButton |
getWidget()
Returns the widget associated with this paintable.
|
void |
init()
Called when the connector has been initialized.
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onStateChanged(StateChangeEvent stateChangeEvent)
Notifies the event handler that the state has changed.
|
createWidget, 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, updateWidgetStyleNamesaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTaggetConnectorIdpublic void init()
AbstractConnectorinit in class AbstractConnectorpublic boolean delegateCaptionHandling()
ComponentConnectorThis should always return true and all components should let the parent handle the caption and use other attributes for internal texts in the component
delegateCaptionHandling in interface ComponentConnectordelegateCaptionHandling in class AbstractComponentConnectorpublic void onStateChanged(StateChangeEvent stateChangeEvent)
StateChangeEvent.StateChangeHandleronStateChanged in interface StateChangeEvent.StateChangeHandleronStateChanged in class AbstractComponentConnectorstateChangeEvent - the state change event with details about the changepublic VNativeButton getWidget()
AbstractComponentConnectorgetWidget in interface HasWidgetgetWidget in class AbstractComponentConnectorpublic NativeButtonState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractComponentConnectorpublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerCopyright © 2023 Vaadin Ltd. All rights reserved.