Interface LocationFunctions
-
- All Superinterfaces:
JS5ObjectFunctions,JSObjectFunctions
- All Known Implementing Classes:
Location
public interface LocationFunctions extends JS5ObjectFunctions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassign(JSString newURL)function assign(newURL) method loads a new documentvoidreload(JSBoolean optionalArg)function reload(optionalArg) - Reload the current documentvoidreplace(JSString newUrl)function replace(newURL) - method replaces the current document with a new one-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf
-
-
-
-
Method Detail
-
assign
void assign(JSString newURL)
function assign(newURL) method loads a new document- Parameters:
newURL-
-
reload
void reload(JSBoolean optionalArg)
function reload(optionalArg) - Reload the current document- Parameters:
optionalArg- - default false which reloads the page from the cache. Set this paramter to true if you want to force the browser to get the page from the server
-
replace
void replace(JSString newUrl)
function replace(newURL) - method replaces the current document with a new one- Parameters:
newUrl-
-
-