Class NavResultGrid<T>
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.grid.Grid<T>
-
- org.neotropic.kuwaiba.modules.core.navigation.navtree.NavResultGrid<T>
-
- Type Parameters:
T
- This is a
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.grid.Grid<T>>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.grid.Grid<T>>
,com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.grid.Grid<T>>
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.HasTheme
,com.vaadin.flow.data.binder.HasDataProvider<T>
,com.vaadin.flow.data.binder.HasItems<T>
,com.vaadin.flow.data.event.SortEvent.SortNotifier<com.vaadin.flow.component.grid.Grid<T>,com.vaadin.flow.component.grid.GridSortOrder<T>>
,com.vaadin.flow.data.provider.HasDataGenerators<T>
,Serializable
public class NavResultGrid<T> extends com.vaadin.flow.component.grid.Grid<T>
Holds a set of objects of the same class name in the navigation module- Author:
- Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.grid.Grid
com.vaadin.flow.component.grid.Grid.AbstractGridExtension<T extends Object>, com.vaadin.flow.component.grid.Grid.Column<T extends Object>, com.vaadin.flow.component.grid.Grid.DataCommunicatorBuilder<T extends Object,U extends com.vaadin.flow.data.provider.ArrayUpdater>, com.vaadin.flow.component.grid.Grid.SelectionMode, com.vaadin.flow.component.grid.Grid.UpdateQueue
-
-
Constructor Summary
Constructors Constructor Description NavResultGrid(BusinessEntityManager bem, String className, String searchedText, List<T> initialResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createDataProviderPaginateGrid()
Creates a provider for the grid, by default the filter limited to namevoid
createGridFilter()
Creates the filter for every grid in the header rowString
getClassName()
com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<T,Void,BusinessObjectLightGridFilter>
getDpConfigurableFilter()
com.vaadin.flow.component.textfield.TextField
getObjNameField()
void
setClassName(String className)
void
setDpConfigurableFilter(com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<T,Void,BusinessObjectLightGridFilter> dpConfigurableFilter)
void
setFirstColumn(com.vaadin.flow.component.grid.Grid.Column<T> firstColumnsMap)
void
setObjNameField(com.vaadin.flow.component.textfield.TextField objNameField)
-
Methods inherited from class com.vaadin.flow.component.grid.Grid
addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumnReorderListener, addColumnResizeListener, addColumns, addComponentColumn, addContextMenu, addDataGenerator, addDragEndListener, addDragStartListener, addDropListener, addFirstHeaderRow, addItemClickListener, addItemDoubleClickListener, addSelectionListener, addSortListener, addThemeVariants, addValueProvider, appendFooterRow, appendHeaderRow, asMultiSelect, asSingleSelect, compareMaybeComparables, createColumn, createColumnId, createDefaultArrayUpdater, createEditor, createSortingComparator, deselect, deselectAll, getArrayUpdater, getBeanType, getClassNameGenerator, getColumnByKey, getColumnLayers, getColumns, getDataCommunicator, getDataProvider, getDefaultColumnFactory, getDefaultHeaderRow, getDragFilter, getDropFilter, getDropMode, getEditor, getFooterRows, getHeaderRows, getPageSize, getPropertySet, getSelectedItems, getSelectionModel, getSortOrder, getUniqueKeyProperty, getUniqueKeyProvider, initConnector, insertColumnLayer, isColumnReorderingAllowed, isDetailsVisible, isDetailsVisibleOnClick, isHeightByRows, isMultiSort, isRowsDraggable, isVerticalScrollingEnabled, onAttach, onDataProviderChange, onDetach, onEnabledStateChanged, prependFooterRow, prependHeaderRow, recalculateColumnWidths, removeAllColumns, removeColumn, removeColumnByKey, removeColumnLayer, removeColumns, removeDataGenerator, removeThemeVariants, scrollToEnd, scrollToIndex, scrollToStart, select, setClassNameGenerator, setColumnKey, setColumnOrder, setColumnOrder, setColumnReorderingAllowed, setColumns, setDataProvider, setDetailsVisible, setDetailsVisibleOnClick, setDragDataGenerator, setDragFilter, setDropFilter, setDropMode, setHeightByRows, setItemDetailsRenderer, setMultiSort, setPageSize, setRowsDraggable, setSelectionDragDetails, setSelectionMode, setSelectionModel, setSortableColumns, setUniqueKeyProperty, setUniqueKeyProvider, setVerticalScrollingEnabled, sort, updateSelectionModeOnClient
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
-
-
-
-
Constructor Detail
-
NavResultGrid
public NavResultGrid(BusinessEntityManager bem, String className, String searchedText, List<T> initialResults)
-
-
Method Detail
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getDpConfigurableFilter
public com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<T,Void,BusinessObjectLightGridFilter> getDpConfigurableFilter()
-
setDpConfigurableFilter
public void setDpConfigurableFilter(com.vaadin.flow.data.provider.ConfigurableFilterDataProvider<T,Void,BusinessObjectLightGridFilter> dpConfigurableFilter)
-
setFirstColumn
public void setFirstColumn(com.vaadin.flow.component.grid.Grid.Column<T> firstColumnsMap)
-
getObjNameField
public com.vaadin.flow.component.textfield.TextField getObjNameField()
-
setObjNameField
public void setObjNameField(com.vaadin.flow.component.textfield.TextField objNameField)
-
createGridFilter
public void createGridFilter()
Creates the filter for every grid in the header row
-
createDataProviderPaginateGrid
public void createDataProviderPaginateGrid()
Creates a provider for the grid, by default the filter limited to name
-
-