THIS
- Self-referential generic THISpublic interface FluentTwinColSelect<THIS extends FluentTwinColSelect<THIS,ITEM>,ITEM> extends FluentAbstractMultiSelect<THIS,ITEM>, FluentHasDataProvider<THIS,ITEM>
TwinColSelect
TwinColSelect
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 |
withLeftColumnCaption(String leftColumnCaption)
Sets the text shown above the left column.
|
default THIS |
withRightColumnCaption(String rightColumnCaption)
Sets the text shown above the right column.
|
default THIS |
withRows(int rows)
Sets the number of rows in the selects.
|
withItemCaptionGenerator, withValueChangeListener
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withItems, withItems, withItems
getDataProvider, setItems, setItems, setItems
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
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
withSelectionListener
addSelectionListener, deselect, deselectAll, getEmptyValue, getSelectedItems, isSelected, select, updateSelection
withReadOnly, withRequiredIndicatorVisible, withValue
addValueChangeListener, clear, getDefaultValidator, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValue
withDataProvider, withItems
default THIS withRows(int rows)
If a height if set (using Sizeable.setHeight(String)
or
Sizeable.setHeight(float, Unit)
) it overrides the number of rows. Leave
the height undefined to use this method.
rows
- the number of rows to set.TwinColSelect.setRows(int)
default THIS withLeftColumnCaption(String leftColumnCaption)
null
clears the
caption.leftColumnCaption
- The text to show, null
to clearTwinColSelect.setLeftColumnCaption(String)
default THIS withRightColumnCaption(String rightColumnCaption)
null
clears the
caption.rightColumnCaption
- The text to show, null
to clearTwinColSelect.setRightColumnCaption(String)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.