public interface WindowFunctions extends JS5ObjectFunctions
hasOwnProperty| Modifier and Type | Method and Description |
|---|---|
void |
alert(JSString arg)
function alert() Displays an alert box with a message and an OK button
|
JSString |
atob(JSString arg)
function atob(arg) The atob() method of window object decodes a string of data which has been encoded using base-64 encoding.
|
void |
back() |
void |
blur()
function blur() Removes focus from the current window
|
JSString |
btoa(JSString arg)
function btoa(arg) The btoa() method of window object is used to convert a given string to a encoded data (using base-64 encoding) string.
|
void |
captureEvents(JSObject arg1) |
void |
clearInterval(JS5Object arg)
function clearInterval(arg) Clears a timer set with setInterval()
|
void |
clearTimeout(JS5Object arg)
function clearTimeout(arg) Clears a timer set with setTimeout()
|
void |
close()
function close() Closes the current window
|
JSBoolean |
confirm(JSString arg)
function confirm() Displays a dialog box with a message and an OK and a Cancel button
|
void |
disableExternalCapture() |
void |
enableExternalCapture() |
void |
find() |
void |
focus()
function focus() Sets focus to the current window
|
void |
forward() |
JS5Object |
getComputedStyle(org.w3c.dom.Element arg1,
JSString arg2)
function getComputedStyle(arg1, arg2)
|
void |
home() |
void |
moveBy(JSNumber arg1,
JSNumber arg2)
function moveBy(arg1, arg2) Moves a window relative to its current position
|
void |
moveTo(JSNumber arg1,
JSNumber arg2)
function moveTo(arg1, arg2) Moves a window to the specified position
|
Window |
open(JSString URL,
JSString name,
JSString specs,
JSBoolean replace)
function open(URL, name, specs, replace) Opens a new browser window
|
void |
print()
function print() Prints the content of the current window
|
JSString |
prompt()
function prompt(arg1, arg2) Displays a dialog box that prompts the visitor for input
|
void |
releaseEvents(JSObject arg1) |
void |
resizeBy(JSNumber arg1,
JSNumber arg2)
function resizeBy(arg1, arg2) Resizes the window by the specified pixels
|
void |
resizeTo(JSNumber arg1,
JSNumber arg2)
function resizeTo(arg1, arg2) Resizes the window to the specified width and height
|
void |
routeEvent(JSObject arg1) |
void |
scroll(JSNumber arg1,
JSNumber arg2) |
void |
scrollBy(JSNumber arg1,
JSNumber arg2)
function scrollBy(arg1, arg2) Scrolls the content by the specified number of pixels
|
void |
scrollTo(JSNumber arg1,
JSNumber arg2)
function scrollTo(arg1, arg2) Scrolls the content to the specified coordinates
|
JSNumber |
setInterval(JSObject arg1,
JSNumber arg2)
function setInterval(arg1, arg2) Calls a function or evaluates an expression at specified intervals (in milliseconds)
|
void |
setResizable(JSBoolean arg)
function setResizable(arg)
|
JSNumber |
setTimeout(JSObject arg1,
JSNumber arg2)
function setTimeout(arg1, arg2) Calls a function or evaluates an expression after a specified number of milliseconds
|
void |
stop() |
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toLocaleString, toString, valueOfvoid alert(JSString arg)
arg - void blur()
void clearInterval(JS5Object arg)
arg - void clearTimeout(JS5Object arg)
arg - void close()
JSBoolean confirm(JSString arg)
arg - void focus()
JS5Object getComputedStyle(org.w3c.dom.Element arg1, JSString arg2)
arg1 - arg2 - void moveTo(JSNumber arg1, JSNumber arg2)
arg1 - arg2 - void moveBy(JSNumber arg1, JSNumber arg2)
arg1 - arg2 - Window open(JSString URL, JSString name, JSString specs, JSBoolean replace)
URL - name - specs - replace - void print()
JSString prompt()
arg1 - arg2 - void resizeTo(JSNumber arg1, JSNumber arg2)
arg1 - arg2 - void resizeBy(JSNumber arg1, JSNumber arg2)
arg1 - arg2 - void scrollTo(JSNumber arg1, JSNumber arg2)
arg1 - arg2 - void scrollBy(JSNumber arg1, JSNumber arg2)
arg1 - arg2 - JSNumber setInterval(JSObject arg1, JSNumber arg2)
arg1 - arg2 - JSNumber setTimeout(JSObject arg1, JSNumber arg2)
arg1 - arg2 - JSString atob(JSString arg)
arg - JSString btoa(JSString arg)
arg - void setResizable(JSBoolean arg)
arg - void captureEvents(JSObject arg1)
void releaseEvents(JSObject arg1)
void routeEvent(JSObject arg1)
void enableExternalCapture()
void disableExternalCapture()
void find()
void back()
void forward()
void home()
void stop()