Class InvoicesDetailView

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<Invoice>
de.bytestore.hostinger.view.ecommerce.invoice.InvoicesDetailView
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<Invoice>, io.jmix.flowui.view.HasEditedEntity<Invoice>, io.jmix.flowui.view.ReadOnlyAwareView, io.jmix.flowui.view.ReadOnlyTracker, io.jmix.flowui.view.SupportEntityLock<Invoice>, Serializable

@Route(value="invoices/:id", layout=MainView.class) @ViewController("host_Invoices.detail") @ViewDescriptor("invoices-detail-view.xml") public class InvoicesDetailView extends io.jmix.flowui.view.StandardDetailView<Invoice>
This class represents the detail view for invoices. It is responsible for displaying and managing the details of an invoice.
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
    onAddButtonClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
     
    void
    onAmountFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.textfield.JmixIntegerField,?> event)
     
    void
    onEditBtnClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
     
    void
    onItemsItemClick(com.vaadin.flow.component.grid.ItemClickEvent<InvoiceProduct> event)
     
    void
    onProductFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.valuepicker.EntityPicker<Product>,Product> event)
     
    void
    onReady(io.jmix.flowui.view.View.ReadyEvent event)
     
    void
    onRemoveBtnClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
     
    void
    onSaveButtonClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> 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

    • InvoicesDetailView

      public InvoicesDetailView()
  • Method Details

    • onReady

      @Subscribe public void onReady(io.jmix.flowui.view.View.ReadyEvent event)
    • onAmountFieldComponentValueChange

      @Subscribe("amountField") public void onAmountFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.textfield.JmixIntegerField,?> event)
    • onProductFieldComponentValueChange

      @Subscribe("productField") public void onProductFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.valuepicker.EntityPicker<Product>,Product> event)
    • onAddButtonClick

      @Subscribe("addButton") public void onAddButtonClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
    • onEditBtnClick

      @Subscribe("editBtn") public void onEditBtnClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
    • onItemsItemClick

      @Subscribe("items") public void onItemsItemClick(com.vaadin.flow.component.grid.ItemClickEvent<InvoiceProduct> event)
    • onSaveButtonClick

      @Subscribe("saveButton") public void onSaveButtonClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)
    • onRemoveBtnClick

      @Subscribe("removeBtn") public void onRemoveBtnClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event)