Class DynamicViewHandlerModelDetailView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<ViewLayout>
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, FacetOwner, FragmentOwner, ChangeTracker, DetailView<DynamicViewHandlerModel>, HasEditedEntity<DynamicViewHandlerModel>, ReadOnlyAwareView, ReadOnlyTracker, SupportEntityLock<DynamicViewHandlerModel>, Serializable

@DialogMode(width="640px", height="480px", resizable=true) @ViewController(id="dynmod_ViewHandler.detail") @ViewDescriptor(path="dynamic-view-handler-model-detail-view.xml") public class DynamicViewHandlerModelDetailView extends StandardDetailView<DynamicViewHandlerModel>
See Also:
  • Constructor Details

    • DynamicViewHandlerModelDetailView

      public DynamicViewHandlerModelDetailView()
  • Method Details

    • setComponentInfos

      public void setComponentInfos(List<DynamicViewComponentIdProvider.ComponentInfo> componentInfos)
      Configured by the view editor through viewConfigurer with the components declared in the view this handler belongs to. The combo still accepts a typed value, so an empty list only means no suggestions.
    • setDetailView

      public void setDetailView(boolean detailView)
      Configured by the view editor through viewConfigurer. The initEntity trigger fires when a new entity is initialized for editing, so it is offered only for detail views.
    • setHandlerNames

      public void setHandlerNames(List<String> handlerNames)
      Configured by the view editor through viewConfigurer with the names of all handlers declared in the same view, offered as the follow-up of dialogs.confirm.
    • setEntity

      public void setEntity(@Nullable DynamicEntityModel entity)
      Configured by the view editor through viewConfigurer with the entity that owns the view, so the expression editor can offer the attributes reachable through entity.
    • onInit

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

      @Subscribe public void onBeforeShow(View.BeforeShowEvent event)
    • onComponentIdFieldValueChange

      @Subscribe("componentIdField") public void onComponentIdFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>,String> event)
    • onEventFieldValueChange

      @Subscribe("eventField") public void onEventFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<DynamicViewHandlerEvent>,DynamicViewHandlerEvent> event)
    • onValidation

      @Subscribe public void onValidation(StandardDetailView.ValidationEvent event)