Package | Description |
---|---|
_global_ |
The global namespace in JavaScript (i.e., the
window object). |
jq |
DOM event object and utilities
|
zk |
ZK JavaScript extension and utilities
|
zk.canvas |
Canvas - 2D command-based drawing.
|
zk.eff |
The effects, such as mask and shadow.
|
zk.xml |
XML utilities.
|
zkbind | |
zul |
The container related widgets, such as window, groupbox, tabpanel, panelchildren.
|
zul.inp |
The input related widgets, such as textbox and combobox.
|
zul.mesh |
The two-dimensional mesh related widgets.
|
zul.wgt |
The basic widgets, such as button and div.
|
Modifier and Type | Method and Description |
---|---|
static DOMElement |
jq.head()
Returns the head element of this document.
|
static DOMElement |
jq.newFrame(String id,
String src,
String style)
Creates an IFRAME element with the specified ID, src and style.
|
static DOMElement |
jq.newHidden(String name,
String value,
DOMElement parent)
Creates a HIDDEN element
|
static DOMElement |
jq.newStackup(DOMElement el,
String id,
DOMElement anchor)
Creates a 'stackup' (actually, an iframe) that makes an element
(with position:absolute) shown above others.
|
DOMElement |
jqzk.vparentNode(boolean real)
Returns the virtual parent of the first matched element.
|
Modifier and Type | Method and Description |
---|---|
static String |
jq.css(DOMElement elem,
String name,
String extra)
An override function that provide a way to get the style value where is
defined in the CSS file or the style object, rather than the computed value.
|
static boolean |
jq.isAncestor(DOMElement p,
DOMElement c)
Tests if one element (p) is an ancestor of another (c).
|
boolean |
jqzk.isOverlapped(DOMElement el,
int the)
Tests if the first matched element is overlapped with the specified
element.
|
static DOMElement |
jq.newHidden(String name,
String value,
DOMElement parent)
Creates a HIDDEN element
|
static DOMElement |
jq.newStackup(DOMElement el,
String id,
DOMElement anchor)
Creates a 'stackup' (actually, an iframe) that makes an element
(with position:absolute) shown above others.
|
static String |
jq.nodeName(DOMElement el)
Returns the node name of the specified element in the lower case.
|
static boolean |
jq.nodeName(DOMElement el,
String tag1)
Returns if the node name of the specified element is the same
as one of the specified name (case insensitive).
|
jqzk |
jqzk.position(DOMElement dim,
String where,
Map opts)
Position the first matched element to the specified location.
|
jqzk |
jqzk.scrollIntoView(DOMElement parent)
Causes the first matched element to scroll into view.
|
Modifier and Type | Method and Description |
---|---|
static void |
Event.fire(DOMElement el,
String evtnm)
Fires a DOM element.
|
Modifier and Type | Field and Description |
---|---|
DOMElement |
Event.domTarget
The DOM element that the event is targeting, or null if not available.
|
DOMElement |
Draggable.handle
The DOM element that represents the handle that the user can
drag the whole element (
Draggable.node . |
DOMElement |
Draggable.node
The DOM element that is draggable (the whole element).
|
Modifier and Type | Method and Description |
---|---|
DOMElement |
Widget.$n()
Returns the DOM element that this widget is bound to.
|
DOMElement |
Widget.$n(String subId)
Returns the child element of the DOM element(s) that this widget is bound to.
|
protected DOMElement |
Widget.cloneDrag_(Draggable drag,
Offset ofs)
Called to create the visual effect representing what is being dragged.
|
DOMElement |
Widget.getCaveNode()
Called by
Widget.insertChildHTML_(zk.Widget, zk.Widget, zk.Desktop) to find the location to place the DOM element of the child. |
DOMElement |
Widget.getDragNode()
Returns the DOM element of this widget that can be dragged.
|
protected DOMElement |
Widget.getFirstNode_()
Returns the first DOM element of this widget.
|
DOMElement |
Widget.getTextNode()
Returns the DOM element that is used to hold the text, or null
if this widget doesn't show any text.
|
static DOMElement |
DnD.ghost(Draggable drag,
Offset ofs,
String msg)
Ghost the DOM element being dragged.
|
DOMElement |
Skipper.skip(Widget wgt,
String skipId)
Skips all or subset of the descendant (child) widgets of the specified widget.
|
Modifier and Type | Method and Description |
---|---|
void |
Draggable.$init(Object control,
DOMElement node,
Map opts)
Constructor.
|
void |
Swipe.$init(Object widget,
DOMElement node,
Map opts)
The Constructor.
|
protected Widget |
Widget.domListen_(DOMElement node,
String evtnm,
Object fn,
String keyword)
Registers an DOM event listener for the specified DOM element (aka., node).
|
protected Widget |
Widget.domUnlisten_(DOMElement node,
String evtnm,
Object fn,
String keyword)
Un-registers an event listener for the specified DOM element (aka., node).
|
protected void |
Widget.getFloatZIndex_(DOMElement node)
Returns the z-index of a floating widget.
|
protected void |
Widget.getOldWidget_(DOMElement n)
Returns the widget associated with the given node element.
|
protected void |
Widget.replaceChildHTML_(Widget child,
DOMElement n,
Desktop dt,
Skipper skipper)
Replaces the DOM element(s) of the specified child widget.
|
protected void |
Widget.setDomVisible_(DOMElement n,
boolean visible,
Map opts)
Changes the visibility of a child DOM content of this widget.
|
protected void |
Widget.setFloatZIndex_(DOMElement node,
int zi)
Sets the z-index for a floating widget.
|
Modifier and Type | Method and Description |
---|---|
static DOMElement |
Canvas.create(int width,
int height)
Creates a canvas element.
|
Modifier and Type | Method and Description |
---|---|
void |
KeyboardTrap.$init(DOMElement area)
The constructor.
|
static void |
Actions.slideDown(DOMElement n,
Map opts)
Slides down to display this widget.
|
static void |
Actions.slideIn(DOMElement n,
Map opts)
Slides in to display this widget.
|
static void |
Actions.slideOut(DOMElement n,
Map opts)
Slides out to hide this widget.
|
static void |
Actions.slideUp(DOMElement n,
Map opts)
Slides up to hide this widget.
|
Modifier and Type | Method and Description |
---|---|
static DOMElement |
Utl.loadXML(String url,
Function callback)
Loads XML from the resource at the specified URL.
|
static DOMElement |
Utl.parseXML(String text)
Parses and returns the XML document from the specified text.
|
Modifier and Type | Method and Description |
---|---|
static String |
Utl.getElementValue(DOMElement el)
Returns the concatenation of the text nodes under the specified
DOM element.
|
Modifier and Type | Method and Description |
---|---|
static void |
Binder.postCommand(DOMElement dom,
String command,
Map args,
Map opts,
int timeout)
Post a command to the binder from the give dom element.
|
static void |
Binder.postGlobalCommand(DOMElement dom,
String command,
Map args,
int timeout)
Post a global command from the binder of the give dom element.
|
Modifier and Type | Field and Description |
---|---|
DOMElement |
Scrollbar.cave
The container object for this scrolling that user can scroll the whole content
|
DOMElement |
WScroll.control
The control object for this scrolling that user can scroll the whole content
|
DOMElement |
Scrollbar.scroller
The content inside container object that will be scrolled.
|
Modifier and Type | Method and Description |
---|---|
DOMElement |
LabelImageWidget.getImageNode()
Returns the image node if any.
|
Modifier and Type | Method and Description |
---|---|
void |
Uploader.$init(Upload upload,
String id,
DOMElement form,
String flnm)
Constructor
|
void |
Upload.$init(Widget wgt,
DOMElement parent,
String option)
Constructor
|
Modifier and Type | Method and Description |
---|---|
DOMElement |
InputWidget.getInputNode()
Returns the input node of this widget
|
protected DOMElement |
ComboWidget.getPopupNode_(boolean inner)
Returns the DOM element of the popup.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ComboWidget.slideDown_(DOMElement pp)
Slides down the drop-down list.
|
protected void |
ComboWidget.slideUp_(DOMElement pp)
Slides up the drop-down list.
|
Modifier and Type | Method and Description |
---|---|
int |
MeshWidget.getFocusCell(DOMElement el)
Returns the index of the cell including the child got focus.
|
static void |
Paging.go(DOMElement anc,
int pagenumber)
Goes to the active page according to the page number.
|
Modifier and Type | Method and Description |
---|---|
DOMElement |
Image.getImageNode()
Returns the image node if any.
|
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.