public interface ColorPicker extends Field, Component.Focusable
Field.Validator
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.ContextHelpIconClickEvent, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasContextHelp, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasOptionsStyleProvider, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OptionsStyleProvider, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBlueSliderCaption()
Return caption of the slider for blue color.
|
java.lang.String |
getButtonCaption()
Return caption of color picker button.
|
java.lang.String |
getCancelButtonCaption()
Return caption of the cancel button.
|
java.lang.String |
getConfirmButtonCaption()
Return caption of the confirm button.
|
java.lang.String |
getGreenSliderCaption()
Return caption of the slider for green color.
|
java.lang.String |
getHueSliderCaption()
Return caption of the slider for HUE.
|
java.lang.String |
getLookupAllCaption()
Return caption of the all colors in lookup.
|
java.lang.String |
getLookupBlueCaption()
Return caption of the blue colors in lookup.
|
java.lang.String |
getLookupGreenCaption()
Return caption of the green colors in lookup.
|
java.lang.String |
getLookupRedCaption()
Return caption of the red colors in lookup.
|
java.lang.String |
getPopupCaption()
Return caption of the popup window.
|
java.lang.String |
getRedSliderCaption()
Return caption of the slider for red color.
|
java.lang.String |
getSaturationSliderCaption()
Return caption of the slider for saturation.
|
java.lang.String |
getSwatchesTabCaption()
Return caption of the swatches tab.
|
java.lang.String |
getValue() |
java.lang.String |
getValueSliderCaption()
Return caption of the slider for value.
|
boolean |
isDefaultCaptionEnabled() |
boolean |
isHistoryVisible() |
boolean |
isHSVVisible() |
boolean |
isRGBVisible() |
boolean |
isSwatchesVisible() |
void |
setBlueSliderCaption(java.lang.String blueSliderCaption)
Set caption for the slider of blue color.
|
void |
setButtonCaption(java.lang.String buttonCaption)
Set caption for color picker button.
|
void |
setCancelButtonCaption(java.lang.String cancelButtonCaption)
Set caption for the cancel button.
|
void |
setConfirmButtonCaption(java.lang.String confirmButtonCaption)
Set caption for the confirm button.
|
void |
setDefaultCaptionEnabled(boolean defaultCaptionEnabled)
Set HEX value as button caption.
|
void |
setGreenSliderCaption(java.lang.String greenSliderCaption)
Set caption for the slider of green color.
|
void |
setHistoryVisible(boolean historyVisible)
Set visibility for history pane
|
void |
setHSVVisible(boolean hsvVisible)
Set visibility for HSV tab
|
void |
setHueSliderCaption(java.lang.String hueSliderCaption)
Set caption for the HUE slider.
|
void |
setLookupAllCaption(java.lang.String lookupAllCaption)
Set caption for the all colors in lookup.
|
void |
setLookupBlueCaption(java.lang.String lookupBlueCaption)
Set caption for the blue colors in lookup.
|
void |
setLookupGreenCaption(java.lang.String lookupGreenCaption)
Set caption for the green colors in lookup.
|
void |
setLookupRedCaption(java.lang.String lookupRedCaption)
Set caption for the red colors in lookup.
|
void |
setPopupCaption(java.lang.String popupCaption)
Set caption for the popup window.
|
void |
setRedSliderCaption(java.lang.String redSliderCaption)
Set caption for the slider of red color.
|
void |
setRGBVisible(boolean rgbVisible)
Set visibility for RGB tab
|
void |
setSaturationSliderCaption(java.lang.String saturationSliderCaption)
Set caption for the saturation slider.
|
void |
setSwatchesTabCaption(java.lang.String swatchesTabCaption)
Set caption for the swatches tab.
|
void |
setSwatchesVisible(boolean swatchesVisible)
Set visibility for swatches tab
|
void |
setValueSliderCaption(java.lang.String valueSliderCaption)
Set caption for the value slider.
|
addValidator, getRequiredMessage, getValidators, isRequired, removeValidator, setRequired, setRequiredMessage
getDatasource, getMetaProperty, getMetaPropertyPath, setDatasource
addListener, addValueChangeListener, removeListener, removeValueChangeListener, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getCaption, getDescription, setCaption, setDescription
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
getTabIndex, isFocusable, setFocusable, setTabIndex
static final java.lang.String NAME
void setPopupCaption(java.lang.String popupCaption)
popupCaption
- caption text.java.lang.String getPopupCaption()
void setConfirmButtonCaption(java.lang.String confirmButtonCaption)
confirmButtonCaption
- caption text.java.lang.String getConfirmButtonCaption()
void setCancelButtonCaption(java.lang.String cancelButtonCaption)
cancelButtonCaption
- caption text.java.lang.String getCancelButtonCaption()
void setSwatchesTabCaption(java.lang.String swatchesTabCaption)
swatchesTabCaption
- caption text.java.lang.String getSwatchesTabCaption()
void setLookupAllCaption(java.lang.String lookupAllCaption)
lookupAllCaption
- caption text.java.lang.String getLookupAllCaption()
void setLookupRedCaption(java.lang.String lookupRedCaption)
lookupRedCaption
- caption text.java.lang.String getLookupRedCaption()
void setLookupGreenCaption(java.lang.String lookupGreenCaption)
lookupGreenCaption
- caption text.java.lang.String getLookupGreenCaption()
void setLookupBlueCaption(java.lang.String lookupBlueCaption)
lookupBlueCaption
- caption text.java.lang.String getLookupBlueCaption()
void setRedSliderCaption(java.lang.String redSliderCaption)
redSliderCaption
- caption text.java.lang.String getRedSliderCaption()
void setGreenSliderCaption(java.lang.String greenSliderCaption)
greenSliderCaption
- caption text.java.lang.String getGreenSliderCaption()
void setBlueSliderCaption(java.lang.String blueSliderCaption)
blueSliderCaption
- caption text.java.lang.String getBlueSliderCaption()
void setHueSliderCaption(java.lang.String hueSliderCaption)
hueSliderCaption
- caption text.java.lang.String getHueSliderCaption()
void setSaturationSliderCaption(java.lang.String saturationSliderCaption)
saturationSliderCaption
- caption text.java.lang.String getSaturationSliderCaption()
void setValueSliderCaption(java.lang.String valueSliderCaption)
valueSliderCaption
- caption text.java.lang.String getValueSliderCaption()
void setHistoryVisible(boolean historyVisible)
historyVisible
- pane visibility.boolean isHistoryVisible()
void setSwatchesVisible(boolean swatchesVisible)
swatchesVisible
- tab visibility.boolean isSwatchesVisible()
void setRGBVisible(boolean rgbVisible)
rgbVisible
- tab visibility.boolean isRGBVisible()
void setHSVVisible(boolean hsvVisible)
hsvVisible
- tab visibility.boolean isHSVVisible()
void setDefaultCaptionEnabled(boolean defaultCaptionEnabled)
defaultCaptionEnabled
- true if HEX color is shown as button caption.boolean isDefaultCaptionEnabled()
void setButtonCaption(java.lang.String buttonCaption)
buttonCaption
- caption text.java.lang.String getButtonCaption()
java.lang.String getValue()
getValue
in interface Component.HasValue