Package org.zkoss.zk.ui.event
Class HistoryPopStateEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.HistoryPopStateEvent
- All Implemented Interfaces:
Serializable
The history pop state event used with
onHistoryPopState
to notify that user pressed BACK, FORWARD or others
that causes the history changed (but still in the same desktop).
All root components of all pages of the desktop will receives this event.
- Since:
- 8.5.0
- Author:
- rudyhuang
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHistoryPopStateEvent(String name, Object state) HistoryPopStateEvent(String name, Object state, String url) -
Method Summary
Modifier and TypeMethodDescriptionstatic HistoryPopStateEventgetHistoryPopStateEvent(AuRequest request) Converts an AU request to a history pop state event.getState()Returns the state object.getUrl()Returns the URL.Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
HistoryPopStateEvent
-
HistoryPopStateEvent
-
-
Method Details
-
getHistoryPopStateEvent
Converts an AU request to a history pop state event. -
getState
Returns the state object.- Returns:
- the state object.
-
getUrl
Returns the URL.- Returns:
- the URL.
-