Class CouponsDetailView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<io.jmix.flowui.component.layout.ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<Coupon>
de.bytestore.hostinger.view.ecommerce.coupon.CouponsDetailView
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, io.jmix.flowui.fragment.FragmentOwner, io.jmix.flowui.view.ChangeTracker, io.jmix.flowui.view.DetailView<Coupon>, io.jmix.flowui.view.HasEditedEntity<Coupon>, io.jmix.flowui.view.ReadOnlyAwareView, io.jmix.flowui.view.ReadOnlyTracker, io.jmix.flowui.view.SupportEntityLock<Coupon>, Serializable

@Route(value="coupons/:id", layout=MainView.class) @ViewController("host_Coupons.detail") @ViewDescriptor("coupons-detail-view.xml") public class CouponsDetailView extends io.jmix.flowui.view.StandardDetailView<Coupon>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView

    io.jmix.flowui.view.StandardDetailView.AfterSaveEvent, io.jmix.flowui.view.StandardDetailView.BeforeSaveEvent, io.jmix.flowui.view.StandardDetailView.InitEntityEvent<E extends Object>, io.jmix.flowui.view.StandardDetailView.SetupLockEvent, io.jmix.flowui.view.StandardDetailView.ValidationEvent

    Nested classes/interfaces inherited from class io.jmix.flowui.view.View

    io.jmix.flowui.view.View.AfterCloseEvent, io.jmix.flowui.view.View.BeforeCloseEvent, io.jmix.flowui.view.View.BeforeShowEvent, io.jmix.flowui.view.View.InitEvent, io.jmix.flowui.view.View.PostReadyEvent, io.jmix.flowui.view.View.QueryParametersChangeEvent, io.jmix.flowui.view.View.ReadyEvent, io.jmix.flowui.view.View.RestoreComponentsStateEvent

    Nested classes/interfaces inherited from interface io.jmix.flowui.view.ReadOnlyTracker

    io.jmix.flowui.view.ReadOnlyTracker.ReadOnlyChangeEvent
  • Field Summary

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onGenerateClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
     
    void
    onInitEntity(io.jmix.flowui.view.StandardDetailView.InitEntityEvent<Coupon> event)
     
    void
    onTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.combobox.JmixComboBox<CouponType>,CouponType> event)
     

    Methods inherited from class io.jmix.flowui.view.StandardDetailView

    addReadOnlyStateChangeListener, beforeEnter, clearChanges, closeWithDiscard, closeWithSave, getEditedEntity, getEditedEntityOrNull, getLockStatus, hasUnsavedChanges, isCrossFieldValidationEnabled, isReadOnly, isReloadSaved, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadSaved, setShowSaveNotification, setShowValidationErrors

    Methods inherited from class io.jmix.flowui.view.View

    afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getId, getPageTitle, isPreventBrowserTabClosing, setId, setPageTitle, setPreventBrowserTabClosing

    Methods inherited from class com.vaadin.flow.component.Composite

    getChildren, getContent, getElement

    Methods inherited from class com.vaadin.flow.component.Component

    findAncestor, from, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, isAttached, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, setVisible

    Methods inherited from class java.lang.Object

    equals, 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
  • Constructor Details

    • CouponsDetailView

      public CouponsDetailView()
  • Method Details

    • onInitEntity

      @Subscribe public void onInitEntity(io.jmix.flowui.view.StandardDetailView.InitEntityEvent<Coupon> event)
    • onGenerateClick

      @Subscribe("generate") public void onGenerateClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
    • onTypeFieldComponentValueChange

      @Subscribe("typeField") public void onTypeFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.combobox.JmixComboBox<CouponType>,CouponType> event)