Package com.vaadin.flow.component.page
Class FullscreenChangeEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.page.FullscreenChangeEvent
- All Implemented Interfaces:
Serializable
Event that is fired when the fullscreen state of the page changes.
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the page is currently in fullscreen mode.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
FullscreenChangeEvent
Creates a new event.- Parameters:
source- the page for which the fullscreen state has changedfullscreen-trueif the page is now in fullscreen mode,falseif fullscreen was exited
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
isFullscreen
public boolean isFullscreen()Returns whether the page is currently in fullscreen mode.- Returns:
trueif in fullscreen mode,falseotherwise
-