Class AbstractDialogWindow.MaximizedChangeEvent<V extends View<?>>

java.lang.Object
java.util.EventObject
io.jmix.flowui.view.AbstractDialogWindow.MaximizedChangeEvent<V>
Type Parameters:
V - the type of the view associated with the dialog window
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractDialogWindow<V extends View<?>>

public static class AbstractDialogWindow.MaximizedChangeEvent<V extends View<?>> extends EventObject
An event that is fired when the dialog window is maximized or restored.
See Also:
  • Field Details

    • maximized

      protected final boolean maximized
    • fromClient

      protected final boolean fromClient
  • Constructor Details

    • MaximizedChangeEvent

      public MaximizedChangeEvent(AbstractDialogWindow<V> source, boolean maximized, boolean fromClient)
  • Method Details

    • getSource

      public AbstractDialogWindow<V> getSource()
      Overrides:
      getSource in class EventObject
    • getView

      public V getView()
      Returns the view associated with the dialog window.
      Returns:
      the view associated with the dialog window
    • isMaximized

      public boolean isMaximized()
      Returns:
      true if the dialog window is maximized, false if it is restored
    • isFromClient

      public boolean isFromClient()
      Returns:
      true if the state was changed by the user using the maximize button, false if it was changed programmatically