Class Table
- All Implemented Interfaces:
Buffered,BufferedValidatable,Container,Container.ItemSetChangeListener,Container.ItemSetChangeNotifier,Container.PropertySetChangeListener,Container.PropertySetChangeNotifier,Container.Viewer,Property<Object>,Property.Editor,Property.ReadOnlyStatusChangeListener,Property.ReadOnlyStatusChangeNotifier,Property.ValueChangeListener,Property.ValueChangeNotifier,Property.Viewer,Field<Object>,Select,Validatable,ClientConnector,FAbstractClientConnector,FSizeable,Sizeable,ComponentContainer,FAbstractComponent,HasComponents,HasComponents.ComponentAttachDetachNotifier,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasComponentsOfType<com.vaadin.flow.component.Component>,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasLabel,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasValue,com.vaadin.flow.component.shared.HasTooltip,Serializable,Iterable<com.vaadin.flow.component.Component>
Grid component.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAllow to define specific style on cells (and rows) contents.Nested classes/interfaces inherited from interface com.vaadin.featurepack.data.Buffered
Buffered.SourceExceptionNested classes/interfaces inherited from interface com.vaadin.featurepack.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.DetachEvent, ClientConnector.DetachListenerNested classes/interfaces inherited from interface com.vaadin.featurepack.data.Container
Container.Editor, Container.Filter, Container.Filterable, Container.Hierarchical, Container.Indexed, Container.ItemSetChangeEvent, Container.ItemSetChangeListener, Container.ItemSetChangeNotifier, Container.Ordered, Container.PropertySetChangeEvent, Container.PropertySetChangeListener, Container.PropertySetChangeNotifier, Container.SimpleFilterable, Container.Sortable, Container.ViewerNested classes/interfaces inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
FAbstractClientConnector.LegacyMethodEventNested classes/interfaces inherited from interface com.vaadin.featurepack.ui.FAbstractComponent
FAbstractComponent.DataKeyNested classes/interfaces inherited from interface com.vaadin.featurepack.data.ui.Field
Field.ValueChangeEventNested classes/interfaces inherited from interface com.vaadin.featurepack.ui.HasComponents
HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListenerNested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.vaadin.flow.component.HasValue.ValueChangeEvent<V>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>Nested classes/interfaces inherited from interface com.vaadin.featurepack.data.Property
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeEvent, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer -
Field Summary
Fields inherited from interface com.vaadin.featurepack.server.Sizeable
SIZE_UNDEFINED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumnReorderListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.ColumnReorderEvent<Item>> listener) voidaddColumnResizeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.ColumnResizeEvent<Item>> listener) booleanaddContainerProperty(Object propertyId, Class<?> type, Object defaultValue) Adds a new Property to all Items in the Container.Adds the new row to table and fill the visible cells (except generated columns) with given values.voidaddItemClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.ItemClickEvent<Item>> listener) com.vaadin.flow.shared.RegistrationaddValueChangeListener(com.vaadin.flow.component.HasValue.ValueChangeListener valueChangeListener) getColumnHeader(Object propertyId) Gets the header for the specified column.String[]Gets the headers of the columns.intgetColumnWidth(Object propertyId) Gets the pixel width of columnintGets the number of children thisComponentContainerhasCollection<?> Gets the ID's of all Properties stored in the Container.getConverter(Object propertyId) Returns the converter used to format the given propertyId.intGets the currently sorted column property ID.Class<?> getType()Returns the type of the Property.Class<?> Gets the data type of all Properties identified by the given Property ID.getValue()Gets the selected item id or in multiselect mode a set of selected ids.Object[]protected booleanhasConverter(Object propertyId) Checks if there is a converter set explicitly for the given property id.booleanisColumnCollapsed(Object propertyId) booleanisColumnCollapsible(Object propertyId) Checks if the given column is collapsible.booleanChecks if column collapsing is allowed.booleanbooleanisEmpty()Is the field empty?booleanbooleanbooleanbooleanIs the table currently sorted in ascending order.booleanprotected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) protected voidonDetach(com.vaadin.flow.component.DetachEvent detachEvent) booleanremoveContainerProperty(Object propertyId) Removes a Property specified by the given Property ID from the Container.voidreplaceComponent(com.vaadin.flow.component.Component oldComponent, com.vaadin.flow.component.Component newComponent) Replaces the component in the container with another one without changing position.voidsetCellStyleGenerator(Table.CellStyleGenerator cellStyleGenerator) Sets the function that is used for generating CSS part names for cells in this column.voidsetColumnCollapsed(Object propertyId, boolean collapsed) Sets whether the specified column is collapsed or not.voidsetColumnCollapsible(Object propertyId, boolean collapsible) Sets whether the given column is collapsible.voidsetColumnCollapsingAllowed(boolean columnCollapsingAllowed) Sets whether column collapsing is allowed or not.voidsetColumnHeaders(String... columnHeaders) Sets the headers of the columns.voidsetColumnReorderingAllowed(boolean columnReorderingAllowed) voidsetColumnWidth(Object propertyId, int width) voidsetContainerDataSource(Container newDataSource) Sets the Container that serves as the data source of the viewer.voidsetContainerDataSource(Container newDataSource, Collection<?> visibleIds) Sets the container data source and the columns that will be visible.<PROPERTY_TYPE>
voidsetConverter(Object propertyId, com.vaadin.flow.data.converter.Converter<String, PROPERTY_TYPE> converter) Sets a converter for a property id.voidsetHeight(float height, com.vaadin.flow.component.Unit unit) Sets the height of the object.voidSets the height of the component using String presentation.voidSet the item description generator which generates tooltips for cells and rows in the TablevoidsetLabelComponent(com.vaadin.flow.component.Component labelComponent) Sets the component's label component.voidsetMultiSelect(boolean multiSelect) voidsetPageLength(int pageLength) voidsetPartNameGenerator(com.vaadin.flow.function.SerializableFunction<Item, String> partNameGenerator) Sets the function that is used for generating CSS part names for all the cells in the rows in this grid.voidsetReadOnly(boolean readOnly) voidsetRequiredIndicatorVisible(boolean visible) voidsetSelectable(boolean selectable) voidsetSortAscending(boolean ascending) Sets the table in ascending order.voidsetSortContainerPropertyId(Object propertyId) Sets the currently sorted column property id.voidsetSortEnabled(boolean sortEnabled) Enables or disables sorting.voidsetTooltipPosition(com.vaadin.flow.component.shared.Tooltip.TooltipPosition position) Position of the cell tooltip with respect to the cell.voidSets the value of the Property.voidsetVisibleColumns(Object... visibleColumns) Sets the array of visible column property id:s.voidsort()Sorts the table by currently selected sorting column.voidSorts the table.voidNotifies this listener that the Property's value has changed.Methods inherited from class com.vaadin.featurepack.ui.AbstractComponentContainer
add, addComponent, addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, iterator, moveComponentsFrom, remove, removeAll, removeAllComponents, removeComponent, setWidthMethods inherited from class com.vaadin.featurepack.ui.AbstractComponent
addClassName, addClassNames, addInternalStyles, beforeClientResponse, doSetHeight, doSetWidth, fireComponentEvent, fireEvent, focus, getClassName, getClassNames, getCustomStyles, getHeight, getHeightUnits, getInternalStyles, getLocale, getStyle, getTooltip, getWidth, getWidthUnits, hasClassName, isOrHasAncestor, isVisible, onEnabledStateChanged, removeClassName, removeClassNames, removeInternalStyles, setClassName, setClassName, setHeightFull, setHeightUndefined, setParent, setSizeFull, setSizeUndefined, setTooltipText, setVisible, setWidth, setWidthFull, setWidthUndefinedMethods inherited from class com.vaadin.featurepack.server.AbstractClientConnector
getSessionMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, findAncestor, from, get, getChildren, getElement, getEventBus, getId, getListeners, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, getUIOrThrow, hasListener, isAttached, isTemplateMapped, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, whenAttachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.featurepack.server.FAbstractClientConnector
addLegacyAttachListener, addLegacyDetachListener, addListener, addListener, attach, detach, doConnectorOnAttach, doConnectorOnDetach, fireEvent, fireEvent, getAllChildrenIterable, getFListeners, getFlowComponent, getResource, hasListeners, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeListener, removeListener, setResourceMethods inherited from interface com.vaadin.featurepack.ui.FAbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, addStyleNames, getCaption, getComponentError, getData, getDescription, getFErrorIndicator, getFErrorMessage, getFId, getFParent, getIcon, getIconResource, getPrimaryStyleName, getStyleName, isCaptionAsHtml, isImmediate, isResponsive, notifyParentAboutStyleChanges, removeContextClickListener, removeShortcutListener, removeStyleName, removeStyleNames, setCaption, setCaptionAsHtml, setComponentError, setData, setDescription, setDescription, setIcon, setIcon, setIconResource, setImmediate, setLocale, setPrimaryStyleName, setResponsive, setStyleName, setStyleNameMethods inherited from interface com.vaadin.featurepack.data.ui.Field
addValidator, addValueChangeListener, commit, discard, getConvertedValue, getConverter, getFAbstractField, getPropertyDataSource, getRequiredError, getValidators, isBuffered, isInvalidAllowed, isInvalidCommitted, isModified, isPropertyReadOnly, isRequired, isValid, removeAllValidators, removeValidator, removeValueChangeListener, setBuffered, setConverter, setInvalidAllowed, setInvalidCommitted, setPropertyDataSource, setPropertyReadOnly, setRequired, setRequiredErrorMethods inherited from interface com.vaadin.featurepack.server.FSizeable
getFHeight, getFWidthMethods inherited from interface com.vaadin.flow.component.HasComponents
addMethods inherited from interface com.vaadin.flow.component.HasComponentsOfType
add, addComponentAsFirst, addComponentAtIndex, bindChildren, getChildren, getComponentAt, indexOf, remove, replaceMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasLabel
getLabel, setLabelMethods inherited from interface com.vaadin.flow.component.HasStyle
bindClassName, bindClassNamesMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
setTooltipMarkdownMethods inherited from interface com.vaadin.flow.component.HasValue
bindReadOnly, bindRequiredIndicatorVisible, bindValue, clear, getEmptyValue, getOptionalValueMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.vaadin.featurepack.data.ui.Select
addItem, addItem, addItemSetChangeListener, addPropertySetChangeListener, addReadOnlyStatusChangeListener, containerItemSetChange, containerPropertySetChange, containsId, getContainerDataSource, getContainerProperty, getFAbstractSelect, getItem, getItemCaption, getItemCaptionMode, getItemCaptionPropertyId, getItemIcon, getItemIconPropertyId, getItemIdByItem, getItemIds, getNullSelectionItemId, isMultiSelect, isNewItemsAllowed, isNullSelectionAllowed, readOnlyStatusChange, removeAllItems, removeItem, removeItemSetChangeListener, removePropertySetChangeListener, removeReadOnlyStatusChangeListener, select, setItemCaptionMode, setItemCaptionPropertyId, setItemIcon, setItemIconPropertyId, setNewItemsAllowed, setNullSelectionAllowed, setNullSelectionItemId, size, validate
-
Constructor Details
-
Table
public Table() -
Table
-
-
Method Details
-
setLabelComponent
public void setLabelComponent(com.vaadin.flow.component.Component labelComponent) Description copied from interface:FAbstractComponentSets the component's label component. Flow components that support caption component usually overrides this.- Specified by:
setLabelComponentin interfaceFAbstractComponent- Parameters:
labelComponent- the new label component for the component.
-
setContainerDataSource
Description copied from interface:Container.ViewerSets the Container that serves as the data source of the viewer.- Specified by:
setContainerDataSourcein interfaceContainer.Viewer- Specified by:
setContainerDataSourcein interfaceSelect- Parameters:
newDataSource- The new data source Item
-
setContainerDataSource
Sets the container data source and the columns that will be visible. Columns are shown in the collection's iteration order.Keeps propertyValueConverters if the corresponding id exists in the new data source and is of a compatible type.
- Parameters:
newDataSource- the new data source.visibleIds- IDs of the visible columns- See Also:
-
setColumnWidth
-
getColumnWidth
Gets the pixel width of column- Parameters:
propertyId-- Returns:
- width of column or -1 when value not set
-
setCellStyleGenerator
Sets the function that is used for generating CSS part names for cells in this column. Returningnullfrom the generator results in no custom part name being set. Multiple part names can be returned from the generator as space-separated.If
setPartNameGenerator(SerializableFunction)is used together with this method, resulting part names from both methods will be effective.- Parameters:
cellStyleGenerator- the part name generator to set, notnull- Throws:
NullPointerException- ifcellStyleGeneratorisnull- See Also:
-
setPartNameGenerator
public void setPartNameGenerator(com.vaadin.flow.function.SerializableFunction<Item, String> partNameGenerator) Sets the function that is used for generating CSS part names for all the cells in the rows in this grid. Returningnullfrom the generator results in no custom part name being set. Multiple part names can be returned from the generator as space-separated.If
setCellStyleGenerator(com.vaadin.featurepack.ui.Table.CellStyleGenerator)is used together with this method, resulting part names from both methods will be effective.- Parameters:
partNameGenerator- the part name generator to set, notnull- Throws:
NullPointerException- ifpartNameGeneratorisnull- See Also:
-
setItemDescriptionGenerator
Set the item description generator which generates tooltips for cells and rows in the Table- Parameters:
generator- The generator to use or null to disable
-
setSelectable
public void setSelectable(boolean selectable) -
isSelectable
public boolean isSelectable() -
setPageLength
public void setPageLength(int pageLength) -
getPageLength
public int getPageLength() -
isSortEnabled
public boolean isSortEnabled() -
setSortEnabled
public void setSortEnabled(boolean sortEnabled) Enables or disables sorting.Setting this to false disallows sorting by the user.
- Parameters:
sortEnabled- true to allow the user to sort the table, false to disallow it
-
sort
public void sort()Sorts the table by currently selected sorting column.- Throws:
UnsupportedOperationException- if the container data source does not implement Container.Sortable
-
sort
Sorts the table. -
isSortAscending
public boolean isSortAscending()Is the table currently sorted in ascending order.- Returns:
trueif ascending,falseif descending.
-
setSortAscending
public void setSortAscending(boolean ascending) Sets the table in ascending order.- Parameters:
ascending-trueif ascending,falseif descending.
-
getSortContainerPropertyId
Gets the currently sorted column property ID.- Returns:
- the Container property id of the currently sorted column.
-
setSortContainerPropertyId
Sets the currently sorted column property id.- Parameters:
propertyId- the Container property id of the currently sorted column.
-
isEmpty
public boolean isEmpty()Description copied from interface:FieldIs the field empty? In general, "empty" state is same as null. As an exception, TextField also treats empty string as "empty". -
setReadOnly
public void setReadOnly(boolean readOnly) - Specified by:
setReadOnlyin interfacecom.vaadin.flow.component.HasValue
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin interfacecom.vaadin.flow.component.HasValue
-
setRequiredIndicatorVisible
public void setRequiredIndicatorVisible(boolean visible) - Specified by:
setRequiredIndicatorVisiblein interfacecom.vaadin.flow.component.HasValue
-
isRequiredIndicatorVisible
public boolean isRequiredIndicatorVisible()- Specified by:
isRequiredIndicatorVisiblein interfacecom.vaadin.flow.component.HasValue
-
setColumnReorderingAllowed
public void setColumnReorderingAllowed(boolean columnReorderingAllowed) -
isColumnReorderingAllowed
public boolean isColumnReorderingAllowed() -
getColumnHeaders
Gets the headers of the columns.- Returns:
- the Array of column headers.
-
setColumnHeaders
Sets the headers of the columns.- Parameters:
columnHeaders- the Array of column headers that match thegetVisibleColumns()method.
-
getColumnHeader
Gets the header for the specified column.- Parameters:
propertyId- the propertyId identifying the column.- Returns:
- the header for the specified column if it has one.
-
getValue
Gets the selected item id or in multiselect mode a set of selected ids. -
setHeight
Description copied from interface:SizeableSets the height of the component using String presentation.String presentation is similar to what is used in Cascading Style Sheets. Size can be length or percentage of available size.
The empty string ("") or null will unset the height and set the units to pixels.
See CSS specification for more details.
-
setHeight
public void setHeight(float height, com.vaadin.flow.component.Unit unit) Description copied from interface:SizeableSets the height of the object. Negative number implies unspecified size (terminal is free to set the size). -
addValueChangeListener
public com.vaadin.flow.shared.Registration addValueChangeListener(com.vaadin.flow.component.HasValue.ValueChangeListener valueChangeListener) - Specified by:
addValueChangeListenerin interfacecom.vaadin.flow.component.HasValue
-
setValue
Description copied from interface:PropertySets the value of the Property.Implementing this functionality is optional. If the functionality is missing, one should declare the Property to be in read-only mode and throw
Note : Since Vaadin 7.0, setting the value of a non-String property as a String is no longer supported.Property.ReadOnlyExceptionin this function. -
setMultiSelect
public void setMultiSelect(boolean multiSelect) - Specified by:
setMultiSelectin interfaceSelect
-
isColumnCollapsed
-
setColumnCollapsible
Sets whether the given column is collapsible. Note that collapsible columns can only be actually collapsed (via UI or withsetColumnCollapsed()) ifisColumnCollapsingAllowed()is true. By default, all columns are collapsible.- Parameters:
propertyId- the propertyID identifying the column.collapsible- true if the column should be collapsible, false otherwise.
-
isColumnCollapsible
Checks if the given column is collapsible. Note that even if this method returnstrue, the column can only be actually collapsed (via UI or withsetColumnCollapsed()) ifisColumnCollapsingAllowed()is also true.- Returns:
- true if the column can be collapsed; false otherwise.
-
setColumnCollapsed
Sets whether the specified column is collapsed or not.- Parameters:
propertyId- the propertyID identifying the column.collapsed- the desired collapsedness.- Throws:
IllegalStateException- if column collapsing is not allowedIllegalArgumentException- if the property id does not exist
-
isColumnCollapsingAllowed
public boolean isColumnCollapsingAllowed()Checks if column collapsing is allowed.- Returns:
- true if columns can be collapsed; false otherwise.
-
setColumnCollapsingAllowed
public void setColumnCollapsingAllowed(boolean columnCollapsingAllowed) Sets whether column collapsing is allowed or not.- Parameters:
columnCollapsingAllowed- specifies whether column collapsing is allowed.
-
getType
Description copied from interface:PropertyReturns the type of the Property. The methodsgetValueandsetValuemust be compatible with this type: one must be able to safely cast the value returned fromgetValueto the given type and pass any variable assignable to this type as an argument tosetValue. -
getVisibleColumns
-
setVisibleColumns
Sets the array of visible column property id:s.The columns are shown in the order of their appearance in this array.
- Parameters:
visibleColumns- the Array of shown property id:s.
-
setConverter
public <PROPERTY_TYPE> void setConverter(Object propertyId, com.vaadin.flow.data.converter.Converter<String, PROPERTY_TYPE> converter) Sets a converter for a property id.The converter is used to format the data for the given property id before displaying it in the table.
- Parameters:
propertyId- The propertyId to format using the converterconverter- The converter to use for the property id
-
hasConverter
Checks if there is a converter set explicitly for the given property id.- Parameters:
propertyId- The propertyId to check- Returns:
- true if a converter has been set for the property id, false otherwise
-
getConverter
Returns the converter used to format the given propertyId.- Parameters:
propertyId- The propertyId to check- Returns:
- The converter used to format the propertyId or null if no converter has been set
-
getType
Description copied from interface:ContainerGets the data type of all Properties identified by the given Property ID. -
addContainerProperty
Description copied from interface:ContainerAdds a new Property to all Items in the Container. The Property ID, data type and default value of the new Property are given as parameters.This functionality is optional.
- Specified by:
addContainerPropertyin interfaceContainer- Specified by:
addContainerPropertyin interfaceSelect- Parameters:
propertyId- ID of the Propertytype- Data type of the new PropertydefaultValue- The value all created Properties are initialized to- Returns:
trueif the operation succeeded,falseif not
-
removeContainerProperty
Description copied from interface:ContainerRemoves a Property specified by the given Property ID from the Container. Note that the Property will be removed from all Items in the Container.This functionality is optional.
- Specified by:
removeContainerPropertyin interfaceContainer- Specified by:
removeContainerPropertyin interfaceSelect- Parameters:
propertyId- ID of the Property to remove- Returns:
trueif the operation succeeded,falseif not
-
addItem
Adds the new row to table and fill the visible cells (except generated columns) with given values.- Parameters:
cells- the Object array that is used for filling the visible cells new row. The types must be settable to visible column property types.itemId- the Id the new row. If null, a new id is automatically assigned. If given, the table cannot already have a item with given id.- Returns:
- Returns item id for the new row. Returns null if operation fails.
- Throws:
UnsupportedOperationException
-
replaceComponent
public void replaceComponent(com.vaadin.flow.component.Component oldComponent, com.vaadin.flow.component.Component newComponent) Description copied from interface:ComponentContainerReplaces the component in the container with another one without changing position.This method replaces component with another one is such way that the new component overtakes the position of the old component. If the old component is not in the container, the new component is added to the container. If the both component are already in the container, their positions are swapped. Component attach and detach events should be taken care as with add and remove.
- Specified by:
replaceComponentin interfaceComponentContainer- Parameters:
oldComponent- the old component that will be replaced.newComponent- the new component to be replaced.
-
getComponentCount
public int getComponentCount()Description copied from interface:ComponentContainerGets the number of children thisComponentContainerhas- Specified by:
getComponentCountin interfaceComponentContainer- Specified by:
getComponentCountin interfacecom.vaadin.flow.component.HasComponentsOfType<com.vaadin.flow.component.Component>- Returns:
- The number of child components this container has.
-
getContainerPropertyIds
Description copied from interface:ContainerGets the ID's of all Properties stored in the Container. The ID's cannot be modified through the returned collection.- Specified by:
getContainerPropertyIdsin interfaceContainer- Specified by:
getContainerPropertyIdsin interfaceSelect- Returns:
- unmodifiable collection of Property IDs
-
addColumnReorderListener
public void addColumnReorderListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.ColumnReorderEvent<Item>> listener) -
addColumnResizeListener
public void addColumnResizeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.ColumnResizeEvent<Item>> listener) -
addItemClickListener
public void addItemClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.ItemClickEvent<Item>> listener) -
valueChange
Description copied from interface:Property.ValueChangeListenerNotifies this listener that the Property's value has changed.- Specified by:
valueChangein interfaceField<Object>- Specified by:
valueChangein interfaceProperty.ValueChangeListener- Parameters:
arg0- value change event object
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) - Overrides:
onAttachin classAbstractClientConnector
-
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent) - Overrides:
onDetachin classAbstractClientConnector
-