Class MachinesListView

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.StandardListView<Machine>
de.bytestore.hostinger.view.machines.MachinesListView
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.LookupView<Machine>, io.jmix.flowui.view.MultiSelectLookupView, Serializable

@Route(value="machines", layout=MainView.class) @ViewController("host_Machines.list") @ViewDescriptor("machines-list-view.xml") @DialogMode(width="64em") public class MachinesListView extends io.jmix.flowui.view.StandardListView<Machine>
See Also:
  • Nested Class Summary

    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.LookupView

    io.jmix.flowui.view.LookupView.ValidationContext<E extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onBeforeShow(io.jmix.flowui.view.View.BeforeShowEvent event)
     
    void
    onInit(io.jmix.flowui.view.View.InitEvent event)
     
    void
    onProcessesDataGridItemDoubleClick(com.vaadin.flow.component.grid.ItemDoubleClickEvent<Machine> event)
    Handles the event when an item in the machinesDataGrid is double-clicked.
    void
    onUsageDetailsOpenedChange(com.vaadin.flow.component.details.Details.OpenedChangeEvent event)
    Handles the event when the usage details is opened or closed.

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

    closeWithDiscard, findLookupComponent, getLookupComponent, getSelectionHandler, getSelectionValidator, handleSelection, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator

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

    afterNavigation, beforeEnter, 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

    • MachinesListView

      public MachinesListView()
  • Method Details

    • onInit

      @Subscribe public void onInit(io.jmix.flowui.view.View.InitEvent event)
    • onBeforeShow

      @Subscribe public void onBeforeShow(io.jmix.flowui.view.View.BeforeShowEvent event)
    • onUsageDetailsOpenedChange

      @Subscribe("usageDetails") public void onUsageDetailsOpenedChange(com.vaadin.flow.component.details.Details.OpenedChangeEvent event)
      Handles the event when the usage details is opened or closed. Don't update Usage statistics when Details is closed.
      Parameters:
      event - the opened change event
    • onProcessesDataGridItemDoubleClick

      @Subscribe("machinesesDataGrid") public void onProcessesDataGridItemDoubleClick(com.vaadin.flow.component.grid.ItemDoubleClickEvent<Machine> event)
      Handles the event when an item in the machinesDataGrid is double-clicked.
      Parameters:
      event - the ItemDoubleClickEvent containing the clicked item