Package | Description |
---|---|
_global_ |
The global namespace in JavaScript (i.e., the
window object). |
zk |
ZK JavaScript extension and utilities
|
zk.wgt |
Utilities to handle widgets, such as the information about widgets.
|
zkex.grid |
Additional grid related widgets, such as detail and group.
|
zkex.inp |
Additional input related widgets and utilities, such as color.
|
zkex.sel |
Additional selectable related widgets, such as listgroup.
|
zkmax.barcode | |
zkmax.barscanner | |
zkmax.layout |
Additional layout related widgets, such as portallayout and tablelayout.
|
zul.box |
The box widgets, such as hbox and vbox.
|
zul.db |
The date related widgets, such as datebox and calendar.
|
zul.grid | |
zul.inp |
The input related widgets, such as textbox and combobox.
|
zul.sel |
The selectable widgets, such as listbox and tree.
|
zul.wgt |
The basic widgets, such as button and div.
|
Modifier and Type | Class and Description |
---|---|
class |
Offset
An offset is a two-element array, where the first element is the X coordinate, and the second the Y coordinate.
|
class |
Size
A size is a two-element array, where the first element is the width, and the second the height.
|
Modifier and Type | Method and Description |
---|---|
static Array |
jq.$$(String id,
String subId)
Returns an array of
DOMElement that matches. |
Array |
Array.$clone()
Clones this array.
|
Array |
jqzk.detachChildren()
Detaches all child elements and return them as an array.
|
static Array |
zUtl.frames(Window w)
Returns all descendant frames of the given window.
|
static Array |
zAu.getAuRequests(Desktop dt)
Returns all pending AU requests.
|
Array |
jqzk.getSelectionRange()
Returns the selection range of the specified input-type element.
|
Modifier and Type | Method and Description |
---|---|
void |
Array.$addAll(Array ary)
Adds all elements of the given array to this array.
|
static void |
zAu.createWidgets(Array codes,
Function fn,
Function filter)
Creates widgets based on an array of JavaScritp codes generated by
Component.redraw() at the server.
|
jqzk |
jqzk.defaultAnimaOpts(Widget wgt,
Map opts,
Array prop,
boolean visible)
Initializes the animation with the default effect, such as
firing the onSize watch.
|
static void |
zAu.doCmds(String dtid,
Array rs)
Process the specified commands.
|
static Map |
jq.filterTextStyle(Map styles,
Array plus)
Returns the text-relevant style of the specified styles
(same as HTMLs.getTextRelevantStyle in Java).
|
static String |
jq.filterTextStyle(String style,
Array plus)
Returns the text-relevant style of the specified style
(same as HTMLs.getTextRelevantStyle in Java).
|
static java.lang.Object |
zk.set(java.lang.Object dst,
java.lang.Object src,
Array props,
boolean ignoreUndefined)
Sets the given properties from one object to another.
|
static void |
zk.setHost(String host,
String resURI,
Array pkgs)
Defines the URL of the host for serving the specified packages.
|
int |
jqzk.sumStyles(String areas,
Array styles)
Returns the summation of the specified styles.
|
Modifier and Type | Field and Description |
---|---|
static Array |
Page.contained
An array of contained pages (i.e., a standalone ZK page but included by other technology).
|
Modifier and Type | Method and Description |
---|---|
static Array |
Widget.getElementsById(String id)
Returns all elements with the given ID.
|
static Array |
Widget.getElementsByName(String name)
Returns all elements with the given widget name.
|
Modifier and Type | Method and Description |
---|---|
Object |
Object.$supers(Class klass,
String mtd,
Array args)
Invokes a method defined in the superclass with an array of arguments.
|
Object |
Object.$supers(String mtd,
Array args)
Invokes a method defined in the superclass with an array of arguments.
|
protected void |
Widget.bind_(Desktop dt,
Skipper skipper,
Array after,
boolean bindSelfOnly)
Callback when this widget is bound (aka., attached) to the DOM tree.
|
protected void |
Widget.bindChildren_(Desktop dt,
Skipper skipper,
Array after)
Binds the children of this widget.
|
void |
Service.command(String command,
Array args,
Map opts,
int timeout)
Post a command to the service
|
protected void |
Widget.deferRedraw_(Array out)
Utilities for handling the so-called render defer (
Widget.setRenderdefer(int) ). |
protected void |
Widget.deferRedrawHTML_(Array out)
Renders a fake DOM element that will replace with the correct element after
the deferring time is up.
|
void |
Widget.redraw(Array out)
Generates the HTML fragment for this widget.
|
void |
Page.redraw(Array out)
Generates the HTML fragment for this macro component.
|
void |
Macro.redraw(Array out)
Generates the HTML fragment for this macro component.
|
protected void |
Widget.removeHTML_(Array n)
Removes the HTML DOM content.
|
protected void |
Widget.replaceCavedChildren_(String subId,
Array wgts,
String tagBeg,
String tagEnd)
Replaced the child widgets with the specified widgets.
|
void |
AuCmd1.setAttrs(Widget wgt,
Array attrs)
Sets the attributes of a widget.
|
Widget |
Widget.setChildren(Array children)
Appends an array of children.
|
void |
Widget.setListener(Array inf)
Sets a listener that can be unlistened easily.
|
protected void |
Widget.unbind_(Skipper skipper,
Array after,
boolean keepRod)
Callback when a widget is unbound (aka., detached) from the DOM tree.
|
protected void |
Widget.unbindChildren_(Skipper skipper,
Array after,
boolean keepRod)
Unbinds the children of this widget.
|
Modifier and Type | Method and Description |
---|---|
static void |
WidgetInfo.register(Array infs)
Registers an arry of widget information.
|
Modifier and Type | Method and Description |
---|---|
Array |
Group.getItems()
Returns a Array of all
Row are grouped by this group. |
Modifier and Type | Method and Description |
---|---|
Array |
Color.getRGB()
Returns a color Array in [R,G,B] format, R,G,B are integer
|
Modifier and Type | Method and Description |
---|---|
Array |
Listgroup.getItems()
Returns a list of all
Listitem are grouped by this listgroup. |
Modifier and Type | Method and Description |
---|---|
static void |
Barcode.registerLibrary(Function execFunc,
String libname,
Array types)
A method that register the barcode rendering library.
|
Modifier and Type | Method and Description |
---|---|
static void |
Barcodescanner.registerLibrary(java.lang.Object constructor,
String libname,
Array types)
A method that to register the library into the widget at class level.
|
Modifier and Type | Method and Description |
---|---|
Array |
Portallayout.getPosition(Panel panel)
Returns an int array[col, row] that indicates the specified panel located
within this portal layout.
|
Modifier and Type | Method and Description |
---|---|
protected String |
Layout.encloseChildHTML_(Widget child,
Array out)
Enclose child with HTML tag such as DIV,
and return a HTML code or add HTML fragments in out array.
|
protected String |
Box.encloseChildHTML_(Widget child,
boolean prefixSpace,
Array out)
Enclose child with HTML tag such as TR or TD,
and return a HTML code or add HTML fragments in out array.
|
Modifier and Type | Method and Description |
---|---|
Array |
Datebox.getDisplayedTimeZones()
Returns a list of the time zones that will be displayed at the
client and allow user to select.
|
Modifier and Type | Method and Description |
---|---|
static void |
Renderer.dayView(Calendar wgt,
Array out,
Map localizedSymbols)
Renderer the dayView for this calendar
|
static void |
Renderer.decadeView(Calendar wgt,
Array out,
Map localizedSymbols)
Renderer the decadeView for this calendar
|
static void |
Renderer.monthView(Calendar wgt,
Array out,
Map localizedSymbols)
Renderer the monthView for this calendar
|
static void |
Renderer.titleHTML(Calendar wgt,
Array out,
Map localizedSymbols)
Generates the title of the content HTML.
|
static void |
Renderer.todayView(Calendar wgt,
Array out,
Map localizedSymbols)
Renderer the today link for this calendar
|
static void |
Renderer.yearView(Calendar wgt,
Array out,
Map localizedSymbols)
Renderer the yearView for this calendar
|
Modifier and Type | Method and Description |
---|---|
Array |
Rows.getGroups()
Returns a list of all
Group . |
Modifier and Type | Method and Description |
---|---|
protected void |
Grid.redrawEmpty_(Array out)
a redraw method for the empty message , if you want to customize the message ,
you could overwrite this.
|
Modifier and Type | Method and Description |
---|---|
protected Array |
ComboWidget.getPopupSize_()
Returns [width, height] for the popup if specified by user.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ComboWidget.redraw_(Array out)
Utility to implement
Widget.redraw(_global_.Array) . |
protected void |
ComboWidget.redrawpp_(Array out)
Called by
ComboWidget.redraw_(_global_.Array) to redraw popup. |
Modifier and Type | Method and Description |
---|---|
Array |
Listbox.getGroups()
Returns a list of all
Listgroup . |
Array |
Select.getGroups()
Returns a list of all
Optgroup . |
Array |
Tree.getItems()
Returns a readonly list of all descending
Treeitem
(children's children and so on). |
Array |
Treechildren.getItems(Array items)
Returns a readonly list of all descending
Treeitem
(children's children and so on). |
Array |
SelectWidget.getSelectedItems()
Returns all selected items.
|
Modifier and Type | Method and Description |
---|---|
Array |
Treechildren.getItems(Array items)
Returns a readonly list of all descending
Treeitem
(children's children and so on). |
protected void |
Listbox.redrawEmpty_(Array out)
A redraw method for the empty message , if you want to customize the message ,
you could overwrite this.
|
Modifier and Type | Method and Description |
---|---|
Array |
Radiogroup.getItems()
Returns the all of radio buttons in this group.
|
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.