Package com.vaadin.featurepack.util
Class PageUtils.UriFragmentChangedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.featurepack.util.PageUtils.UriFragmentChangedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
PageUtils
public static class PageUtils.UriFragmentChangedEvent
extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
Event fired when the URI fragment of a
Page changes.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionUriFragmentChangedEvent(com.vaadin.flow.component.page.Page source, String uriFragment) Creates a new instance of UriFragmentReader change event. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.page.PagegetPage()Gets the page in which the fragment has changed.Get the new URI fragmentMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
UriFragmentChangedEvent
Creates a new instance of UriFragmentReader change event.- Parameters:
source- the Source of the event.uriFragment- the new uriFragment
-
-
Method Details
-
getPage
public com.vaadin.flow.component.page.Page getPage()Gets the page in which the fragment has changed.- Returns:
- the page in which the fragment has changed
-
getUriFragment
Get the new URI fragment- Returns:
- the new fragment
-