Class HistoryPopStateEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.HistoryPopStateEvent
All Implemented Interfaces:
Serializable

public class HistoryPopStateEvent extends Event
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 Details

    • HistoryPopStateEvent

      public HistoryPopStateEvent(String name, Object state)
    • HistoryPopStateEvent

      public HistoryPopStateEvent(String name, Object state, String url)
  • Method Details

    • getHistoryPopStateEvent

      public static HistoryPopStateEvent getHistoryPopStateEvent(AuRequest request)
      Converts an AU request to a history pop state event.
    • getState

      public Object getState()
      Returns the state object.
      Returns:
      the state object.
    • getUrl

      public String getUrl()
      Returns the URL.
      Returns:
      the URL.