Class VitruvioCustomColorPicker

Object
AbstractClientConnector
AbstractComponent
AbstractLegacyComponent
AbstractColorPicker
ColorPicker
VitruvioCustomColorPicker
All Implemented Interfaces:
ContextClickEvent.ContextClickNotifier, MethodEventSource, SerializableEventListener, ClientConnector, Sizeable, Connector, Component, Window.CloseListener, ColorSelector, HasColorChangeListener, Serializable, EventListener

public class VitruvioCustomColorPicker extends ColorPicker
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class AbstractColorPicker

    AbstractColorPicker.Coordinates2Color, AbstractColorPicker.PopupStyle

    Nested classes/interfaces inherited from interface ClientConnector

    ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener

    Nested classes/interfaces inherited from interface Component

    Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener

    Nested classes/interfaces inherited from interface Sizeable

    Sizeable.Unit
  • Field Summary

    Fields inherited from class AbstractColorPicker

    color, historyVisible, hsvVisible, popupCaption, popupStyle, rgbVisible, STYLENAME_AREA, STYLENAME_BUTTON, STYLENAME_DEFAULT, swatchesVisible, textfieldVisible

    Fields inherited from class AbstractComponent

    DESIGN_ATTR_PLAIN_TEXT

    Fields inherited from interface 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
     
     
    VitruvioCustomColorPicker(String popupCaption, Color initialColor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    void
    setCenterPopupWindow(boolean center)
     
    void
     
    void
    setModalPopupWindow(boolean center)
     
    protected void
    showPopup(boolean open)
     

    Methods inherited from class ColorPicker

    setDefaultStyles

    Methods inherited from class AbstractColorPicker

    addColorChangeListener, colorChanged, fireColorChanged, getColor, getCustomAttributes, getHistoryVisibility, getHSVVisibility, getPopupStyle, getRGBVisibility, getState, getState, getSwatchesVisibility, getTextfieldVisibility, hidePopup, isDefaultCaptionEnabled, isHtmlContentAllowed, readDesign, removeColorChangeListener, setColor, setDefaultCaptionEnabled, setHistoryVisibility, setHSVVisibility, setHtmlContentAllowed, setPopupStyle, setPosition, setRGBVisibility, setSwatchesVisibility, setTextfieldVisibility, showPopup, windowClose, writeDesign

    Methods inherited from class AbstractLegacyComponent

    beforeClientResponse, getExplicitImmediateValue, isImmediate, isReadOnly, setImmediate, setReadOnly

    Methods inherited from class AbstractComponent

    addContextClickListener, addListener, addShortcutListener, addStyleName, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined

    Methods inherited from class 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 Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ClientConnector

    addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler

    Methods inherited from interface Component

    addStyleNames, getUI, removeStyleNames, setStyleName

    Methods inherited from interface Connector

    getConnectorId
  • Constructor Details

    • VitruvioCustomColorPicker

      public VitruvioCustomColorPicker()
    • VitruvioCustomColorPicker

      public VitruvioCustomColorPicker(String popupCaption, Color initialColor)
    • VitruvioCustomColorPicker

      public VitruvioCustomColorPicker(String popupCaption)
  • Method Details

    • setCenterPopupWindow

      public void setCenterPopupWindow(boolean center)
    • isCenterPopupWindow

      public boolean isCenterPopupWindow()
    • setModalPopupWindow

      public void setModalPopupWindow(boolean center)
    • isModalPopupWindow

      public boolean isModalPopupWindow()
    • showPopup

      protected void showPopup(boolean open)
      Overrides:
      showPopup in class AbstractColorPicker
    • setColor

      public void setColor(String hex)