Class HistoryPopStateEvent

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • HistoryPopStateEvent

        public HistoryPopStateEvent​(java.lang.String name,
                                    java.lang.Object state)
      • HistoryPopStateEvent

        public HistoryPopStateEvent​(java.lang.String name,
                                    java.lang.Object state,
                                    java.lang.String url)
    • Method Detail

      • getHistoryPopStateEvent

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

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

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