Class LocationChangeEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.tabbedmode.event.LocationChangeEvent
All Implemented Interfaces:
Serializable

public class LocationChangeEvent extends org.springframework.context.ApplicationEvent
The event that is fired each time the location changes by RouteSupport bean.

The event can be handled only in View controllers of the active UI.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.vaadin.flow.router.Location
     

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocationChangeEvent(com.vaadin.flow.component.UI source, com.vaadin.flow.router.Location location)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.router.Location
    Returns the location associated with the event.
    com.vaadin.flow.component.UI
     

    Methods inherited from class org.springframework.context.ApplicationEvent

    getTimestamp

    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
  • Field Details

    • location

      protected final com.vaadin.flow.router.Location location
  • Constructor Details

    • LocationChangeEvent

      public LocationChangeEvent(com.vaadin.flow.component.UI source, com.vaadin.flow.router.Location location)
  • Method Details

    • getSource

      public com.vaadin.flow.component.UI getSource()
      Overrides:
      getSource in class EventObject
    • getLocation

      public com.vaadin.flow.router.Location getLocation()
      Returns the location associated with the event.
      Returns:
      the location that triggered the event