public class PopStateEvent extends Event
PopStateEvent.ALT_MASK, AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE, CONTROL_MASK, KEY_CURRENT_EVENT, META_MASK, NONE, SHIFT_MASK, TYPE_BEFORE_UNLOAD, TYPE_BLUR, TYPE_CHANGE, TYPE_CLOSE, TYPE_DOM_DOCUMENT_LOADED, TYPE_ERROR, TYPE_FOCUS, TYPE_FOCUS_IN, TYPE_FOCUS_OUT, TYPE_HASH_CHANGE, TYPE_INPUT, TYPE_KEY_DOWN, TYPE_KEY_PRESS, TYPE_KEY_UP, TYPE_LOAD, TYPE_MESSAGE, TYPE_OPEN, TYPE_POPSTATE, TYPE_PROPERTY_CHANGE, TYPE_READY_STATE_CHANGE, TYPE_RESET, TYPE_SUBMIT, TYPE_UNLOAD| Constructor and Description |
|---|
PopStateEvent()
Default constructor.
|
PopStateEvent(EventTarget target,
String type,
Object state)
Creates a new event instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getState()
Return the state object.
|
void |
initPopStateEvent(String type,
boolean bubbles,
boolean cancelable,
Object state)
Initializes this event.
|
void |
jsConstructor(String type,
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject details)
JavaScript constructor.
|
void |
put(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start,
Object value) |
createPropertyChangeEvent, endFire, eventCreated, getCurrentTarget, getEventPhase, getKeyCode, getPropertyName, getReturnValue, getSrcElement, getTarget, getTimeStamp, getType, initEvent, isAborted, isAltKey, isBubbles, isCancelable, isCancelBubble, isCtrlKey, isDefaultPrevented, isImmediatePropagationStopped, isPropagationStopped, isShiftKey, preventDefault, processLabelAfterBubbling, setAltKey, setBubbles, setCancelable, setCancelBubble, setCtrlKey, setCurrentTarget, setEventPhase, setEventType, setKeyCode, setReturnValue, setShiftKey, setSrcElement, setTarget, setType, startFire, stopImmediatePropagation, stopPropagation, toStringclone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElementdefineFunctionProperties, defineProperty, getClassName, setClassName, setParentScopeapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isReadOnlySettable, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, sizepublic PopStateEvent()
public PopStateEvent(EventTarget target, String type, Object state)
target - the event targettype - the event typestate - the state objectpublic void jsConstructor(String type, net.sourceforge.htmlunit.corejs.javascript.ScriptableObject details)
jsConstructor in class Eventtype - the event typedetails - the event details (optional)public void initPopStateEvent(String type, boolean bubbles, boolean cancelable, Object state)
type - the event typebubbles - whether or not the event should bubblecancelable - whether or not the event the event should be cancelablestate - the statepublic Object getState()
public void put(String name, net.sourceforge.htmlunit.corejs.javascript.Scriptable start, Object value)
put in interface net.sourceforge.htmlunit.corejs.javascript.Scriptableput in class HtmlUnitScriptableCopyright © 2002–2020 Gargoyle Software Inc.. All rights reserved.