Class PopStateEvent

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
All Implemented Interfaces:
Serializable, 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:
  • Field Details

    • state_

      private Object state_
  • Constructor Details

    • PopStateEvent

      public PopStateEvent()
      Default constructor.
    • PopStateEvent

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

    • jsConstructor

      public void jsConstructor(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 Object getState()
      Return the state object.
      Returns:
      the state object
    • put

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