Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addColumn(Class<V>, ValueProvider<T, V>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Adds a column for the given type and value provider.
- addColumn(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Adds a column for the given bean property.
- addColumns(String...) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Adds columns for the given bean properties in order.
- addComponentColumn(ValueProvider<T, V>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Adds a new column that shows components.
- addDataGenerator(DataGenerator<T>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Adds the given data generator.
- addItemClickListener(ComponentEventListener<ItemClickEvent<T>>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Adds an item click listener to this component.
- addSelectionListener(SelectionListener<Grid<T>, T>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Adds a selection listener to the current selection model.
- as(Class<S>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Returns this column cast to value type
S, analogously toClass.asSubclass(java.lang.Class<U>).
B
- BeanPropertyDefinition<T,
V> - Class in com.flowingcode.vaadin.addons.easygrid -
A
PropertyDefinitionthat additionally exposes the introspectedPropertyDescriptorfor the underlying bean property. - BeanPropertyDefinition() - Constructor for class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
C
- ColumnConfiguration<V> - Interface in com.flowingcode.vaadin.addons.easygrid.config
-
Holds display configuration for a grid column value type, including text alignment, null representation, and renderer factory.
- ColumnConfigurationTextRenderer<T,
V> - Class in com.flowingcode.vaadin.addons.easygrid.config -
A
TextRendererthat formats column values using aColumnConfiguration. - ColumnConfigurationTextRenderer(ValueProvider<T, V>, ColumnConfiguration<V>) - Constructor for class com.flowingcode.vaadin.addons.easygrid.config.ColumnConfigurationTextRenderer
-
Creates a renderer that falls back to
Object.toString()for non-nullvalues and returns the configuration's null representation fornullvalues. - ColumnConfigurationTextRenderer(ValueProvider<T, V>, ColumnConfiguration<V>, SerializableBiFunction<V, ColumnConfiguration<V>, String>) - Constructor for class com.flowingcode.vaadin.addons.easygrid.config.ColumnConfigurationTextRenderer
-
Creates a renderer that applies the given formatter to non-
nullvalues and returns the configuration's null representation fornullvalues. - com.flowingcode.vaadin.addons.easygrid - package com.flowingcode.vaadin.addons.easygrid
- com.flowingcode.vaadin.addons.easygrid.config - package com.flowingcode.vaadin.addons.easygrid.config
- com.flowingcode.vaadin.addons.easygrid.renderers - package com.flowingcode.vaadin.addons.easygrid.renderers
- configure(Consumer<Grid<T>>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Passes the wrapped grid to the given customizer, allowing direct configuration of the grid.
- createEasyColumn(Class<V>, ValueProvider<T, V>, String, PropertyDescriptor) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
- createNewLayer() - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Returns a new independent configuration node that inherits from this configuration.
E
- EasyColumn<T,
V> - Class in com.flowingcode.vaadin.addons.easygrid -
Wraps a
Grid.Columnand provides type-specific formatting for an EasyGridAddon-managed column. - EasyGrid<T> - Class in com.flowingcode.vaadin.addons.easygrid
-
Concrete
EasyGridWrapperthat always wraps a plainGrid, creating it internally. - EasyGrid(Class<T>) - Constructor for class com.flowingcode.vaadin.addons.easygrid.EasyGrid
-
Creates an
EasyGridthat discovers all top-level bean properties and adds a column for each. - EasyGrid(Class<T>, boolean) - Constructor for class com.flowingcode.vaadin.addons.easygrid.EasyGrid
-
Creates an
EasyGridfor the given bean type, optionally auto-creating columns. - EasyGrid(Class<T>, String...) - Constructor for class com.flowingcode.vaadin.addons.easygrid.EasyGrid
-
Creates an
EasyGridthat adds columns for the specified properties in order. - EasyGridWrapper<T,
GRID extends Grid<T>> - Class in com.flowingcode.vaadin.addons.easygrid -
Wraps a
Gridto provide bean property-based column creation and type-awareColumnConfigurationresolution. - EasyGridWrapper(GRID, Class<T>) - Constructor for class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Creates an
EasyGridWrapperthat discovers all top-level bean properties and adds a column for each. - EasyGridWrapper(GRID, Class<T>, boolean) - Constructor for class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Creates an
EasyGridWrapperfor the given bean type, optionally auto-creating columns. - EasyGridWrapper(GRID, Class<T>, String...) - Constructor for class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Creates an
EasyGridWrapperthat adds columns for the specified properties in order.
F
- forType(Class<V>) - Static method in class com.flowingcode.vaadin.addons.easygrid.config.GlobalEasyGridConfiguration
-
Returns the
ColumnConfigurationfor the given type at the global level, creating it if it does not yet exist. - forType(Class<V>) - Method in class com.flowingcode.vaadin.addons.easygrid.config.InstanceEasyGridConfiguration
-
Returns the
ColumnConfigurationfor the given type at the instance level, creating it if it does not yet exist. - freeze() - Static method in class com.flowingcode.vaadin.addons.easygrid.config.GlobalEasyGridConfiguration
-
Freezes the global configuration, preventing further calls to
forType(Class), which will throwIllegalStateExceptiononce frozen.
G
- getCaption() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getColumn() - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Returns the underlying
Grid.Column. - getColumn(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Returns the
EasyColumnfor the given property name, ornullif no column with that key exists or the column was not created through the EasyGrid API. - getDescriptor() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
-
Returns the
PropertyDescriptorfor the underlying bean property, ornullif no descriptor supplier was provided. - getGenericDataView() - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Gets the generic data view for the grid.
- getGetter() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getLazyDataView() - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Gets the lazy data view for the grid.
- getListDataView() - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Gets the list data view for the grid.
- getName() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getNullRepresentation() - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Returns the effective null representation, walking the configuration chain until a non-
nullvalue is found, ornullif none is set. - getParent() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getPropertyHolderType() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getPropertySet() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getRendererFactory() - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Returns the effective renderer factory, walking the configuration chain until a non-
nullvalue is found, ornullif none is configured. - getSelectedItems() - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
This method is a shorthand that delegates to the currently set selection model.
- getSetter() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getTextAlign() - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Returns the effective text alignment, walking the configuration chain until a non-
nullvalue is found, ornullif none is set. - getTopLevelName() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getType() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- getWrappedGrid() - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Returns the wrapped grid.
- GlobalEasyGridConfiguration - Class in com.flowingcode.vaadin.addons.easygrid.config
-
System-wide
EasyGridconfiguration. - GlobalEasyGridConfiguration() - Constructor for class com.flowingcode.vaadin.addons.easygrid.config.GlobalEasyGridConfiguration
H
- hideColumns(String...) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Hides the columns with the given property names.
I
- IEasyGridComposite<T> - Interface in com.flowingcode.vaadin.addons.easygrid
-
Defines the subset of
Gridmethods thatEasyGridCompositere-exposes by delegating to the wrapped grid instance. - initContent() - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
- InstanceEasyGridConfiguration - Class in com.flowingcode.vaadin.addons.easygrid.config
-
Instance-level
EasyGridconfiguration. - InstanceEasyGridConfiguration() - Constructor for class com.flowingcode.vaadin.addons.easygrid.config.InstanceEasyGridConfiguration
- isGenericType() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
- isSubProperty() - Method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
L
- LocalDateRenderers - Class in com.flowingcode.vaadin.addons.easygrid.renderers
-
Factory methods for creating
RendererFactoryinstances that renderLocalDatevalues usingLocalDateRenderer. - LocalDateRenderers() - Constructor for class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
- LocalDateTimeRenderers - Class in com.flowingcode.vaadin.addons.easygrid.renderers
-
Factory methods for creating
RendererFactoryinstances that renderLocalDateTimevalues usingLocalDateTimeRenderer. - LocalDateTimeRenderers() - Constructor for class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
N
- NumberRenderers - Class in com.flowingcode.vaadin.addons.easygrid.renderers
-
Factory methods for creating
RendererFactoryinstances that renderNumbervalues usingNumberRenderer. - NumberRenderers() - Constructor for class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
O
- of() - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
-
Returns a factory that uses the default locale and format.
- of() - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
-
Returns a factory that uses the default locale and format.
- of(PropertySet<T>, Class<?>, String) - Static method in class com.flowingcode.vaadin.addons.easygrid.BeanPropertyDefinition
-
Returns a
BeanPropertyDefinitionfor the given property, combining thePropertySetentry with thePropertyDescriptorobtained via introspection. - of(SerializableSupplier<DateTimeFormatter>) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
-
Returns a factory that formats dates using the given
DateTimeFormattersupplier. - of(SerializableSupplier<DateTimeFormatter>) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
-
Returns a factory that formats date-times using the given
DateTimeFormattersupplier. - of(SerializableSupplier<DateTimeFormatter>, String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
-
Returns a factory that formats dates using the given
DateTimeFormattersupplier and null representation. - of(SerializableSupplier<DateTimeFormatter>, String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
-
Returns a factory that formats date-times using the given
DateTimeFormattersupplier and null representation. - of(String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
-
Returns a factory that formats dates with the given pattern using the default locale.
- of(String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
-
Returns a factory that formats date-times with the given pattern using the default locale.
- of(String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
-
Returns a factory that formats numbers using the given
Formatterformat string and the default locale. - of(String, Locale) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
-
Returns a factory that formats dates with the given pattern and locale.
- of(String, Locale) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
-
Returns a factory that formats date-times with the given pattern and locale.
- of(String, Locale) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
-
Returns a factory that formats numbers using the given
Formatterformat string and locale. - of(String, Locale, String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateRenderers
-
Returns a factory that formats dates with the given pattern, locale, and null representation.
- of(String, Locale, String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.LocalDateTimeRenderers
-
Returns a factory that formats date-times with the given pattern, locale, and null representation.
- of(String, Locale, String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
-
Returns a factory that formats numbers using the given
Formatterformat string, locale, and null representation. - of(NumberFormat) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
-
Returns a factory that formats numbers using the given
NumberFormat. - of(NumberFormat, String) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
-
Returns a factory that formats numbers using the given
NumberFormatand null representation. - of(Locale) - Method in class com.flowingcode.vaadin.addons.easygrid.renderers.NumberRenderers
-
Returns a factory that formats numbers using the default format for the given locale.
R
- RendererFactory<T,
V> - Interface in com.flowingcode.vaadin.addons.easygrid.renderers -
A named functional interface that creates a
Rendererfor a grid column given aValueProvider. - resolve(Class<V>) - Method in class com.flowingcode.vaadin.addons.easygrid.config.GlobalEasyGridConfiguration
-
Returns the effective
ColumnConfigurationfor the given type. - resolve(Class<V>) - Method in class com.flowingcode.vaadin.addons.easygrid.config.InstanceEasyGridConfiguration
-
Returns the effective
ColumnConfigurationfor the given type, chaining configurations across all levels of the tree. - RuntimeReflectiveOperationException - Exception in com.flowingcode.vaadin.addons.easygrid
-
Unchecked wrapper for
ReflectiveOperationException, used to propagate reflective errors without requiring callers to declare or catch checked exceptions. - RuntimeReflectiveOperationException(Throwable) - Constructor for exception com.flowingcode.vaadin.addons.easygrid.RuntimeReflectiveOperationException
-
Creates a new instance wrapping the given cause.
S
- setAutoWidth(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column's width is automatically determined from its content.
- setColumnOrder(String...) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Sets the order of the columns shown in the grid.
- setComparator(ValueProvider<T, C>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a comparator to use for in-memory sorting for this column based on a value provider.
- setComparator(Comparator<T>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a comparator to use for in-memory sorting for this column.
- setEditorComponent(Component) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the editor component for this column.
- setEditorComponent(SerializableFunction<T, ? extends Component>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a generator that provides the editor component for each row in this column.
- setFlexGrow(int) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the flex grow ratio for this column.
- setFooter(Component) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a component footer for this column.
- setFooter(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a text footer for this column.
- setFooterPartName(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the part name for the footer cell of this column.
- setFormatter(SerializableBiFunction<V, ColumnConfiguration<V>, String>) - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Sets a formatter that converts a column value to a display string.
- setFormatter(SerializableFunction<V, String>) - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Sets a formatter that converts a column value to a display string.
- setFormatter(SerializableFunction<V, String>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a custom formatter that converts the column value to a display string.
- setFrozen(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column is frozen, locking it to the start of the grid.
- setFrozenToEnd(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column is frozen to the end of the grid.
- setHeader(Component) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a component header for this column.
- setHeader(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a text header for this column.
- setHeaderPartName(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the part name for the header cell of this column.
- setItems(BackEndDataProvider<T, Void>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Supply items with a
BackEndDataProviderthat lazy loads items from a backend. - setItems(DataProvider<T, Void>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Set a generic data provider for the component to use and returns the base
DataViewthat provides API to get information on the items. - setItems(InMemoryDataProvider<T>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Sets an in-memory data provider for the component to use.
- setItems(ListDataProvider<T>) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Sets a
ListDataProviderfor the component to use and returns aListDataViewthat provides information and allows operations on the items. - setKey(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the key for this column, used to retrieve it via
Grid.getColumnByKey(String). - setNullRepresentation(String) - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Sets the string to display when the column value is
null. - setNullRepresentation(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the string to display when the column value is
null. - setPartNameGenerator(SerializableFunction<T, String>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a generator that returns a part name for a given row item in this column.
- setRendererFactory(RendererFactory<T, V>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a custom renderer factory for this column.
- setRendererFactory(SerializableFunction<ValueProvider<T, V>, Renderer<T>>) - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Sets a custom renderer factory that creates a renderer from a value provider.
- setResizable(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column is user-resizable.
- setRowHeader(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column represents a row header for accessibility purposes.
- setSelectionMode(Grid.SelectionMode) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Sets the grid's selection mode.
- setSortable(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column is user-sortable.
- setSortableColumns(String...) - Method in interface com.flowingcode.vaadin.addons.easygrid.IEasyGridComposite
-
Sets the defined columns as sortable, based on the given property names.
- setSortOrderProvider(SortOrderProvider) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the sort order provider for this column.
- setSortProperty(String...) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the backend properties used for sorting when this column is sorted.
- setTextAlign(ColumnTextAlign) - Method in interface com.flowingcode.vaadin.addons.easygrid.config.ColumnConfiguration
-
Sets the text alignment for cells of this column type.
- setTextAlign(ColumnTextAlign) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the text alignment for this column's cells.
- setTooltipGenerator(SerializableFunction<T, String>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets a generator that produces a tooltip for a given row item in this column.
- setVisible(boolean) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets whether this column is visible.
- setWidth(String) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyColumn
-
Sets the width of this column as a CSS value.
T
- typeConfiguration(Class<V>) - Method in class com.flowingcode.vaadin.addons.easygrid.EasyGridWrapper
-
Returns the
ColumnConfigurationfor the given value type at the instance level, creating it if it does not yet exist.
All Classes and Interfaces|All Packages|Serialized Form