public class JmixColorPicker
extends com.vaadin.ui.ColorPicker
implements com.vaadin.ui.Component.Focusable
com.vaadin.ui.AbstractColorPicker.Coordinates2Color, com.vaadin.ui.AbstractColorPicker.PopupStyle
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
blueSliderCaption |
protected java.lang.String |
cancelButtonCaption |
protected java.lang.String |
confirmButtonCaption |
protected java.lang.String |
greenSliderCaption |
protected java.lang.String |
hueSliderCaption |
protected java.lang.String |
lookupAllCaption |
protected java.lang.String |
lookupBlueCaption |
protected java.lang.String |
lookupGreenCaption |
protected java.lang.String |
lookupRedCaption |
protected java.lang.String |
redSliderCaption |
protected java.lang.String |
saturationSliderCaption |
protected java.lang.String |
swatchesTabCaption |
protected java.lang.String |
valueSliderCaption |
color, historyVisible, hsvVisible, parent, popupCaption, popupStyle, rgbVisible, rpc, STYLENAME_AREA, STYLENAME_BUTTON, STYLENAME_DEFAULT, swatchesVisible, textfieldVisible, window
Constructor and Description |
---|
JmixColorPicker() |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.data.HasValue.ValueChangeListener<com.vaadin.shared.ui.colorpicker.Color> |
createColorValueChangeListener() |
protected void |
createPopupWindow(com.vaadin.shared.ui.colorpicker.Color color) |
java.lang.String |
getBlueSliderCaption() |
java.lang.String |
getCancelButtonCaption() |
java.lang.String |
getConfirmButtonCaption() |
java.lang.String |
getGreenSliderCaption() |
java.lang.String |
getHueSliderCaption() |
java.lang.String |
getLookupAllCaption() |
java.lang.String |
getLookupBlueCaption() |
java.lang.String |
getLookupGreenCaption() |
java.lang.String |
getLookupRedCaption() |
java.lang.String |
getRedSliderCaption() |
java.lang.String |
getSaturationSliderCaption() |
protected JmixColorPickerState |
getState() |
protected JmixColorPickerState |
getState(boolean markAsDirty) |
java.lang.String |
getSwatchesTabCaption() |
java.lang.String |
getValueSliderCaption() |
java.lang.String |
getWindowCaption() |
void |
setBlueSliderCaption(java.lang.String blueSliderCaption) |
void |
setCancelButtonCaption(java.lang.String cancelButtonCaption) |
void |
setConfirmButtonCaption(java.lang.String confirmButtonCaption) |
void |
setGreenSliderCaption(java.lang.String greenSliderCaption) |
void |
setHueSliderCaption(java.lang.String hueSliderCaption) |
void |
setJTestId(java.lang.String jTestId) |
void |
setLookupAllCaption(java.lang.String lookupAllCaption) |
void |
setLookupBlueCaption(java.lang.String lookupBlueCaption) |
void |
setLookupGreenCaption(java.lang.String lookupGreenCaption) |
void |
setLookupRedCaption(java.lang.String lookupRedCaption) |
void |
setRedSliderCaption(java.lang.String redSliderCaption) |
void |
setSaturationSliderCaption(java.lang.String saturationSliderCaption) |
void |
setSwatchesTabCaption(java.lang.String swatchesTabCaption) |
void |
setValue(com.vaadin.shared.ui.colorpicker.Color color) |
void |
setValueSliderCaption(java.lang.String valueSliderCaption) |
void |
setWindowCaption(java.lang.String windowCaption) |
protected void |
showPopup(boolean open) |
doSetValue, getCustomAttributes, getEmptyValue, getHistoryVisibility, getHSVVisibility, getPopupStyle, getRGBVisibility, getSwatchesVisibility, getTextfieldVisibility, getValue, hidePopup, isDefaultCaptionEnabled, isModal, readDesign, setDefaultCaptionEnabled, setHistoryVisibility, setHSVVisibility, setModal, setPopupStyle, setPosition, setRGBVisibility, setSwatchesVisibility, setTextfieldVisibility, showPopup, writeDesign
addValueChangeListener, createValueChange, focus, getTabIndex, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setTabIndex, setValue
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, 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, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.lang.String confirmButtonCaption
protected java.lang.String cancelButtonCaption
protected java.lang.String swatchesTabCaption
protected java.lang.String lookupAllCaption
protected java.lang.String lookupRedCaption
protected java.lang.String lookupGreenCaption
protected java.lang.String lookupBlueCaption
protected java.lang.String redSliderCaption
protected java.lang.String greenSliderCaption
protected java.lang.String blueSliderCaption
protected java.lang.String hueSliderCaption
protected java.lang.String saturationSliderCaption
protected java.lang.String valueSliderCaption
protected void createPopupWindow(com.vaadin.shared.ui.colorpicker.Color color)
createPopupWindow
in class com.vaadin.ui.AbstractColorPicker
public void setJTestId(java.lang.String jTestId)
setJTestId
in interface com.vaadin.ui.Component
setJTestId
in class com.vaadin.ui.AbstractComponent
protected com.vaadin.data.HasValue.ValueChangeListener<com.vaadin.shared.ui.colorpicker.Color> createColorValueChangeListener()
createColorValueChangeListener
in class com.vaadin.ui.AbstractColorPicker
protected void showPopup(boolean open)
showPopup
in class com.vaadin.ui.AbstractColorPicker
public void setValue(com.vaadin.shared.ui.colorpicker.Color color)
setValue
in interface com.vaadin.data.HasValue<com.vaadin.shared.ui.colorpicker.Color>
setValue
in class com.vaadin.ui.AbstractColorPicker
public void setWindowCaption(@Nullable java.lang.String windowCaption)
@Nullable public java.lang.String getWindowCaption()
public void setConfirmButtonCaption(@Nullable java.lang.String confirmButtonCaption)
@Nullable public java.lang.String getConfirmButtonCaption()
public void setCancelButtonCaption(@Nullable java.lang.String cancelButtonCaption)
@Nullable public java.lang.String getCancelButtonCaption()
public void setSwatchesTabCaption(@Nullable java.lang.String swatchesTabCaption)
@Nullable public java.lang.String getSwatchesTabCaption()
public void setLookupAllCaption(@Nullable java.lang.String lookupAllCaption)
@Nullable public java.lang.String getLookupAllCaption()
public void setLookupRedCaption(@Nullable java.lang.String lookupRedCaption)
@Nullable public java.lang.String getLookupRedCaption()
public void setLookupGreenCaption(@Nullable java.lang.String lookupGreenCaption)
@Nullable public java.lang.String getLookupGreenCaption()
public void setLookupBlueCaption(@Nullable java.lang.String lookupBlueCaption)
@Nullable public java.lang.String getLookupBlueCaption()
@Nullable public java.lang.String getBlueSliderCaption()
public void setBlueSliderCaption(@Nullable java.lang.String blueSliderCaption)
@Nullable public java.lang.String getGreenSliderCaption()
public void setGreenSliderCaption(@Nullable java.lang.String greenSliderCaption)
@Nullable public java.lang.String getRedSliderCaption()
public void setRedSliderCaption(@Nullable java.lang.String redSliderCaption)
@Nullable public java.lang.String getHueSliderCaption()
public void setHueSliderCaption(@Nullable java.lang.String hueSliderCaption)
@Nullable public java.lang.String getSaturationSliderCaption()
public void setSaturationSliderCaption(@Nullable java.lang.String saturationSliderCaption)
@Nullable public java.lang.String getValueSliderCaption()
public void setValueSliderCaption(@Nullable java.lang.String valueSliderCaption)
protected JmixColorPickerState getState()
getState
in class com.vaadin.ui.ColorPicker
protected JmixColorPickerState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.ColorPicker