public class XdevColorPicker extends ColorPicker implements XdevField
AbstractColorPicker.Coordinates2Color, AbstractColorPicker.PopupStyle
ExtendableObject.Extensions
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
Sizeable.Unit
PERSIST_VALUE_DEFAULT
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
Constructor and Description |
---|
XdevColorPicker()
Instantiates a new color picker.
|
XdevColorPicker(String popupCaption)
Instantiates a new color picker.
|
XdevColorPicker(String popupCaption,
Color initialColor)
Instantiates a new color picker.
|
Modifier and Type | Method and Description |
---|---|
<E> E |
addExtension(Class<? super E> type,
E extension)
Adds an extension to this component.
|
<E> E |
getExtension(Class<E> type)
Gets the registered extension for the specified type.
|
boolean |
isPersistValue() |
void |
setPersistValue(boolean persistValue) |
addColorChangeListener, fireColorChanged, getColor, getHistoryVisibility, getHSVVisibility, getPopupStyle, getRGBVisibility, getSwatchesVisibility, getTextfieldVisibility, hidePopup, isDefaultCaptionEnabled, isHtmlContentAllowed, readDesign, removeColorChangeListener, setColor, setDefaultCaptionEnabled, setHistoryVisibility, setHSVVisibility, setHtmlContentAllowed, setPopupStyle, setPosition, setRGBVisibility, setSwatchesVisibility, setTextfieldVisibility, showPopup, windowClose, writeDesign
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addListener, addListener, encodeState, equals, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getRpcManager, getStateType, getUI, handleConnectorRequest, hashCode, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getClass, notify, notifyAll, toString, wait, wait, wait
isEnabled, isReadOnly, isVisible, setEnabled, setReadOnly, setVisible
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getConnectorId
public XdevColorPicker()
public XdevColorPicker(String popupCaption)
popupCaption
- caption of the color select popuppublic <E> E addExtension(Class<? super E> type, E extension)
addExtension
in interface ExtendableObject
type
- the type to register the extension forextension
- the extensionnull
ExtendableObject.getExtension(Class)
public <E> E getExtension(Class<E> type)
getExtension
in interface ExtendableObject
type
- the type the extension was registered withnull
if none was added before for
this typeExtendableObject.addExtension(Class, Object)
public boolean isPersistValue()
isPersistValue
in interface XdevField
public void setPersistValue(boolean persistValue)
setPersistValue
in interface XdevField