THIS
- Self-referential generic THISpublic interface FluentAbstractColorPicker<THIS extends FluentAbstractColorPicker<THIS>> extends FluentAbstractField<THIS,com.vaadin.shared.ui.colorpicker.Color>
AbstractColorPicker
AbstractColorPicker
com.vaadin.data.HasValue.ValueChangeEvent<V>, com.vaadin.data.HasValue.ValueChangeListener<V>
FluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, 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
Modifier and Type | Method and Description |
---|---|
default THIS |
withDefaultCaptionEnabled(boolean enabled)
Set true if the component should show a default caption (css-code for the
currently selected color, e.g.
|
default THIS |
withHistoryVisibility(boolean visible)
Sets the visibility of the color history, displaying recently picked
colors.
|
default THIS |
withHSVVisibility(boolean visible)
Sets the visibility of the HSV Tab.
|
default THIS |
withPopupStyle(com.vaadin.ui.AbstractColorPicker.PopupStyle style)
Sets the style of the popup window.
|
default THIS |
withPosition(int x,
int y)
Sets the position of the popup window.
|
default THIS |
withRGBVisibility(boolean visible)
Sets the visibility of the RGB tab.
|
default THIS |
withSwatchesVisibility(boolean visible)
Sets the visibility of the Swatches (palette) tab.
|
default THIS |
withTextfieldVisibility(boolean visible)
Sets the visibility of the CSS color code text field.
|
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListener
addValueChangeListener, clear, getDefaultValidator, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValue
withTabIndex
withCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisible
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
withFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidth
default THIS withDefaultCaptionEnabled(boolean enabled)
enabled
- true
to enable the default caption, false
to disableAbstractColorPicker.setDefaultCaptionEnabled(boolean)
default THIS withHistoryVisibility(boolean visible)
visible
- true
to display the history, false
to hide itAbstractColorPicker.setHistoryVisibility(boolean)
default THIS withHSVVisibility(boolean visible)
visible
- true
to display the HSV tab, false
to hide itAbstractColorPicker.setHSVVisibility(boolean)
default THIS withPopupStyle(com.vaadin.ui.AbstractColorPicker.PopupStyle style)
style
- the popup window styleAbstractColorPicker.setPopupStyle(PopupStyle)
default THIS withPosition(int x, int y)
x
- the x-coordinatey
- the y-coordinateAbstractColorPicker.setPosition(int, int)
default THIS withRGBVisibility(boolean visible)
visible
- true
to display the RGB tab, false
to hide itAbstractColorPicker.setRGBVisibility(boolean)
default THIS withSwatchesVisibility(boolean visible)
visible
- true
to display the Swatches tab, false
to hide itAbstractColorPicker.setSwatchesVisibility(boolean)
default THIS withTextfieldVisibility(boolean visible)
visible
- true
to display the CSS text field, false
to hide itAbstractColorPicker.setTextfieldVisibility(boolean)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.