Package | Description |
---|---|
_global_ |
The global namespace in JavaScript (i.e., the
window object). |
zk |
ZK JavaScript extension and utilities
|
zkmax.layout |
Additional layout related widgets, such as portallayout and tablelayout.
|
zul.box |
The box widgets, such as hbox and vbox.
|
zul.inp |
The input related widgets, such as textbox and combobox.
|
zul.wgt |
The basic widgets, such as button and div.
|
Modifier and Type | Field and Description |
---|---|
static Offset |
zk.clickPointer
The last position that the mouse was clicked (including left and right clicks).
|
static Offset |
zk.currentPointer
The position of the mouse (including mouse move and click).
|
Modifier and Type | Method and Description |
---|---|
Offset |
jqzk.cmOffset()
Returns the cumulative offset of the first matched element from the top left corner of the document.
|
Offset |
jqzk.revisedOffset()
Returns the revised (i.e., browser's coordinate) offset of the selected
element.
|
Offset |
jqzk.revisedOffset(Offset ofs)
Converts the specified offset in the element's coordinate to
to the browser window's coordinateReturns the revised (calibrated) offset, i.e., the offset of the element
related to the screen.
|
Offset |
jqzk.scrollOffset()
Calculates the cumulative scroll offset of the first matched element in nested scrolling containers.
|
Offset |
jqzk.toStyleOffset(int x,
int y)
Converts an offset (x,y) from absolute coordination to the element's style coordination, such that you can assign them to the style (el.style).
|
Offset |
jqzk.viewportOffset()
Returns the X/Y coordinates of the first matched element relative to the viewport.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
jq.isOverlapped(Offset ofs1,
Offset dim1,
Offset ofs2,
Offset dim2)
Returns if the specified rectangles are overlapped with each other.
|
static boolean |
jq.isOverlapped(Offset ofs1,
Offset dim1,
Offset ofs2,
Offset dim2,
int the)
Returns if the specified rectangles are overlapped with each other.
|
Offset |
jqzk.revisedOffset(Offset ofs)
Converts the specified offset in the element's coordinate to
to the browser window's coordinateReturns the revised (calibrated) offset, i.e., the offset of the element
related to the screen.
|
Modifier and Type | Method and Description |
---|---|
Offset |
Widget.fromPageCoord(int x,
int y)
Converts a coordinate related to the browser window into the coordinate
related to this widget.
|
protected Offset |
Draggable.snap_(Offset ofs)
Snaps the dragging position.
|
Modifier and Type | Method and Description |
---|---|
protected DOMElement |
Widget.cloneDrag_(Draggable drag,
Offset ofs)
Called to create the visual effect representing what is being dragged.
|
static Widget |
DnD.getDrop(Draggable drag,
Offset pt,
Event evt)
Returns the widget to drop to.
|
static DOMElement |
DnD.ghost(Draggable drag,
Offset ofs,
String msg)
Ghost the DOM element being dragged.
|
void |
AuCmd0.showNotification(String msg,
String type,
String pid,
String ref,
String pos,
Offset off,
int dur,
boolean closable)
Shows a notification popup.
|
protected Offset |
Draggable.snap_(Offset ofs)
Snaps the dragging position.
|
Modifier and Type | Method and Description |
---|---|
void |
Splitlayout.setOpen(boolean open,
Offset opts)
Opens or collapses the splitter.
|
Modifier and Type | Method and Description |
---|---|
void |
Splitter.setOpen(boolean open,
Offset opts)
Opens or collapses the splitter.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
InputCtrl.isIgnoredDragForErrorbox(Draggable dg,
Offset pointer,
Event evt)
Returns whether to ignore the dragdrop for errorbox
|
Modifier and Type | Method and Description |
---|---|
void |
Popup.open(String ref,
Offset offset,
String position,
Map opts)
Opens the popup.
|
void |
Popup.open(Widget ref,
Offset offset,
String position,
Map opts)
Opens the popup.
|
void |
Popup.position(Widget ref,
Offset offset,
String position,
Map opts)
Sets the popup position.
|
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.