public class CubaComboBoxPickerField<T> extends CubaPickerField<T>
CubaPickerField.FieldValueChangeEvent<V>, CubaPickerField.FieldValueChangeListener<V>
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
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 static java.lang.String |
COMBOBOX_FIELD_STYLENAME |
protected static java.lang.String |
COMBOBOX_PICKERFIELD_STYLENAME |
BUTTON_STYLENAME, buttons, container, field, fieldReadOnly, fieldValueChangeListener, inputWrapper, internalValue, LAYOUT_STYLENAME, PRIMARY_STYLENAME, suppressTextChangeListener, TEXT_FIELD_STYLENAME, textFieldValueProvider
Constructor and Description |
---|
CubaComboBoxPickerField() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.shared.Registration |
addValueChangeListener(com.vaadin.data.HasValue.ValueChangeListener<T> listener) |
protected void |
doSetValue(T value) |
java.lang.String |
getEmptySelectionCaption() |
CubaComboBox<T> |
getFieldInternal() |
com.vaadin.ui.ItemCaptionGenerator<T> |
getItemCaptionGenerator() |
com.vaadin.ui.IconGenerator<T> |
getItemIconGenerator() |
com.vaadin.ui.ComboBox.NewItemHandler |
getNewItemHandler() |
int |
getPageLength() |
java.lang.String |
getPlaceholder() |
T |
getValue() |
protected void |
init() |
protected void |
initField() |
boolean |
isEmptySelectionAllowed() |
boolean |
isTextInputAllowed() |
void |
setEmptySelectionAllowed(boolean emptySelectionAllowed) |
void |
setEmptySelectionCaption(java.lang.String caption) |
void |
setItemCaptionGenerator(com.vaadin.ui.ItemCaptionGenerator<T> itemCaptionGenerator) |
void |
setItemIconGenerator(com.vaadin.ui.IconGenerator<T> itemIconGenerator) |
void |
setItems(java.util.Collection<T> items) |
void |
setItems(com.vaadin.ui.ComboBox.CaptionFilter captionFilter,
java.util.Collection<T> items) |
void |
setItems(com.vaadin.ui.ComboBox.CaptionFilter captionFilter,
T... items) |
void |
setItems(java.util.stream.Stream<T> streamOfItems) |
void |
setItems(T... items) |
void |
setNewItemHandler(com.vaadin.ui.ComboBox.NewItemHandler newItemHandler) |
void |
setPageLength(int pageLength) |
void |
setPlaceholder(java.lang.String placeholder) |
void |
setStyleGenerator(com.vaadin.ui.StyleGenerator<T> generateItemStylename) |
void |
setTextInputAllowed(boolean textInputAllowed) |
protected void |
updateFieldReadOnlyFocusable() |
addActionHandler, addButton, addFieldListener, attach, focus, getButtons, getEmptyStringRepresentation, getField, getStringRepresentation, getTabIndex, getTextFieldValueProvider, initContent, initLayout, isDifferentValue, isEmpty, isFieldReadOnly, onFieldValueChange, removeActionHandler, removeButton, setFieldReadOnly, setHeight, setReadOnly, setTabIndex, setTextFieldValueProvider, setWidth, updateFieldReadOnly, updateTextRepresentation
getContent, getState, getState, iterator, setFocusDelegate
createValueChange, getCustomAttributes, isReadOnly, isRequiredIndicatorVisible, readDesign, setRequiredIndicatorVisible, setValue, setValue, writeDesign
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, 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, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, 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 static final java.lang.String COMBOBOX_PICKERFIELD_STYLENAME
protected static final java.lang.String COMBOBOX_FIELD_STYLENAME
protected void init()
init
in class CubaPickerField<T>
protected void initField()
initField
in class CubaPickerField<T>
public CubaComboBox<T> getFieldInternal()
protected void doSetValue(T value)
doSetValue
in class CubaPickerField<T>
public T getValue()
getValue
in interface com.vaadin.data.HasValue<T>
getValue
in class CubaPickerField<T>
protected void updateFieldReadOnlyFocusable()
updateFieldReadOnlyFocusable
in class CubaPickerField<T>
public com.vaadin.shared.Registration addValueChangeListener(com.vaadin.data.HasValue.ValueChangeListener<T> listener)
public void setItems(T... items)
public void setItems(java.util.stream.Stream<T> streamOfItems)
public void setItems(java.util.Collection<T> items)
public void setItems(com.vaadin.ui.ComboBox.CaptionFilter captionFilter, java.util.Collection<T> items)
public void setItems(com.vaadin.ui.ComboBox.CaptionFilter captionFilter, T... items)
public java.lang.String getEmptySelectionCaption()
public void setEmptySelectionCaption(java.lang.String caption)
public boolean isTextInputAllowed()
public void setTextInputAllowed(boolean textInputAllowed)
public int getPageLength()
public void setPageLength(int pageLength)
public boolean isEmptySelectionAllowed()
public void setEmptySelectionAllowed(boolean emptySelectionAllowed)
public com.vaadin.ui.IconGenerator<T> getItemIconGenerator()
public void setItemIconGenerator(com.vaadin.ui.IconGenerator<T> itemIconGenerator)
public java.lang.String getPlaceholder()
public void setPlaceholder(java.lang.String placeholder)
public com.vaadin.ui.ItemCaptionGenerator<T> getItemCaptionGenerator()
public void setItemCaptionGenerator(com.vaadin.ui.ItemCaptionGenerator<T> itemCaptionGenerator)
public com.vaadin.ui.ComboBox.NewItemHandler getNewItemHandler()
public void setNewItemHandler(com.vaadin.ui.ComboBox.NewItemHandler newItemHandler)
public void setStyleGenerator(com.vaadin.ui.StyleGenerator<T> generateItemStylename)