Package com.vaadin.server
Class Page.PopStateEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.server.Page.PopStateEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Page
public static class Page.PopStateEvent extends java.util.EventObjectEvent fired when the URI of aPagechanges (aka HTML 5 popstate event) on the client side due to browsers back/forward functionality.- Since:
- 8.0
- See Also:
Page.addPopStateListener(PopStateListener), Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PopStateEvent(Page source, java.lang.String uri)Creates a new instance of PopstateEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagegetPage()Gets the page in which the uri has changed.java.lang.StringgetUri()Get the new URI.
-
-
-
Constructor Detail
-
PopStateEvent
public PopStateEvent(Page source, java.lang.String uri)
Creates a new instance of PopstateEvent.- Parameters:
source- the Source of the event.uri- the new uri
-
-
Method Detail
-
getPage
public Page getPage()
Gets the page in which the uri has changed.- Returns:
- the page in which the uri has changed
-
getUri
public java.lang.String getUri()
Get the new URI.- Returns:
- the new uri
-
-