Class RemoveOperation.BeforeActionPerformedEvent<E>

java.lang.Object
java.util.EventObject
io.jmix.flowui.util.RemoveOperation.BeforeActionPerformedEvent<E>
All Implemented Interfaces:
Serializable
Enclosing class:
RemoveOperation

public static class RemoveOperation.BeforeActionPerformedEvent<E> extends EventObject
Event sent before selected entities are removed.
See Also:
  • Field Details

    • items

      protected final List<E> items
    • actionPrevented

      protected boolean actionPrevented
  • Constructor Details

    • BeforeActionPerformedEvent

      public BeforeActionPerformedEvent(View<?> origin, List<E> items)
  • Method Details

    • getSource

      public View<?> getSource()
      Overrides:
      getSource in class EventObject
    • getItems

      public List<E> getItems()
      Returns:
      the list of entities selected for removal
    • isActionPrevented

      public boolean isActionPrevented()
      Returns:
      whether the removal was prevented by invoking preventAction()
    • preventAction

      public void preventAction()
      Prevents the removal.