Class Screen.BeforeCloseEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Screen<?>>
io.jmix.flowui.screen.Screen.BeforeCloseEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Screen<T extends com.vaadin.flow.component.Component>

public static class Screen.BeforeCloseEvent extends com.vaadin.flow.component.ComponentEvent<Screen<?>>
See Also:
  • Field Details

    • closeAction

      protected final CloseAction closeAction
    • closeResult

      protected OperationResult closeResult
    • closePrevented

      protected boolean closePrevented
  • Constructor Details

    • BeforeCloseEvent

      public BeforeCloseEvent(Screen<?> source, CloseAction closeAction)
  • Method Details

    • getCloseAction

      public CloseAction getCloseAction()
    • preventWindowClose

      public void preventWindowClose()
    • preventWindowClose

      public void preventWindowClose(OperationResult closeResult)
    • isClosePrevented

      public boolean isClosePrevented()
    • getCloseResult

      public Optional<OperationResult> getCloseResult()
    • closedWith

      public boolean closedWith(StandardOutcome outcome)