com.gargoylesoftware.htmlunit.javascript.host
Class History

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
          extended by com.gargoylesoftware.htmlunit.javascript.host.History
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class History
extends SimpleScriptable

A javascript object for a Screen

Version:
$Revision: 1.3 $
Author:
Mike Bowler, Chris Erskine
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
History()
 Create an instance.
 
Method Summary
 void jsxFunction_back()
 javascript function "back".
 void jsxFunction_forward()
 javascript function "forward".
 void jsxFunction_go(java.lang.String relativeUrl)
 javascript function "go".
 int jsxGet_length()
 Return the "length" property.
 
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setDomNode, setHtmlElement
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

History

public History()
Create an instance. Javascript objects must have a default constructor.

Method Detail

jsxFunction_back

public void jsxFunction_back()
javascript function "back". Currently not implemented


jsxFunction_forward

public void jsxFunction_forward()
javascript function "forward". Currently not implemented


jsxFunction_go

public void jsxFunction_go(java.lang.String relativeUrl)
javascript function "go". Currently not implemented

Parameters:
relativeUrl - The relative url

jsxGet_length

public int jsxGet_length()
Return the "length" property. Currently hardcoded to return 0;

Returns:
the "length" property


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.