Class CategoryDetailView

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, 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", maxWidth="80%") public class CategoryDetailView extends StandardDetailView<Category>
See Also:
  • Field Details

  • Constructor Details

    • CategoryDetailView

      public CategoryDetailView()
  • Method Details

    • onInitEvent

      @Subscribe public void onInitEvent(View.InitEvent event)
    • onBeforeShow

      @Subscribe protected void onBeforeShow(View.BeforeShowEvent event)
    • 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)
    • onIsDefaultFieldValueChange

      @Subscribe("isDefaultField") protected void onIsDefaultFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<Boolean> event)
    • initEntityTypeField

      protected void initEntityTypeField()
    • initLocalizationTab

      protected void initLocalizationTab()
    • createCategoryAttrsGridDefaultValueRenderer

      protected com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.html.Span,CategoryAttribute> createCategoryAttrsGridDefaultValueRenderer()
    • categoryAttrsGridDefaultValueColumnComponent

      protected com.vaadin.flow.component.html.Span categoryAttrsGridDefaultValueColumnComponent()
    • categoryAttrsGridDefaultValueColumnUpdater

      protected void categoryAttrsGridDefaultValueColumnUpdater(com.vaadin.flow.component.html.Span defaultValueLabel, CategoryAttribute attribute)
    • createCategoryAttrsGridDataTypeRenderer

      protected com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.Text,CategoryAttribute> createCategoryAttrsGridDataTypeRenderer()
    • categoryAttrsGridDataTypeComponent

      protected com.vaadin.flow.component.Text categoryAttrsGridDataTypeComponent()
    • categoryAttrsGridDataTypeUpdater

      protected void categoryAttrsGridDataTypeUpdater(com.vaadin.flow.component.Text text, CategoryAttribute categoryAttribute)
    • categoryAttrsGridCreateListener

      @Subscribe("categoryAttrsGrid.create") protected void categoryAttrsGridCreateListener(ActionPerformedEvent event)
    • categoryAttrsGridEditListener

      @Subscribe("categoryAttrsGrid.edit") protected void categoryAttrsGridEditListener(ActionPerformedEvent event)
    • categoryAttrsGridRemoveListener

      @Subscribe("categoryAttrsGrid.remove") protected void categoryAttrsGridRemoveListener(ActionPerformedEvent event)
    • onCategoryAttrsGridSelection

      @Subscribe("categoryAttrsGrid") protected void onCategoryAttrsGridSelection(com.vaadin.flow.data.selection.SelectionEvent<DataGrid<CategoryAttribute>,CategoryAttribute> event)
    • onCategoryAttrsGridMoveUp

      @Subscribe("categoryAttrsGrid.moveUp") protected void onCategoryAttrsGridMoveUp(ActionPerformedEvent event)
    • onCategoryAttrsGridMoveDown

      @Subscribe("categoryAttrsGrid.moveDown") protected void onCategoryAttrsGridMoveDown(ActionPerformedEvent event)
    • getPrevAttribute

      protected CategoryAttribute getPrevAttribute(Integer orderNo)
    • getNextAttribute

      protected CategoryAttribute getNextAttribute(Integer orderNo)
    • sortCategoryAttrsGridByOrderNo

      protected void sortCategoryAttrsGridByOrderNo()
    • refreshMoveButtonsEnabled

      protected void refreshMoveButtonsEnabled(@Nullable CategoryAttribute categoryAttribute)
    • setCategory

      public void setCategory(Category category)
    • onPreCommit

      @Subscribe(target=DATA_CONTEXT) protected void onPreCommit(DataContext.PreSaveEvent event)
    • getCategory

      public Category getCategory()