Package com.vaadin.server
Interface Page.PopStateListener
-
- All Superinterfaces:
EventListener
,Serializable
,SerializableEventListener
- Enclosing class:
- Page
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Page.PopStateListener extends SerializableEventListener
Listener that that gets notified when the URI of the page changes due to back/forward functionality of the browser.- Since:
- 8.0
- See Also:
Page.addPopStateListener(PopStateListener)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
uriChanged(Page.PopStateEvent event)
Event handler method invoked when the URI fragment of the page changes.
-
-
-
Method Detail
-
uriChanged
void uriChanged(Page.PopStateEvent event)
Event handler method invoked when the URI fragment of the page changes. Please note that the initial URI fragment has already been set when a new UI is initialized, so there will not be any initial event for listeners added duringUI.init(VaadinRequest)
.- Parameters:
event
- the URI fragment changed event- See Also:
Page.addUriFragmentChangedListener(UriFragmentChangedListener)
-
-