public class History extends SimpleScriptable
Constructor and Description |
---|
History()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
Object[] |
getIds() |
boolean |
has(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
void |
jsxFunction_back()
JavaScript function "back".
|
void |
jsxFunction_forward()
JavaScript function "forward".
|
void |
jsxFunction_go(int relativeIndex)
JavaScript function "go".
|
String |
jsxFunction_item(int index)
JavaScript function "item".
|
String |
jsxGet_current()
Returns the "current" property.
|
int |
jsxGet_length()
Returns the "length" property.
|
String |
jsxGet_next()
Returns the "next" property.
|
String |
jsxGet_previous()
Returns the "previous" property.
|
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
public History()
public Object[] getIds()
getIds
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
getIds
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public boolean has(int index, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
has
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
has
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public Object get(int index, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
get
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
get
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public int jsxGet_length()
public void jsxFunction_back()
public void jsxFunction_forward()
public void jsxFunction_go(int relativeIndex)
relativeIndex
- the relative indexpublic String jsxGet_current()
public String jsxGet_previous()
public String jsxGet_next()
public String jsxFunction_item(int index)
index
- the indexCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.