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

    Constructors
    Constructor
    Description
    UriFragmentChangedEvent(com.vaadin.flow.component.page.Page source, String uriFragment)
    Creates a new instance of UriFragmentReader change event.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.page.Page
    Gets the page in which the fragment has changed.
    Get the new URI fragment

    Methods inherited from class com.vaadin.flow.component.ComponentEvent

    getSource, getUI, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UriFragmentChangedEvent

      public UriFragmentChangedEvent(com.vaadin.flow.component.page.Page source, String uriFragment)
      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

      public String getUriFragment()
      Get the new URI fragment
      Returns:
      the new fragment