Package com.storedobject.ui
Class EditableObjectGrid<T extends StoredObject>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.grid.Grid<T>
com.storedobject.vaadin.DataGrid<T>
com.storedobject.vaadin.ListGrid<T>
com.storedobject.ui.DataGrid<T>
com.storedobject.ui.AbstractEditableGrid<T>
com.storedobject.ui.EditableObjectGrid<T>
- Type Parameters:
T- Type of object to edit.
- All Implemented Interfaces:
Executable,Reentrant,FilterMethods<T>,HasLogic,ObjectLoader<T>,ObjectSearcher<T>,ObjectSetter<T>,ObjectsSetter<T>,EditableDataGrid<T>,ObjectEditorListener,ObjectGridData<T,,T> ObjectLoader<T>,Transactional,ViewFilterSupport<T>,ClickHandler,ExecutableView,HasColumns<T>,SupportWindowMode,ValueChangeHandler,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.grid.Grid<T>>,com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<? extends com.vaadin.flow.component.Component>>,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.component.HasValue.ValueChangeListener,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>,com.vaadin.flow.data.provider.HasDataView<T,,Void, com.vaadin.flow.component.grid.dataview.GridDataView<T>> com.vaadin.flow.data.provider.HasLazyDataView<T,,Void, com.vaadin.flow.component.grid.dataview.GridLazyDataView<T>> com.vaadin.flow.data.provider.HasListDataView<T,,com.vaadin.flow.component.grid.dataview.GridListDataView<T>> Serializable,Iterable<T>,Runnable,Collection<T>,EventListener,Consumer<T>,List<T>,SequencedCollection<T>
- Direct Known Subclasses:
AbstractLinkGrid,ObjectListEditor
public class EditableObjectGrid<T extends StoredObject>
extends AbstractEditableGrid<T>
implements ObjectGridData<T,T>, EditableDataGrid<T>, ObjectEditorListener
An editable grid of objects. It internally maintains an
EditableList that provides status information on each row
of the grid.- Author:
- Syam
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.grid.Grid
com.vaadin.flow.component.grid.Grid.AbstractGridExtension<T>, com.vaadin.flow.component.grid.Grid.Column<T>, com.vaadin.flow.component.grid.Grid.DataCommunicatorBuilder<T,U extends com.vaadin.flow.data.provider.ArrayUpdater>, com.vaadin.flow.component.grid.Grid.MultiSortPriority, com.vaadin.flow.component.grid.Grid.NestedNullBehavior, com.vaadin.flow.component.grid.Grid.SelectionMode, com.vaadin.flow.component.grid.Grid.SpringData, com.vaadin.flow.component.grid.Grid.UpdateQueue Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.storedobject.vaadin.ClickHandler
ClickHandler.ModifiedClickEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.storedobject.vaadin.HasColumns
HasColumns.SOGrid<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionEditableObjectGrid(Class<T> objectClass) EditableObjectGrid(Class<T> objectClass, boolean any) protectedEditableObjectGrid(Class<T> objectClass, Iterable<String> columns) EditableObjectGrid(Class<T> objectClass, Iterable<String> columns, boolean any) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(int index, Collection<? extends T> collection) booleanaddAll(Collection<? extends T> collection) com.vaadin.flow.shared.RegistrationaddObjectChangedListener(ObjectChangedListener<T> listener) com.vaadin.flow.shared.RegistrationaddValueChangeTracker(BiConsumer<AbstractListProvider<T>, Boolean> tracker) voidInform the grid that we have appended an item.voidCancel the editing if it is active.protected booleanInvoked to check whether a change is allowed from the client side or not.voidclear()This method doesn't clear the items.protected ObjectEditor<T> protected AbstractListProvider<T> createListDataProvider(DataList<T> data) Create an instance ofListDataProviderfor the given data.protected ObjectEditor<T> protected voidCustomize the editor that will be used for editing the instances.protected voiddeletedNow(T item) This will be invoked once an item is deleted.protected voiddoDeleteAction(T object) Carry out the delete action for the object.protected voiddoInsertAction(T object) Carry out the insert action for the object.protected voiddoReloadAction(T object) Carry out the reload action for the object.protected voidCarry out the "reload all" action.protected voiddoUndeleteAction(T object) Carry out the undelete action for the object.protected voiddoUpdateAction(T object) Carry out the update action for the object.booleanEdit a given item.protected com.vaadin.flow.component.HasValue<?, ?> getColumnField(String columnName) Get the field for the column.final Tfinal com.vaadin.flow.component.HasValue<?, ?> Get the field for the given column name.final ObjectEditor<T> final ObjectEditor<T> protected voidinsertedNow(T item) This will be invoked once an item is inserted.booleanisColumnEditable(String columnName) All fields are editable by default unless a field for editing the value of a particular column can not be determined from itsObjectEditor.final booleanprotected booleanprotected voidThis will be invoked once all items are reloaded.protected voidreloadedNow(T item) This will be invoked once an item is reloaded.voidremoveObjectChangedListener(ObjectChangedListener<T> listener) voidvoidsetAutoSaveOnMove(boolean autoSave) Set the auto-save mode.voidsetObjectSetter(ObjectSetter<T> setter) voidsetReadOnly(boolean readOnly) Set read only.voidsetViewFilter(Predicate<T> filter) Set a filter.final Stream<com.vaadin.flow.component.HasValue<?, ?>> Get the stream of editable fields of this grid.protected voidundeletedNow(T item) This will be invoked once an item is undeleted.protected voidupdatedNow(T item) This will be invoked once an item is updated.voidvalidateData(T item) This method is invoked to validate the item being added/edited via the UI.Methods inherited from class com.storedobject.ui.AbstractEditableGrid
changed, createEditableList, createEditor, customizeColumn, delete, getColumnOrder, getEditableList, isAdded, isColumnSortable, isDeleted, isEdited, isFromClient, isSavePending, reload, reloadAll, setEditOnSingleClick, setFromClient, streamAdded, streamAll, streamDeleted, streamEdited, updateMethods inherited from class com.storedobject.ui.DataGrid
actionAllowed, canAllowAction, doAppendAction, getActionPrefix, getDataProvider, getObjectClass, itemAppended, itemDeleted, itemInserted, itemReloaded, itemUndeleted, itemUpdated, load, load, selected, selected, setItems, setItems, setItems, setItems, setItems, setItems, setItems, setItems, sort, sort, validateAppend, validateDelete, validateInsert, validateReload, validateUndelete, validateUpdateMethods inherited from class com.storedobject.vaadin.ListGrid
add, addViewFilter, clearViewFilters, contains, containsAll, get, getData, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, onAttach, onDetach, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, setData, size, subList, toArray, toArrayMethods inherited from class com.storedobject.vaadin.DataGrid
addConstructedListener, appendFooter, clearConstructedListeners, getColumnByKey, getColumns, getSOGrid, isColumnReorderingAllowed, setColumnReorderingAllowed, streamConstructedListenersMethods inherited from class com.vaadin.flow.component.grid.Grid
addCellFocusListener, 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, configureBeanType, createColumn, createColumnId, createDefaultArrayUpdater, createSortingComparator, deselect, deselectAll, getAriaLabel, getArrayUpdater, getBeanType, getClassNameGenerator, getColumnByInternalId, getColumnLayers, getColumnRendering, getDataCommunicator, getDefaultColumnFactory, getDefaultHeaderRow, getDragFilter, getDropFilter, getDropMode, getEditor, getEmptyStateComponent, getEmptyStateText, getFooterRows, getGenericDataView, getHeaderRows, getLazyDataView, getListDataView, getNestedNullBehavior, getPageSize, getPartNameGenerator, getPropertySet, getSelectedItems, getSelectionMode, getSelectionModel, getSelectionPreservationMode, getSortOrder, getTooltipPosition, getUniqueKeyProperty, getUniqueKeyProvider, initConnector, insertColumnLayer, isAllRowsVisible, isDetailsVisible, isDetailsVisibleOnClick, isMultiSort, isRowsDraggable, onDataProviderChange, onEnabledStateChanged, prependFooterRow, prependHeaderRow, recalculateColumnWidths, removeAllColumns, removeAllFooterRows, removeAllHeaderRows, removeColumn, removeColumnByKey, removeColumnLayer, removeColumns, removeFooterRow, removeHeaderRow, removeThemeVariants, scrollToEnd, scrollToIndex, scrollToItem, scrollToStart, select, setAllRowsVisible, setAriaLabel, setClassNameGenerator, setColumnKey, setColumnOrder, setColumnOrder, setColumnRendering, setColumns, setDataProvider, setDefaultMultiSortPriority, setDetailsVisible, setDetailsVisibleOnClick, setDragDataGenerator, setDragFilter, setDropFilter, setDropMode, setEmptyStateComponent, setEmptyStateText, setItemDetailsRenderer, setItemSelectableProvider, setItemsPageable, setItemsPageable, setMultiSort, setMultiSort, setMultiSort, setMultiSort, setNestedNullBehavior, setPageSize, setPartNameGenerator, setRowsDraggable, setSelectionDragDetails, setSelectionMode, setSelectionModel, setSelectionPreservationMode, setSortableColumns, setTooltipGenerator, setTooltipPosition, setUniqueKeyProperty, setUniqueKeyProvider, updateSelectionModeOnClientMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods 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.BlurNotifier
addBlurListenerMethods inherited from interface com.storedobject.vaadin.ClickHandler
clicked, doubleClicked, onComponentEvent, rightClickedMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.storedobject.ui.EditableDataGrid
canDelete, canEdit, canPostLedger, canViewLedgerMethods inherited from interface com.storedobject.common.Executable
actMethods inherited from interface com.storedobject.vaadin.ExecutableView
abort, clean, clicked, close, createMenuItem, error, execute, execute, getMenuIconName, getMenuItem, getView, invoke, isCloseable, isFullScreen, isHomeView, log, log, message, returnedFrom, run, setClickable, speak, trackValueChange, tray, valueChanged, warningMethods inherited from interface com.storedobject.core.FilterMethods
getFilterCondition, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setLoadFilter, setLoadFilter, setViewFilterMethods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.storedobject.vaadin.HasColumns
addConstructedListener, addItemSelectedListener, addItemsSelectedListener, appendFooter, appendHeader, clearAlerts, clearConstructedListeners, compact, configure, constructed, createColumn, createColumn, createColumn, createColumn, createColumn, createComponentColumn, createDecoratedWindow, createFooters, createHeader, createHeaders, createHierarchyColumn, createHTMLColumn, createHTMLHierarchyColumn, createView, customizeColumn, customizeRenderer, deselect, deselect, executing, getApplication, getCaption, getColumn, getColumnCaption, getColumnCount, getColumnDetail, getColumnFunction, getColumnHeaderComponent, getColumnMethodName, getColumnNames, getColumnOrder, getColumnSorter, getColumnTemplate, getConfigureButton, getDataClass, getDefinedColumnCount, getFixedColumnWidth, getMenuItem, getObjectRendered, getObjectUnwrapped, getRelativeColumnWidth, getRenderedColumnNames, getSelected, getSOGrid, getTextAlign, getView, getViewComponent, ignoreCaseForColumnSorting, includeColumn, isColumnFrozen, isColumnResizable, isColumnSortable, isColumnVisible, prependFooter, prependHeader, refresh, refresh, refresh, removeItemSelectedListener, render, select, select, setCaption, setColumnFrozen, setColumnResizable, setColumnVisible, setMethodHandlerHost, sort, sort, sortOrder, sortOrder, streamConstructedListeners, unwrapMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, reversed, spliteratorMethods inherited from interface com.storedobject.ui.ObjectEditorListener
editingCancelled, editingEnded, editingStartedMethods inherited from interface com.storedobject.ui.ObjectGridData
canSearch, convert, createSearchBuilder, deselect, deselectAll, doLoad, getEntityFilter, getItem, getLoadFilter, getObjectClass, getObjectCount, getSearchBuilder, getSelectionModel, isAllowAny, isSearchMode, populate, populate, populate, resetSearch, scrollTo, search, search, search, select, setLoadFilter, setObject, setObjectConsumer, setObjectConsumer, setObjects, setSelectionMode, validateFilterConditionMethods inherited from interface com.storedobject.core.ObjectLoader
applyFilter, canContain, getAllowAny, getLinkType, getMaster, getOrderBy, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, load, reload, setLinkType, setLinkType, setMaster, setMaster, setOrderBy, setOrderByMethods inherited from interface com.storedobject.ui.ObjectLoader
addDataLoadedListener, applyFilterPredicate, clear, get, getCacheLevel, getEffectiveCondition, getFixedFilter, indexOf, load, setExtraFilter, setExtraFilter, setFilter, setFilter, setFixedFilter, setFixedFilter, setFixedFilter, setFixedFilter, size, streamAll, streamFilteredMethods inherited from interface com.storedobject.core.ObjectSetter
accept, setObjectMethods inherited from interface com.storedobject.common.Reentrant
isReentrantMethods inherited from interface com.storedobject.vaadin.util.SupportWindowMode
createWindowMethods inherited from interface com.storedobject.ui.Transactional
commit, execute, getLogic, getTransactionManager, run, setLogic, transact, transact, transactControl, transactControl, transactControl, transactControlMethods inherited from interface com.storedobject.vaadin.ValueChangeHandler
valueChangedMethods inherited from interface com.storedobject.ui.util.ViewFilterSupport
configure, configure, configure, configureMatch, filterView, getViewFilter
-
Constructor Details
-
EditableObjectGrid
-
EditableObjectGrid
-
EditableObjectGrid
-
EditableObjectGrid
-
EditableObjectGrid
-
-
Method Details
-
isValid
- Overrides:
isValidin classAbstractEditableGrid<T extends StoredObject>
-
createListDataProvider
Description copied from class:ListGridCreate an instance ofListDataProviderfor the given data. The default implementation creates an instance of Vaadin's implementation. However, a modified implementation can be provided instead.- Overrides:
createListDataProviderin classDataGrid<T extends StoredObject>- Parameters:
data- Data for which data provider needs to be created.- Returns:
- An instance of the
ListDataProvider.
-
addValueChangeTracker
public com.vaadin.flow.shared.Registration addValueChangeTracker(BiConsumer<AbstractListProvider<T>, Boolean> tracker) -
getDelegatedLoader
- Specified by:
getDelegatedLoaderin interfaceObjectLoader<T extends StoredObject>
-
setObjectSetter
- Specified by:
setObjectSetterin interfaceObjectGridData<T extends StoredObject,T extends StoredObject>
-
setAutoSaveOnMove
public void setAutoSaveOnMove(boolean autoSave) Set the auto-save mode. If this mode is set totrue, values will be saved from the field when jumping between rows. By default, it is off and field values will not be saved when jumping between rows.- Parameters:
autoSave- True/false.
-
addAll
- Specified by:
addAllin interfaceCollection<T extends StoredObject>- Specified by:
addAllin interfaceList<T extends StoredObject>- Overrides:
addAllin classListGrid<T extends StoredObject>
-
addAll
- Specified by:
addAllin interfaceList<T extends StoredObject>- Overrides:
addAllin classListGrid<T extends StoredObject>
-
add
- Specified by:
addin interfaceCollection<T extends StoredObject>- Specified by:
addin interfaceList<T extends StoredObject>- Overrides:
addin classAbstractEditableGrid<T extends StoredObject>
-
append
Description copied from class:DataGridInform the grid that we have appended an item. It will append the item to the grid only ifDataGrid.validateAppend(Object)doesn't raise any exception. For appending the item, it invokesDataGrid.doAppendAction(Object)method.Note: This method is an alias to
DataGrid.itemAppended(Object)method.- Overrides:
appendin classDataGrid<T extends StoredObject>- Parameters:
item- Item that is newly added.
-
isColumnEditable
All fields are editable by default unless a field for editing the value of a particular column can not be determined from itsObjectEditor.- Specified by:
isColumnEditablein interfaceEditableDataGrid<T extends StoredObject>- Parameters:
columnName- Column name.- Returns:
- True/false.
-
getColumnField
Get the field for the column. (Used while editing the row). In general, it is not required to override this. If this method returnsnull, field will be created from the respective Object Editor.- Parameters:
columnName- Column name for which field needs to be obtained.- Returns:
- Default implementation returns
null.
-
getField
Description copied from class:AbstractEditableGridGet the field for the given column name.- Overrides:
getFieldin classAbstractEditableGrid<T extends StoredObject>- Parameters:
columnName- Name of the column for which field is required.- Returns:
- Field if found, otherwise
nullis returned.
-
streamEditableFields
Description copied from interface:EditableDataGridGet the stream of editable fields of this grid.- Specified by:
streamEditableFieldsin interfaceEditableDataGrid<T extends StoredObject>- Returns:
- Stream of editable fields.
-
getRowEditor
-
createObjectEditor
-
constructObjectEditor
-
getObjectEditor
-
customizeObjectEditor
protected void customizeObjectEditor()Customize the editor that will be used for editing the instances. You can get the editor by invoking the methodgetObjectEditor(). -
setReadOnly
public void setReadOnly(boolean readOnly) Set read only.- Parameters:
readOnly- If true, rows will not be editable.
-
isReadOnly
public final boolean isReadOnly() -
editItem
Edit a given item.- Overrides:
editItemin classAbstractEditableGrid<T extends StoredObject>- Parameters:
item- Item to edit.- Returns:
- True if editing is started, otherwise false.
-
cancelEdit
public void cancelEdit()Description copied from class:AbstractEditableGridCancel the editing if it is active.- Specified by:
cancelEditin classAbstractEditableGrid<T extends StoredObject>
-
saveEdited
public void saveEdited() -
getEditingItem
-
validateData
-
clear
public void clear()Description copied from class:AbstractEditableGridThis method doesn't clear the items. Instead, it just invokes theAbstractEditableGrid.fireChanged(Object, int)method withnullas the item value andEditorAction.ALLas the "change action". Subclasses should implement the real "clear" functionality.- Specified by:
clearin interfaceCollection<T extends StoredObject>- Specified by:
clearin interfaceList<T extends StoredObject>- Specified by:
clearin interfaceObjectLoader<T extends StoredObject>- Overrides:
clearin classAbstractEditableGrid<T extends StoredObject>
-
addObjectChangedListener
public com.vaadin.flow.shared.Registration addObjectChangedListener(ObjectChangedListener<T> listener) -
removeObjectChangedListener
-
doInsertAction
Description copied from class:DataGridCarry out the insert action for the object. The object is already validated.- Overrides:
doInsertActionin classDataGrid<T extends StoredObject>- Parameters:
object- Item that is newly added.
-
doUpdateAction
Description copied from class:DataGridCarry out the update action for the object. The object is already validated.- Overrides:
doUpdateActionin classDataGrid<T extends StoredObject>- Parameters:
object- Item that is updated.
-
doDeleteAction
Description copied from class:DataGridCarry out the delete action for the object. The object is already validated.- Overrides:
doDeleteActionin classDataGrid<T extends StoredObject>- Parameters:
object- Item that is deleted.
-
doUndeleteAction
Description copied from class:DataGridCarry out the undelete action for the object. The object is already validated.- Overrides:
doUndeleteActionin classDataGrid<T extends StoredObject>- Parameters:
object- Item that is undeleted.
-
doReloadAction
Description copied from class:DataGridCarry out the reload action for the object. The object is already validated.- Overrides:
doReloadActionin classDataGrid<T extends StoredObject>- Parameters:
object- Item that is undeleted.
-
doReloadAllAction
protected void doReloadAllAction()Description copied from class:DataGridCarry out the "reload all" action. All validations are already done before invoking this.- Overrides:
doReloadAllActionin classDataGrid<T extends StoredObject>
-
insertedNow
This will be invoked once an item is inserted.- Parameters:
item- Item.
-
updatedNow
This will be invoked once an item is updated.- Parameters:
item- Item.
-
deletedNow
This will be invoked once an item is deleted.- Parameters:
item- Item.
-
undeletedNow
This will be invoked once an item is undeleted.- Parameters:
item- Item.
-
reloadedNow
This will be invoked once an item is reloaded.- Parameters:
item- Item.
-
reloadedAllNow
protected void reloadedAllNow()This will be invoked once all items are reloaded. -
canChange
Invoked to check whether a change is allowed from the client side or not.- Parameters:
item- Item to change.editorAction- Editor action (One of the static values fromEditorAction).- Returns:
- True if change is acceptable. If returned false, change will be ignored.
-
setViewFilter
Description copied from class:ListGridSet a filter. (All previously added filters will be cleared).- Specified by:
setViewFilterin interfaceFilterMethods<T extends StoredObject>- Overrides:
setViewFilterin classListGrid<T extends StoredObject>- Parameters:
filter- Filter to set.
-