Class GoogleMap.FullScreenEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<GoogleMap>
com.flowingcode.vaadin.addons.googlemaps.GoogleMap.FullScreenEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GoogleMap
Event fired when the full screen mode changes on the map.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFullScreenEvent(GoogleMap source, boolean fromClient, boolean isFullScreen) Creates a new FullScreenEvent. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the map is in full screen mode.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
FullScreenEvent
Creates a new FullScreenEvent.- Parameters:
source- the source componentfromClient- whether the event originated from the client sideisFullScreen- the full screen state
-
-
Method Details
-
isFullScreen
public boolean isFullScreen()Checks if the map is in full screen mode.- Returns:
- true if the map is in full screen mode, false otherwise
-