public class ColorPickerAreaConnector extends AbstractColorPickerConnector
ColorPickerArea with the client side
counterpart VColorPickerAreaSIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
ColorPickerAreaConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gwt.user.client.ui.Widget |
createWidget()
Creates and returns the widget for this VPaintableWidget.
|
ColorPickerAreaState |
getState()
Returns the shared state object for this connector.
|
VColorPickerArea |
getWidget()
Returns the widget associated with this paintable.
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
protected void |
refreshColor()
Update the widget to show the currently selected color.
|
protected void |
setCaption(String caption)
Set caption of the color picker widget.
|
delegateCaptionHandling, getCaption, init, onStateChanged, refreshDefaultCaptionStyleflush, 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 VColorPickerArea getWidget()
AbstractComponentConnectorgetWidget in interface HasWidgetgetWidget in class AbstractComponentConnectorpublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
protected void setCaption(String caption)
AbstractColorPickerConnectorsetCaption in class AbstractColorPickerConnectorcaption - the caption to setprotected void refreshColor()
AbstractColorPickerConnectorrefreshColor in class AbstractColorPickerConnectorpublic ColorPickerAreaState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractColorPickerConnectorCopyright © 2023 Vaadin Ltd. All rights reserved.