Class AbstractColorPickerConnector
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.ui.AbstractComponentConnector
-
- com.vaadin.v7.client.ui.AbstractLegacyComponentConnector
-
- com.vaadin.v7.client.ui.colorpicker.AbstractColorPickerConnector
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler,com.google.gwt.event.shared.EventHandler,StateChangeEvent.StateChangeHandler,ComponentConnector,HasWidget,ServerConnector,HasErrorIndicator,com.vaadin.shared.Connector,ComponentConnector,Serializable
- Direct Known Subclasses:
ColorPickerAreaConnector,ColorPickerConnector
@Deprecated public abstract class AbstractColorPickerConnector extends AbstractLegacyComponentConnector implements com.google.gwt.event.dom.client.ClickHandler
Deprecated.An abstract class that defines default implementation for a color picker connector.- Since:
- 7.0.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description AbstractColorPickerConnector()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleandelegateCaptionHandling()Deprecated.protected StringgetCaption()Deprecated.Get caption for the color picker widget.ColorPickerStategetState()Deprecated.voidinit()Deprecated.voidonStateChanged(StateChangeEvent stateChangeEvent)Deprecated.protected abstract voidrefreshColor()Deprecated.Update the widget to show the currently selected color.protected voidrefreshDefaultCaptionStyle()Deprecated.Add/remove default caption style.protected abstract voidsetCaption(String caption)Deprecated.Set caption of the color picker widget.-
Methods inherited from class com.vaadin.v7.client.ui.AbstractLegacyComponentConnector
getRpcProxy, isReadOnly, updateWidgetStyleNames
-
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
createWidget, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, getWidget, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize
-
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.client.ComponentConnector
flush, getLayoutManager, getTooltipInfo, hasTooltip, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled
-
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
-
-
-
-
Method Detail
-
getState
public ColorPickerState getState()
Deprecated.- Specified by:
getStatein interfaceComponentConnector- Specified by:
getStatein interfaceServerConnector- Overrides:
getStatein classAbstractLegacyComponentConnector
-
delegateCaptionHandling
public boolean delegateCaptionHandling()
Deprecated.- Specified by:
delegateCaptionHandlingin interfaceComponentConnector- Overrides:
delegateCaptionHandlingin classAbstractComponentConnector
-
onStateChanged
public void onStateChanged(StateChangeEvent stateChangeEvent)
Deprecated.- Specified by:
onStateChangedin interfaceStateChangeEvent.StateChangeHandler- Overrides:
onStateChangedin classAbstractComponentConnector
-
init
public void init()
Deprecated.- Overrides:
initin classAbstractConnector
-
getCaption
protected String getCaption()
Deprecated.Get caption for the color picker widget.- Returns:
-
refreshDefaultCaptionStyle
protected void refreshDefaultCaptionStyle()
Deprecated.Add/remove default caption style.
-
setCaption
protected abstract void setCaption(String caption)
Deprecated.Set caption of the color picker widget.- Parameters:
caption-
-
refreshColor
protected abstract void refreshColor()
Deprecated.Update the widget to show the currently selected color.
-
-