Package io.jmix.flowui.view
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMaximizedChangeEvent(AbstractDialogWindow<V> source, boolean maximized, boolean fromClient) -
Method Summary
Modifier and TypeMethodDescriptiongetView()Returns the view associated with the dialog window.booleanbooleanMethods inherited from class java.util.EventObject
toString
-
Field Details
-
maximized
protected final boolean maximized -
fromClient
protected final boolean fromClient
-
-
Constructor Details
-
MaximizedChangeEvent
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
getView
Returns the view associated with the dialog window.- Returns:
- the view associated with the dialog window
-
isMaximized
public boolean isMaximized()- Returns:
trueif the dialog window is maximized,falseif it is restored
-
isFromClient
public boolean isFromClient()- Returns:
trueif the state was changed by the user using the maximize button,falseif it was changed programmatically
-