Package | Description |
---|---|
_global_ |
The global namespace in JavaScript (i.e., the
window object). |
zk |
ZK JavaScript extension and utilities
|
Modifier and Type | Method and Description |
---|---|
static Desktop |
zk.stateless(String dtid,
String contextURI,
String updateURI,
String reqURI)
Declares the desktop is used for the stateless context.
|
Modifier and Type | Method and Description |
---|---|
static void |
zAu.addAuRequest(Desktop dt,
Event aureq)
Add the AU request to the ajax queue.
|
void |
jq.after(java.lang.Object content,
Desktop desktop)
Insert content after each of the matched elements.
|
void |
jq.append(java.lang.Object content,
Desktop desktop)
Append content to inside of every matched element.
|
void |
jq.before(java.lang.Object content,
Desktop desktop)
Insert content before each of the matched elements.
|
static String |
zAu.beforeSend(String uri,
Event aureq,
Desktop dt)
Called before sending an AU request.
|
static String |
zAu.encode(int j,
Event aureq,
Desktop dt)
Returns the content to send to the server.
|
static Array |
zAu.getAuRequests(Desktop dt)
Returns all pending AU requests.
|
static boolean |
zk.load(String pkg,
Desktop dt,
Function func)
Loads the specified package(s).
|
void |
jq.prepend(java.lang.Object content,
Desktop desktop)
Prepend content to the inside of every matched element.
|
jq |
jq.replaceWith(Widget widget,
Desktop desktop,
Skipper skipper)
Replaces the match elements with the specified HTML, DOM or
Widget . |
static boolean |
zAu.sendNow(Desktop dt)
Enforces all pending AU requests of the specified desktop to send immediately
|
Modifier and Type | Field and Description |
---|---|
Desktop |
Widget.desktop
The desktop that this widget belongs to (readonly).
|
Modifier and Type | Method and Description |
---|---|
static Desktop |
Desktop.$(Object o)
Returns the desktop of the specified desktop ID, widget, widget UUID, or DOM element.
|
static Desktop |
Desktop.sync(int timeout)
Checks if any desktop becomes invalid, and removes the invalid desktops.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Widget.bind_(Desktop dt,
Skipper skipper,
Array after,
boolean bindSelfOnly)
Callback when this widget is bound (aka., attached) to the DOM tree.
|
Widget |
Widget.bind(Desktop desktop,
Skipper skipper,
boolean bindSelfOnly)
Binds this widget.
|
protected void |
Widget.bindChildren_(Desktop dt,
Skipper skipper,
Array after)
Binds the children of this widget.
|
void |
Widget.bindMissingAncestors(Desktop desktop,
Skipper skipper)
Recursively bind ancestors that are currently unbound (i.e., `desktop` is falsy).
|
static void |
Desktop.destroy(Desktop zk)
Destroy the desktop
|
protected void |
Widget.insertChildHTML_(Widget child,
Widget before,
Desktop desktop)
Inserts the HTML content generated by the specified child widget before the reference widget (the before argument).
|
protected void |
Widget.replaceChildHTML_(Widget child,
DOMElement n,
Desktop dt,
Skipper skipper)
Replaces the DOM element(s) of the specified child widget.
|
Widget |
Widget.replaceHTML(Object n,
Desktop desktop,
Skipper skipper)
Replaces the specified DOM element with the HTML content generated this widget.
|
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.