Class CategoryDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<Category>
io.jmix.dynattrflowui.view.category.CategoryDetailView
- 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
,FragmentOwner
,ChangeTracker
,DetailView<Category>
,ReadOnlyAwareView
,Serializable
@Route(value="dynat/category/:id",
layout=DefaultMainViewParent.class)
@ViewController("dynat_CategoryView.detail")
@ViewDescriptor("category-detail-view.xml")
@DialogMode(width="50em")
public class CategoryDetailView
extends StandardDetailView<Category>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessManager
protected InstanceContainer<Category>
protected CoreProperties
protected DataComponents
protected DataManager
protected JmixComboBox<MetaClass>
protected ExtendedEntities
protected FetchPlans
protected AttributeLocalizationComponent
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected MsgBundleTools
protected TypedTextField<String>
protected JmixTabSheet
protected UiComponents
Fields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected void
protected void
protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
onEntityTypeFieldValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MetaClass>, MetaClass> event) protected void
onIsDefaultFieldValueChange
(com.vaadin.flow.component.HasValue.ValueChangeEvent<Boolean> event) protected void
protected void
Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, clearChanges, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, preventUnsavedChanges, processBeforeEnterInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateView
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPageTitle, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
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, 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
-
metadataTools
-
messageTools
-
dataManager
-
coreProperties
-
extendedEntities
-
fetchPlans
-
metadata
-
accessManager
-
messages
-
uiComponents
-
dataComponents
-
msgBundleTools
-
categoryDc
-
entityTypeField
-
nameField
-
tabSheet
-
localizationTabContainer
@ViewComponent protected com.vaadin.flow.component.orderedlayout.VerticalLayout localizationTabContainer -
localizationComponent
-
-
Constructor Details
-
CategoryDetailView
public CategoryDetailView()
-
-
Method Details
-
onBeforeShow
-
setupFieldsLock
protected void setupFieldsLock() -
onEntityTypeFieldValueChange
@Subscribe("entityTypeField") protected void onEntityTypeFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MetaClass>, MetaClass> event) -
generateCategoryNameByEntityType
-
onIsDefaultFieldValueChange
@Subscribe("isDefaultField") protected void onIsDefaultFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<Boolean> event) -
initEntityTypeField
protected void initEntityTypeField() -
initLocalizationTab
protected void initLocalizationTab() -
onPreCommit
-
getCategory
-