Class CategoryListView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,LookupView<Category>
,MultiSelectLookupView
,Serializable
@Route(value="dynat/category",
layout=DefaultMainViewParent.class)
@ViewController("dynat_CategoryView.list")
@ViewDescriptor("category-list-view.xml")
@DialogMode(width="47.5em")
public class CategoryListView
extends StandardListView<Category>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected com.vaadin.flow.component.button.Button
protected CollectionContainer<CategoryAttribute>
protected CollectionLoader<Category>
protected InstanceContainer<Category>
protected InstanceLoader<Category>
protected Downloader
protected DynAttrMetadata
protected EntityImportExport
protected EntityImportPlans
protected FetchPlans
protected FileUploadField
protected Messages
protected Metadata
protected Notifications
Fields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FetchPlan
protected EntityImportPlan
protected void
export
(DownloadFormat downloadFormat) protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
protected void
void
void
void
protected void
Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, 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.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
notifications
-
messages
-
metadata
-
dynAttrMetadata
-
entityImportExport
-
fetchPlans
-
entityImportPlans
-
downloader
-
accessManager
-
categoriesGrid
-
attributesDc
-
categoryDc
-
categoryDl
-
categoriesDl
-
importField
-
applyChangesBtn
-
-
Constructor Details
-
CategoryListView
public CategoryListView()
-
-
Method Details
-
onBeforeShow
-
onCategoriesGridApplyChanges
@Subscribe("categoriesGrid.applyChanges") protected void onCategoriesGridApplyChanges(ActionPerformedEvent event) -
onCategoriesDcItemChange
@Subscribe(id="categoriesDc", target=DATA_CONTAINER) protected void onCategoriesDcItemChange(InstanceContainer.ItemChangeEvent<Category> event) -
setupFieldsLock
protected void setupFieldsLock() -
onExportBtnExportJSON
@Subscribe("categoriesGrid.exportJSON") public void onExportBtnExportJSON(ActionPerformedEvent event) -
onExportBtnExportZIP
-
export
-
buildExportFetchPlan
-
onImportFieldFileUploadSucceed
@Subscribe("importField") public void onImportFieldFileUploadSucceed(FileUploadSucceededEvent<FileUploadField> event) -
createEntityImportPlan
-