Class PopStateEvent

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class PopStateEvent
    extends Event
    A JavaScript object for PopStateEvent.
    See Also:
    Serialized Form
    • Field Detail

      • state_

        private java.lang.Object state_
    • Constructor Detail

      • PopStateEvent

        public PopStateEvent()
        Default constructor.
      • PopStateEvent

        public PopStateEvent​(EventTarget target,
                             java.lang.String type,
                             java.lang.Object state)
        Creates a new event instance.
        Parameters:
        target - the event target
        type - the event type
        state - the state object
    • Method Detail

      • jsConstructor

        public void jsConstructor​(java.lang.String type,
                                  org.htmlunit.corejs.javascript.ScriptableObject details)
        JavaScript constructor.
        Overrides:
        jsConstructor in class Event
        Parameters:
        type - the event type
        details - the event details (optional)
      • getState

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

        public void put​(java.lang.String name,
                        org.htmlunit.corejs.javascript.Scriptable start,
                        java.lang.Object value)
        Specified by:
        put in interface org.htmlunit.corejs.javascript.Scriptable
        Overrides:
        put in class HtmlUnitScriptable