Interface WindowFunctions
- All Superinterfaces:
JS5ObjectFunctions,JSObjectFunctions
- All Known Implementing Classes:
Window
-
Method Summary
Modifier and TypeMethodDescriptionvoidfunction alert() Displays an alert box with a message and an OK buttonfunction atob(arg) The atob() method of window object decodes a string of data which has been encoded using base-64 encoding.voidback()voidblur()function blur() Removes focus from the current windowfunction btoa(arg) The btoa() method of window object is used to convert a given string to an encoded data (using base-64 encoding) string.voidcaptureEvents(JSObject arg1) voidclearInterval(JS5Object arg) function clearInterval(arg) Clears a timer set with setInterval()voidclearTimeout(JS5Object arg) function clearTimeout(arg) Clears a timer set with setTimeout()voidclose()function close() Closes the current windowfunction confirm() Displays a dialog box with a message and an OK and a Cancel buttonvoidvoidvoidfind()voidfocus()function focus() Sets focus to the current windowvoidforward()getComputedStyle(Element arg1, JSString arg2) function getComputedStyle(arg1, arg2)voidhome()voidfunction moveBy(arg1, arg2) Moves a window relative to its current positionvoidfunction moveTo(arg1, arg2) Moves a window to the specified positionfunction open(URL, name, specs, replace) Opens a new browser windowvoidprint()function print() Prints the content of the current windowprompt()function prompt(arg1, arg2) Displays a dialog box that prompts the visitor for inputvoidreleaseEvents(JSObject arg1) voidfunction resizeBy(arg1, arg2) Resizes the window by the specified pixelsvoidfunction resizeTo(arg1, arg2) Resizes the window to the specified width and heightvoidrouteEvent(JSObject arg1) voidvoidfunction scrollBy(arg1, arg2) Scrolls the content by the specified number of pixelsvoidfunction scrollTo(arg1, arg2) Scrolls the content to the specified coordinatessetInterval(JSObject arg1, JSNumber arg2) function setInterval(arg1, arg2) Calls a function or evaluates an expression at specified intervals (in milliseconds)voidsetResizable(JSBoolean arg) function setResizable(arg)setTimeout(JSObject arg1, JSNumber arg2) function setTimeout(arg1, arg2) Calls a function or evaluates an expression after a specified number of millisecondsvoidstop()Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOf
-
Method Details
-
alert
function alert() Displays an alert box with a message and an OK button- Parameters:
arg-
-
blur
void blur()function blur() Removes focus from the current window -
clearInterval
function clearInterval(arg) Clears a timer set with setInterval()- Parameters:
arg-
-
clearTimeout
function clearTimeout(arg) Clears a timer set with setTimeout()- Parameters:
arg-
-
close
void close()function close() Closes the current window -
confirm
function confirm() Displays a dialog box with a message and an OK and a Cancel button- Parameters:
arg-
-
focus
void focus()function focus() Sets focus to the current window -
getComputedStyle
function getComputedStyle(arg1, arg2)- Parameters:
arg1-arg2-
-
moveTo
function moveTo(arg1, arg2) Moves a window to the specified position- Parameters:
arg1-arg2-
-
moveBy
function moveBy(arg1, arg2) Moves a window relative to its current position- Parameters:
arg1-arg2-
-
open
function open(URL, name, specs, replace) Opens a new browser window- Parameters:
URL-name-specs-replace-
-
print
void print()function print() Prints the content of the current window -
prompt
JSString prompt()function prompt(arg1, arg2) Displays a dialog box that prompts the visitor for input -
resizeTo
function resizeTo(arg1, arg2) Resizes the window to the specified width and height- Parameters:
arg1-arg2-
-
resizeBy
function resizeBy(arg1, arg2) Resizes the window by the specified pixels- Parameters:
arg1-arg2-
-
scrollTo
function scrollTo(arg1, arg2) Scrolls the content to the specified coordinates- Parameters:
arg1-arg2-
-
scrollBy
function scrollBy(arg1, arg2) Scrolls the content by the specified number of pixels- Parameters:
arg1-arg2-
-
setInterval
function setInterval(arg1, arg2) Calls a function or evaluates an expression at specified intervals (in milliseconds)- Parameters:
arg1-arg2-
-
setTimeout
function setTimeout(arg1, arg2) Calls a function or evaluates an expression after a specified number of milliseconds- Parameters:
arg1-arg2-
-
atob
function atob(arg) The atob() method of window object decodes a string of data which has been encoded using base-64 encoding. For example, the window.btoa method takes a binary string as a parameter and returns a base-64 encoded string.- Parameters:
arg-
-
btoa
function btoa(arg) The btoa() method of window object is used to convert a given string to an encoded data (using base-64 encoding) string.- Parameters:
arg-
-
setResizable
function setResizable(arg)- Parameters:
arg-
-
captureEvents
-
releaseEvents
-
routeEvent
-
enableExternalCapture
void enableExternalCapture() -
disableExternalCapture
void disableExternalCapture() -
find
void find() -
back
void back() -
forward
void forward() -
home
void home() -
stop
void stop() -
scroll
-