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.ValidationEventNested 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.RestoreComponentsStateEventNested 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonAddButtonClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event) voidonAmountFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.textfield.JmixIntegerField, ?> event) voidonEditBtnClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event) voidonItemsItemClick(com.vaadin.flow.component.grid.ItemClickEvent<InvoiceProduct> event) voidonProductFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<io.jmix.flowui.component.valuepicker.EntityPicker<Product>, Product> event) voidonReady(io.jmix.flowui.view.View.ReadyEvent event) voidonRemoveBtnClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event) voidonSaveButtonClick(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, setShowValidationErrorsMethods inherited from class io.jmix.flowui.view.View
afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getId, getPageTitle, isPreventBrowserTabClosing, setId, setPageTitle, setPreventBrowserTabClosingMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
findAncestor, from, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, isAttached, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, setVisibleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods 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
-
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)
-