public class ColorPickerGridConnector extends AbstractComponentConnector implements com.google.gwt.event.dom.client.ClickHandler
ColorPickerGrid with the client
side counterpart VColorPickerGridSIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
ColorPickerGridConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gwt.user.client.ui.Widget |
createWidget()
Creates and returns the widget for this VPaintableWidget.
|
ColorPickerGridState |
getState()
Returns the shared state object for this connector.
|
VColorPickerGrid |
getWidget()
Returns the widget associated with this paintable.
|
protected 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.
|
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, 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, setTaggetConnectorIdprotected com.google.gwt.user.client.ui.Widget createWidget()
AbstractComponentConnector
You should typically not override this method since the framework by
default generates an implementation that uses GWT.create(Class)
to create a widget of the same type as returned by the most specific
override of AbstractComponentConnector.getWidget(). If you do override the method, you
can't call super.createWidget() since the metadata needed
for that implementation is not generated if there's an override of the
method.
createWidget in class AbstractComponentConnectorpublic VColorPickerGrid getWidget()
AbstractComponentConnectorgetWidget in interface HasWidgetgetWidget in class AbstractComponentConnectorpublic ColorPickerGridState 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.ClickHandlerpublic void onStateChanged(StateChangeEvent stateChangeEvent)
StateChangeEvent.StateChangeHandleronStateChanged in interface StateChangeEvent.StateChangeHandleronStateChanged in class AbstractComponentConnectorstateChangeEvent - the state change event with details about the changeprotected void init()
AbstractConnectorinit in class AbstractConnectorCopyright © 2023 Vaadin Ltd. All rights reserved.