Class ColorPickerPopup
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.ui.AbstractComponent
-
- com.vaadin.ui.AbstractSingleComponentContainer
-
- com.vaadin.ui.Panel
-
- com.vaadin.ui.Window
-
- com.vaadin.v7.ui.components.colorpicker.ColorPickerPopup
-
- All Implemented Interfaces:
Action.Container
,Action.Notifier
,ConnectorEventListener
,ContextClickEvent.ContextClickNotifier
,FieldEvents.BlurNotifier
,FieldEvents.FocusNotifier
,MethodEventSource
,SerializableEventListener
,ClientConnector
,Scrollable
,Sizeable
,VariableOwner
,com.vaadin.shared.Connector
,Button.ClickListener
,Component
,Component.Focusable
,HasComponents
,HasComponents.ComponentAttachDetachNotifier
,LegacyComponent
,SingleComponentContainer
,ColorChangeListener
,ColorSelector
,HasColorChangeListener
,Serializable
,Iterable<Component>
,EventListener
@Deprecated public class ColorPickerPopup extends Window implements Button.ClickListener, ColorChangeListener, ColorSelector
Deprecated.A component that represents color selection popup within a color picker.- Since:
- 7.0.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.ui.Window
Window.CloseEvent, Window.CloseListener, Window.CloseShortcut, Window.ResizeEvent, Window.ResizeListener, Window.WindowModeChangeEvent, Window.WindowModeChangeListener, Window.WindowOrderChangeEvent, Window.WindowOrderChangeListener
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListener
-
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
Sizeable.Unit
-
-
Field Summary
-
Fields inherited from class com.vaadin.ui.Panel
actionManager
-
Fields inherited from class com.vaadin.ui.AbstractComponent
DESIGN_ATTR_PLAIN_TEXT
-
Fields inherited from interface com.vaadin.ui.Button.ClickListener
BUTTON_CLICK_METHOD
-
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
-
-
Constructor Summary
Constructors Constructor Description ColorPickerPopup(Color initialColor)
Deprecated.Instantiates a new color picker popup.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addColorChangeListener(ColorChangeListener listener)
Deprecated.Adds aColorChangeListener
to the component.void
buttonClick(Button.ClickEvent event)
Deprecated.void
colorChanged(ColorChangeEvent event)
Deprecated.Called when a new color has been selected.void
fireColorChanged()
Deprecated.Notifies the listeners that the color changed.Color
getColor()
Deprecated.Gets the color.List<Color>
getColorHistory()
Deprecated.Gets the color history.ColorPickerHistory
getHistory()
Deprecated.Gets the history.void
removeColorChangeListener(ColorChangeListener listener)
Deprecated.Removes aColorChangeListener
from the component.void
setColor(Color color)
Deprecated.Sets the color.void
setHistoryVisible(boolean visible)
Deprecated.Set the History visibility.void
setHSVTabVisible(boolean visible)
Deprecated.Set HSV tab visibility.void
setPreviewVisible(boolean visible)
Deprecated.Set the preview visibility.void
setRGBTabVisible(boolean visible)
Deprecated.Set RGB tab visibility.void
setSwatchesTabVisible(boolean visible)
Deprecated.Set Swatches tab visibility.-
Methods inherited from class com.vaadin.ui.Window
addBlurListener, addCloseListener, addCloseShortcut, addFocusListener, addResizeListener, addWindowModeChangeListener, addWindowOrderChangeListener, bringToFront, center, changeVariables, close, fireClose, fireResize, fireWindowOrderChange, fireWindowWindowModeChange, focus, getAssistiveDescription, getAssistivePostfix, getAssistivePrefix, getAssistiveRole, getCloseShortcuts, getCustomAttributes, getOrderPosition, getPositionX, getPositionY, getState, getState, getTabStopBottomAssistiveText, getTabStopTopAssistiveText, getWindowMode, hasCloseShortcut, isClosable, isDraggable, isModal, isResizable, isResizeLazy, isTabStopEnabled, paintContent, readDesign, readDesignChildren, removeAllCloseShortcuts, removeCloseListener, removeCloseShortcut, removeCloseShortcut, removeResizeListener, removeWindowModeChangeListener, setAssistiveDescription, setAssistivePostfix, setAssistivePrefix, setAssistiveRole, setClosable, setCloseShortcut, setDraggable, setModal, setParent, setPosition, setPositionX, setPositionY, setResizable, setResizeLazy, setTabStopBottomAssistiveText, setTabStopEnabled, setTabStopTopAssistiveText, setWindowMode, writeDesign
-
Methods inherited from class com.vaadin.ui.Panel
addAction, addActionHandler, addClickListener, getActionManager, getScrollLeft, getScrollTop, getTabIndex, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, setCaption, setScrollLeft, setScrollTop, setTabIndex
-
Methods inherited from class com.vaadin.ui.AbstractSingleComponentContainer
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
-
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setPrimaryStyleName, setStyleName, setStyleName, setVisible
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface com.vaadin.ui.LegacyComponent
markAsDirty
-
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from interface com.vaadin.server.VariableOwner
isEnabled
-
-
-
-
Constructor Detail
-
ColorPickerPopup
public ColorPickerPopup(Color initialColor)
Deprecated.Instantiates a new color picker popup.- Parameters:
initialColor
- initially selected color
-
-
Method Detail
-
buttonClick
public void buttonClick(Button.ClickEvent event)
Deprecated.- Specified by:
buttonClick
in interfaceButton.ClickListener
-
fireColorChanged
public void fireColorChanged()
Deprecated.Notifies the listeners that the color changed.
-
getHistory
public ColorPickerHistory getHistory()
Deprecated.Gets the history.- Returns:
- the history
-
setColor
public void setColor(Color color)
Deprecated.Description copied from interface:ColorSelector
Sets the color.- Specified by:
setColor
in interfaceColorSelector
- Parameters:
color
- the new color
-
getColor
public Color getColor()
Deprecated.Description copied from interface:ColorSelector
Gets the color.- Specified by:
getColor
in interfaceColorSelector
- Returns:
- the color
-
getColorHistory
public List<Color> getColorHistory()
Deprecated.Gets the color history.- Returns:
- the color history
-
colorChanged
public void colorChanged(ColorChangeEvent event)
Deprecated.Description copied from interface:ColorChangeListener
Called when a new color has been selected.- Specified by:
colorChanged
in interfaceColorChangeListener
- Parameters:
event
- An event containing information about the color change.
-
addColorChangeListener
public void addColorChangeListener(ColorChangeListener listener)
Deprecated.Description copied from interface:HasColorChangeListener
Adds aColorChangeListener
to the component.- Specified by:
addColorChangeListener
in interfaceHasColorChangeListener
-
removeColorChangeListener
public void removeColorChangeListener(ColorChangeListener listener)
Deprecated.Description copied from interface:HasColorChangeListener
Removes aColorChangeListener
from the component.- Specified by:
removeColorChangeListener
in interfaceHasColorChangeListener
-
setRGBTabVisible
public void setRGBTabVisible(boolean visible)
Deprecated.Set RGB tab visibility.- Parameters:
visible
- The visibility of the RGB tab
-
setHSVTabVisible
public void setHSVTabVisible(boolean visible)
Deprecated.Set HSV tab visibility.- Parameters:
visible
- The visibility of the HSV tab
-
setSwatchesTabVisible
public void setSwatchesTabVisible(boolean visible)
Deprecated.Set Swatches tab visibility.- Parameters:
visible
- The visibility of the Swatches tab
-
setHistoryVisible
public void setHistoryVisible(boolean visible)
Deprecated.Set the History visibility.- Parameters:
visible
-
-
setPreviewVisible
public void setPreviewVisible(boolean visible)
Deprecated.Set the preview visibility.- Parameters:
visible
-
-
-