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.wgt |
Utilities to handle widgets, such as the information about widgets.
|
zk.xml |
XML utilities.
|
zk.zuml |
iZUML utilities.
|
zkbind | |
zkex.grid |
Additional grid related widgets, such as detail and group.
|
zkex.inp |
Additional input related widgets and utilities, such as color.
|
zkex.menu | |
zkex.pdfviewer | |
zkex.slider | |
zkmax.barcode | |
zkmax.barscanner | |
zkmax.big | |
zkmax.fusionchartz | |
zkmax.inp | |
zkmax.layout |
Additional layout related widgets, such as portallayout and tablelayout.
|
zkmax.med | |
zkmax.nav | |
zkmax.wgt | |
zul |
The container related widgets, such as window, groupbox, tabpanel, panelchildren.
|
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.layout |
The layout widgets, such as borderlayout.
|
zul.med |
The multimedia widgets, such as applet and audio.
|
zul.menu |
The menu related widgets, such as menubar and menuitem.
|
zul.mesh |
The two-dimensional mesh related widgets.
|
zul.sel |
The selectable widgets, such as listbox and tree.
|
zul.tab |
The tabbox related widgets, such as tabbox and tabpanel.
|
zul.utl |
The utility widgets, such as iframe and script.
|
zul.wgt |
The basic widgets, such as button and div.
|
zul.wnd |
The window related widgets, such as window and panel.
|
Modifier and Type | Field and Description |
---|---|
static String |
zKeys.ACCEPT
ACCEPT
|
static String |
zKeys.ADD
ADD
|
static String |
zKeys.AGAIN
AGAIN
|
static String |
zk.agent
The user agent of the browser.
|
static String |
zKeys.ALLCANDIDATES
ALLCANDIDATES
|
static String |
zKeys.ALPHANUMERIC
ALPHANUMERIC
|
static String |
zKeys.ALT
ALT
|
static String |
zKeys.ALTGRAPH
ALTGRAPH
|
static String |
zk.appName
The application's name, which will be initialized as server-side's
WebApp.getAppName() . |
static String |
zKeys.APPSWITCH
APPSWITCH
|
static String |
zKeys.ARROWDOWN
ARROWDOWN
|
static String |
zKeys.ARROWLEFT
ARROWLEFT
|
static String |
zKeys.ARROWRIGHT
ARROWRIGHT
|
static String |
zKeys.ARROWUP
ARROWUP
|
static String |
zKeys.ATTN
ATTN
|
static String |
zKeys.AUDIOBALANCELEFT
AUDIOBALANCELEFT
|
static String |
zKeys.AUDIOBALANCERIGHT
AUDIOBALANCERIGHT
|
static String |
zKeys.AUDIOBASSBOOSTDOWN
AUDIOBASSBOOSTDOWN
|
static String |
zKeys.AUDIOBASSBOOSTTOGGLE
AUDIOBASSBOOSTTOGGLE
|
static String |
zKeys.AUDIOBASSBOOSTUP
AUDIOBASSBOOSTUP
|
static String |
zKeys.AUDIOBASSDOWN
AUDIOBASSDOWN
|
static String |
zKeys.AUDIOBASSUP
AUDIOBASSUP
|
static String |
zKeys.AUDIOFADERFRONT
AUDIOFADERFRONT
|
static String |
zKeys.AUDIOFADERREAR
AUDIOFADERREAR
|
static String |
zKeys.AUDIOSURROUNDMODENEXT
AUDIOSURROUNDMODENEXT
|
static String |
zKeys.AUDIOTREBLEDOWN
AUDIOTREBLEDOWN
|
static String |
zKeys.AUDIOTREBLEUP
AUDIOTREBLEUP
|
static String |
zKeys.AUDIOVOLUMEDOWN
AUDIOVOLUMEDOWN
|
static String |
zKeys.AUDIOVOLUMEMUTE
AUDIOVOLUMEMUTE
|
static String |
zKeys.AUDIOVOLUMEUP
AUDIOVOLUMEUP
|
static String |
zKeys.BACKSPACE
BACKSPACE
|
static String |
zKeys.BRIGHTNESSDOWN
BRIGHTNESSDOWN
|
static String |
zKeys.BRIGHTNESSUP
BRIGHTNESSUP
|
static String |
zKeys.BROWSERBACK
BROWSERBACK
|
static String |
zKeys.BROWSERFAVORITES
BROWSERFAVORITES
|
static String |
zKeys.BROWSERFORWARD
BROWSERFORWARD
|
static String |
zKeys.BROWSERHOME
BROWSERHOME
|
static String |
zKeys.BROWSERREFRESH
BROWSERREFRESH
|
static String |
zKeys.BROWSERSEARCH
BROWSERSEARCH
|
static String |
zKeys.BROWSERSTOP
BROWSERSTOP
|
static String |
zk.build
The build of ZK, such as '08113021'
|
static String |
zKeys.CALL
CALL
|
static String |
zKeys.CAMERA
CAMERA
|
static String |
zKeys.CAMERAFOCUS
CAMERAFOCUS
|
static String |
zKeys.CANCEL
CANCEL
|
static String |
zKeys.CAPSLOCK
CAPSLOCK
|
static String |
zUtl.cellps0
A shortcut of
' cellpadding="0" cellspacing="0" border="0"' . |
static String |
zKeys.CHANNELDOWN
CHANNELDOWN
|
static String |
zKeys.CHANNELUP
CHANNELUP
|
static String |
zKeys.CLEAR
CLEAR
|
static String |
zKeys.CLOSE
CLOSE
|
static String |
zKeys.CODEINPUT
CODEINPUT
|
static String |
zKeys.COMPOSE
COMPOSE
|
static String |
zKeys.CONTEXTMENU
CONTEXTMENU
|
static String |
zKeys.CONTROL
CONTROL
|
static String |
zKeys.CONVERT
CONVERT
|
static String |
zKeys.COPY
COPY
|
static String |
zKeys.CRSEL
CRSEL
|
static String |
zKeys.CUT
CUT
|
static String |
zKeys.DEAD
DEAD
|
static String |
zKeys.DECIMAL
DECIMAL
|
static String |
zKeys.DELETE
DELETE
|
static String |
zKeys.DIVIDE
DIVIDE
|
static String |
zKeys.EISU
EISU
|
static String |
zKeys.EJECT
EJECT
|
static String |
zKeys.END
END
|
static String |
zKeys.ENDCALL
ENDCALL
|
static String |
zKeys.ENTER
ENTER
|
static String |
zKeys.ERASEEOF
ERASEEOF
|
static String |
zKeys.ESCAPE
ESCAPE
|
static String |
zKeys.EXECUTE
EXECUTE
|
static String |
zKeys.EXSEL
EXSEL
|
static String |
zKeys.F1
F1
|
static String |
zKeys.F10
F10
|
static String |
zKeys.F11
F11
|
static String |
zKeys.F12
F12
|
static String |
zKeys.F13
F13
|
static String |
zKeys.F14
F14
|
static String |
zKeys.F15
F15
|
static String |
zKeys.F16
F16
|
static String |
zKeys.F17
F17
|
static String |
zKeys.F18
F18
|
static String |
zKeys.F19
F19
|
static String |
zKeys.F2
F2
|
static String |
zKeys.F20
F20
|
static String |
zKeys.F3
F3
|
static String |
zKeys.F4
F4
|
static String |
zKeys.F5
F5
|
static String |
zKeys.F6
F6
|
static String |
zKeys.F7
F7
|
static String |
zKeys.F8
F8
|
static String |
zKeys.F9
F9
|
static String |
zKeys.FINALMODE
FINALMODE
|
static String |
zKeys.FIND
FIND
|
static String |
zKeys.FINISH
FINISH
|
static String |
zKeys.FN
FN
|
static String |
zKeys.FNLOCK
FNLOCK
|
static String |
zKeys.GOBACK
GOBACK
|
static String |
zKeys.GOHOME
GOHOME
|
static String |
zKeys.GROUPFIRST
GROUPFIRST
|
static String |
zKeys.GROUPLAST
GROUPLAST
|
static String |
zKeys.GROUPNEXT
GROUPNEXT
|
static String |
zKeys.GROUPPREVIOUS
GROUPPREVIOUS
|
static String |
zKeys.HANGULMODE
HANGULMODE
|
static String |
zKeys.HANJAMODE
HANJAMODE
|
static String |
zKeys.HANKAKU
HANKAKU
|
static String |
zKeys.HEADSETHOOK
HEADSETHOOK
|
static String |
zKeys.HELP
HELP
|
static String |
zKeys.HIBERNATE
HIBERNATE
|
static String |
zKeys.HIRAGANA
HIRAGANA
|
static String |
zKeys.HIRAGANAKATAKANA
HIRAGANAKATAKANA
|
static String |
zKeys.HOME
HOME
|
static String |
zKeys.HYPER
HYPER
|
static String |
zUtl.i0
A shortcut of
'<i style="height:0;width:0"/>' . |
static String |
zUtl.img0
A shortcut of
'<img style="height:0;width:0"/>' . |
static String |
zKeys.INSERT
INSERT
|
static String |
zKeys.JUNJAMODE
JUNJAMODE
|
static String |
zKeys.KANAMODE
KANAMODE
|
static String |
zKeys.KANJIMODE
KANJIMODE
|
static String |
zKeys.KATAKANA
KATAKANA
|
static String |
zKeys.KEY11
KEY11
|
static String |
zKeys.KEY12
KEY12
|
static String |
zKeys.LASTNUMBERREDIAL
LASTNUMBERREDIAL
|
static String |
zKeys.LOGOFF
LOGOFF
|
static String |
zKeys.MAILFORWARD
MAILFORWARD
|
static String |
zKeys.MAILREPLY
MAILREPLY
|
static String |
zKeys.MAILSEND
MAILSEND
|
static String |
zKeys.MANNERMODE
MANNERMODE
|
static String |
zKeys.MEDIAFASTFORWARD
MEDIAFASTFORWARD
|
static String |
zKeys.MEDIAPAUSE
MEDIAPAUSE
|
static String |
zKeys.MEDIAPLAY
MEDIAPLAY
|
static String |
zKeys.MEDIAPLAYPAUSE
MEDIAPLAYPAUSE
|
static String |
zKeys.MEDIARECORD
MEDIARECORD
|
static String |
zKeys.MEDIAREWIND
MEDIAREWIND
|
static String |
zKeys.MEDIASTOP
MEDIASTOP
|
static String |
zKeys.MEDIATRACKNEXT
MEDIATRACKNEXT
|
static String |
zKeys.MEDIATRACKPREVIOUS
MEDIATRACKPREVIOUS
|
static String |
zKeys.META
META
|
static String |
zKeys.MICROPHONETOGGLE
MICROPHONETOGGLE
|
static String |
zKeys.MICROPHONEVOLUMEDOWN
MICROPHONEVOLUMEDOWN
|
static String |
zKeys.MICROPHONEVOLUMEMUTE
MICROPHONEVOLUMEMUTE
|
static String |
zKeys.MICROPHONEVOLUMEUP
MICROPHONEVOLUMEUP
|
static String |
zKeys.MODECHANGE
MODECHANGE
|
static String |
zKeys.MULTIPLY
MULTIPLY
|
static String |
zKeys.NEW
NEW
|
static String |
zKeys.NEXTCANDIDATE
NEXTCANDIDATE
|
static String |
zKeys.NONCONVERT
NONCONVERT
|
static String |
zKeys.NOTIFICATION
NOTIFICATION
|
static String |
zKeys.NUMLOCK
NUMLOCK
|
static String |
zKeys.NUMPAD0
NUMPAD0
|
static String |
zKeys.NUMPAD1
NUMPAD1
|
static String |
zKeys.NUMPAD2
NUMPAD2
|
static String |
zKeys.NUMPAD3
NUMPAD3
|
static String |
zKeys.NUMPAD4
NUMPAD4
|
static String |
zKeys.NUMPAD5
NUMPAD5
|
static String |
zKeys.NUMPAD6
NUMPAD6
|
static String |
zKeys.NUMPAD7
NUMPAD7
|
static String |
zKeys.NUMPAD8
NUMPAD8
|
static String |
zKeys.NUMPAD9
NUMPAD9
|
static String |
zKeys.OPEN
OPEN
|
static String |
zKeys.PAGEDOWN
PAGEDOWN
|
static String |
zKeys.PAGEUP
PAGEUP
|
static String |
zKeys.PASTE
PASTE
|
static String |
zKeys.PAUSE
PAUSE
|
static String |
zKeys.PLAY
PLAY
|
static String |
zKeys.POWER
POWER
|
static String |
zKeys.POWEROFF
POWEROFF
|
static String |
zKeys.PREVIOUSCANDIDATE
PREVIOUSCANDIDATE
|
static String |
zKeys.PRINT
PRINT
|
static String |
zKeys.PRINTSCREEN
PRINTSCREEN
|
static String |
zKeys.PROCESS
PROCESS
|
static String |
zKeys.PROPS
PROPS
|
static String |
zKeys.REDO
REDO
|
static String |
zKeys.ROMAJI
ROMAJI
|
static String |
zKeys.SAVE
SAVE
|
static String |
zKeys.SCROLLLOCK
SCROLLLOCK
|
static String |
zKeys.SELECT
SELECT
|
static String |
zKeys.SEPARATOR
SEPARATOR
|
static String |
zKeys.SHIFT
SHIFT
|
static String |
zKeys.SINGLECANDIDATE
SINGLECANDIDATE
|
static String |
zKeys.SOFT1
SOFT1
|
static String |
zKeys.SOFT2
SOFT2
|
static String |
zKeys.SOFT3
SOFT3
|
static String |
zKeys.SOFT4
SOFT4
|
static String |
zKeys.SPACE
SPACE
|
static String |
zKeys.SPELLCHECK
SPELLCHECK
|
static String |
zKeys.STANDBY
STANDBY
|
static String |
zKeys.SUBTRACT
SUBTRACT
|
static String |
zKeys.SUPER
SUPER
|
static String |
zKeys.SYMBOL
SYMBOL
|
static String |
zKeys.SYMBOLLOCK
SYMBOLLOCK
|
static String |
zKeys.TAB
TAB
|
static String |
zKeys.UNDO
UNDO
|
static String |
zKeys.UNIDENTIFIED
UNIDENTIFIED
|
static String |
zk.version
The version of ZK, such as '5.0.0'
|
static String |
zKeys.VOICEDIAL
VOICEDIAL
|
static String |
zKeys.WAKEUP
WAKEUP
|
static String |
zKeys.ZENKAKU
ZENKAKU
|
static String |
zKeys.ZENKAKUHANAKU
ZENKAKUHANAKU
|
static String |
zKeys.ZOOMIN
ZOOMIN
|
static String |
zKeys.ZOOMOUT
ZOOMOUT
|
Modifier and Type | Method and Description |
---|---|
String |
String.$camel()
Returns a copy of this string by converting dashes into a camel-case equivalent.
|
String |
String.$inc(int diff)
Returns a copy of the first character of a string by increasing its value.
|
String |
String.$sub(String cc)
Returns the difference between the first character of this string and
the first character of the specified string.
|
static String |
zk.ajaxResourceURI(String uri,
String version,
Map opts)
Encodes and returns the resource URI from Class-Web Resources (CWR).
|
static String |
zk.ajaxURI(String uri,
Map opts)
Encodes and returns the URI to communicate with the server.
|
static String |
zAu.beforeSend(String uri,
Event aureq,
Desktop dt)
Called before sending an AU request.
|
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 String |
jq.d2j(Date d)
Marshalls the Date object into a string such that it can be sent
back to the server.
|
static String |
zUtl.decodeXML(String txt)
Decodes the XML string into a normal string.
|
static String |
zAu.encode(int j,
Event aureq,
Desktop dt)
Returns the content to send to the server.
|
static String |
zUtl.encodeXML(String txt,
Map opts)
Encodes the string to a valid XML string.
|
static String |
zUtl.encodeXMLAttribute(String txt)
Encodes the string to a valid XML attribute string.
|
static String |
jq.filterTextStyle(String style,
Array plus)
Returns the text-relevant style of the specified style
(same as HTMLs.getTextRelevantStyle in Java).
|
static String |
zAu.getErrorURI(int code)
Returns the URI for the specified error.
|
static String |
zk.getHost(String pkg,
boolean js)
Returns the URI of the server (so called host) for the specified package.
|
static String |
zAu.getPushErrorURI(int code)
Sets the URI for the server-push related error.
|
static String |
zk.getVersion(String pkg)
Returns the version of the specified package, or null if not available.
|
static String |
zUtl.intsToString(int[] ary)
Converts an integer array to a string (separated by comma).
|
static String |
zUtl.mapToString(Map map,
String assign,
String separator)
Converts a map to a string
|
static String |
jq.nodeName(DOMElement el)
Returns the node name of the specified element in the lower case.
|
static String |
jq.px(java.lang.Integer v)
Converting an integer to a string ending with "px".
|
static String |
jq.px0(java.lang.Integer v)
Converting an integer a string ending with "px".
|
String |
String.trim()
Returns a copy of the string, with leading and trailing whitespace omitted.
|
Modifier and Type | Method and Description |
---|---|
static Array |
jq.$$(String id,
String subId)
Returns an array of
DOMElement that matches. |
static java.lang.Object |
zk.$import(String name)
Imports a class or a package.
|
static java.lang.Object |
zk.$import(String name,
Function fn)
Imports a package or class, and load it if
fn is specified. |
static Package |
zk.$package(String name)
Defines a package.
|
String |
String.$sub(String cc)
Returns the difference between the first character of this string and
the first character of the specified string.
|
static void |
zk.addDataHandler(String name,
String script)
Adds data attribute handler
|
static void |
zk.afterLoad(String pkgs,
Function func)
Declares a function that shall be executed only if the specified
package(s) are loaded (and
zk.loading is 0). |
static void |
zAu.ajaxErrorHandler(java.lang.Object req,
int status,
String statusText,
int ajaxReqTries)
Implements this function to be called if the request fails.
|
static String |
zk.ajaxResourceURI(String uri,
String version,
Map opts)
Encodes and returns the resource URI from Class-Web Resources (CWR).
|
static String |
zk.ajaxURI(String uri,
Map opts)
Encodes and returns the URI to communicate with the server.
|
static void |
jq.alert(String msg,
Map opts)
Shows up a message.
|
static void |
zUtl.appendAttr(String nm,
java.lang.Object val)
Appends an attribute.
|
static void |
zUtl.appendAttr(String nm,
java.lang.Object val,
boolean force)
Appends an attribute.
|
static String |
zAu.beforeSend(String uri,
Event aureq,
Desktop dt)
Called before sending an AU request.
|
static boolean |
zAu.confirmRetry(String msgCode,
String msg2)
Called to confirm the user whether to retry, when an error occurs.
|
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 java.lang.Object |
zk.cut(Map props,
String nm)
Retrieves and removes the value of the specified name of the given map.
|
static void |
zk.debugLog(String msg)
If in debug-js, use console log to display an log message to indicate an debug log.
|
static String |
zUtl.decodeXML(String txt)
Decodes the XML string into a normal string.
|
static void |
zk.depends(String a,
String b)
Declare a package that must be loaded when loading another package.
|
static void |
zEmbedded.destroy(String domId,
boolean skipError)
Destroy zk desktop in specific DOM id
|
static void |
zUtl.destroyProgressbox(String id)
Removes the message box created by
zUtl.progressbox(_global_.String, _global_.String, boolean, _global_.String) . |
static void |
zAu.doCmds(String dtid,
Array rs)
Process the specified commands.
|
static String |
zUtl.encodeXML(String txt,
Map opts)
Encodes the string to a valid XML string.
|
static String |
zUtl.encodeXMLAttribute(String txt)
Encodes the string to a valid XML attribute string.
|
boolean |
String.endsWith(String postfix)
Returns whether this string ends with the specified postfix.
|
static void |
zk.error(String msg)
Display an error message to indicate an error.
|
static java.lang.Object |
jq.evalJSON(String s)
Decodes a JSON string to a JavaScript object.
|
static String |
jq.filterTextStyle(String style,
Array plus)
Returns the text-relevant style of the specified style
(same as HTMLs.getTextRelevantStyle in Java).
|
static void |
zWatch.fire(String name,
java.lang.Object origin,
Map opts,
java.lang.Object... vararg)
Fires an watch that invokes all listeners of the watch.
|
static void |
zWatch.fireDown(String name,
java.lang.Object origin,
Map opts,
java.lang.Object... vararg)
Fires an watch but invokes only the listeners that are a descendant of the specified origin.
|
static java.lang.Object |
zk.get(java.lang.Object o,
String name)
Retrieves a value from the specified property.
|
static String |
zk.getHost(String pkg,
boolean js)
Returns the URI of the server (so called host) for the specified package.
|
static Promise |
zUtl.getUserMedia(String constraints)
Returns the Promise whose fulfillment handler receives a MediaStream object when the requested media has successfully been obtained.
|
static String |
zk.getVersion(String pkg)
Returns the version of the specified package, or null if not available.
|
static void |
zUtl.go(String url,
Map opts)
Navigates to the specified URL.
|
static boolean |
zk.isLoaded(String pkg,
boolean loading)
Tests if a package is loaded (or being loaded).
|
static Date |
jq.j2d(String s)
Unmarshalls the string back to a Date object.
|
static boolean |
zk.load(String pkg,
Desktop dt,
Function func)
Loads the specified package(s).
|
static boolean |
zk.load(String pkg,
Function func)
Loads the specified package(s).
|
static Promise |
zEmbedded.load(String domId,
String zkSrc,
String zkHost)
Load zk source and replace the DOM
|
static zk |
zk.loadCSS(String href,
String id,
String media,
Function the)
Loads a CSS file.
|
static void |
zUtl.loadImage(String url)
Loads an image before ZK client engine to calculate the widget's layout.
|
static zk |
zk.loadScript(String src,
String name,
String charset,
boolean force,
Function the)
Loads a JavaScript file.
|
static String |
zUtl.mapToString(Map map,
String assign,
String separator)
Converts a map to a string
|
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.
|
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).
|
void |
_global_.onIframeURLChange(String uuid,
String url)
Callback when the URL/bookmark of an iframe has been changed.
|
static java.lang.Object |
zk.override(java.lang.Object dst,
String nm,
java.lang.Object val)
Overrides a particular method or data member.
|
static double |
zk.parseFloat(String v)
Parses a string to a floating number.
|
static int |
zk.parseInt(String v,
int b)
Parses a string to an integer.
|
static Map |
zUtl.parseMap(String text,
String separator,
String quote)
Parses the specifie text into a map.
|
static Map |
jq.parseStyle(String style)
Parses a string-type CSS style into a map of names and values of styles.
|
jqzk |
jqzk.position(Dimension dim,
String where,
Map opts)
Position the first matched element to the specified location.
|
jqzk |
jqzk.position(DOMElement dim,
String where,
Map opts)
Position the first matched element to the specified location.
|
static void |
zAu.process(String cmd,
String data)
Processes the AU response sent from the server.
|
static void |
zUtl.progressbox(String id,
String msg,
boolean mask,
String icon)
Creates a message box to indicate something is being processed
|
static java.lang.Object |
zk.set(java.lang.Object o,
String name,
java.lang.Object value,
java.lang.Object extra)
Assigns a value to the specified property.
|
static void |
zAu.setErrorURI(int code,
String uri)
Sets the URI for the specified error.
|
static void |
zk.setHost(String host,
String resURI,
Array pkgs)
Defines the URL of the host for serving the specified packages.
|
static void |
zAu.setPushErrorURI(int code,
String uri)
Sets the URI for the server-push related error.
|
static void |
zk.setScriptLoaded(String name)
Notify ZK that the name of the JavaScript file is loaded.
|
static void |
zk.setVersion(String pkg,
String ver)
Sets the version of the specified package.
|
static void |
zAu.showError(String msgCode,
String msg2,
String cmd,
java.lang.Throwable ex)
Called to shown an error if a severe error occurs.
|
static void |
zk.stamp(String name,
boolean noAutoLog)
Make a time stamp for this momemt; used for performance tuning.
|
boolean |
String.startsWith(String prefix)
Returns whether this string starts with the specified prefix.
|
static Desktop |
zk.stateless(String dtid,
String contextURI,
String updateURI,
String reqURI)
Declares the desktop is used for the stateless context.
|
static int[] |
zUtl.stringToInts(String text,
int defaultValue)
Converts a string separated by comma to an array of integers.
|
int |
jqzk.sumStyles(String areas,
Array styles)
Returns the summation of the specified styles.
|
Size |
jqzk.textSize(String text)
Deprecated.
Use
jqzk.textWidth(_global_.String) instead for better performance. |
double |
jqzk.textWidth(String text)
Returns the width of the text if it is placed inside the first matched element.
|
static Date |
zUtl.today(String fmt)
Returns today.
|
static void |
zWatch.unlistenAll(String name)
Removes all listener of the specified watch.
|
Modifier and Type | Method and Description |
---|---|
static void |
Event.fire(DOMElement el,
String evtnm)
Fires a DOM element.
|
Modifier and Type | Field and Description |
---|---|
String |
Widget.autag
The AU tag of this widget.
|
String |
Widget.className
The class name of the widget.
|
String |
Native.className
The class name (
zk.Native ) |
String |
Desktop.className
The class name (
zk.Desktop ). |
String |
Page.className
The class name (
zk.Page ). |
String |
Macro.className
The class name (
zk.Macro ). |
String |
RefWidget.className
The class name (
zk.RefWidget ). |
String |
Widget.id
The identifier of this widget, or null if not assigned (readonly).
|
String |
Event.name
The event name, such as 'onChange'.
|
String |
Desktop.requestPath
The request path.
|
String |
Widget.uuid
The UUID.
|
String |
Widget.widgetName
The widget name of the widget.
|
String |
Native.widgetName
The widget name (
native ). |
String |
Desktop.widgetName
The widget name (
desktop ). |
String |
Page.widgetName
The widget name (
page ). |
String |
Macro.widgetName
The widget name (
macro ). |
String |
RefWidget.widgetName
The widget name (
refWidget ). |
Modifier and Type | Method and Description |
---|---|
String |
Widget.$s()
Returns the sub zclass name that cache for this widget.
|
String |
BigDecimal.$toLocaleString()
Returns a Locale-dependent string for this big decimal(for human's eye).
|
String |
Long.$toLocaleString()
Returns a Locale-dependent string for this long integer.
|
String |
BigDecimal.$toString()
Returns a string for this big decimal (per the original form).
|
String |
Long.$toString()
Returns a string for this long integer
To have a Locale-dependent string, use
Long.$toLocaleString()
instead. |
protected String |
Widget.domAttrs_(Map no)
Returns the HTML attributes that is used to generate DOM element of this widget.
|
protected String |
Widget.domClass_(Map no)
Returns the class name(s) used for the DOM element of this widget.
|
protected String |
Widget.domStyle_(Map no)
Returns the style used for the DOM element of this widget.
|
protected String |
Widget.domTextStyleAttr_()
Returns the style attribute that contains only the text related CSS styles.
|
protected String |
Widget.domTooltiptext_()
Returns the tooltiptext for generating the title attribute of the DOM element.
|
String |
Widget.getAction()
Returns the client-side action.
|
String |
Widget.getDraggable()
Returns the identifier of a draggable type for this widget, or null if not draggable.
|
protected String |
Widget.getDragMessage_()
Returns the message to show when an user is dragging this widget, or null if it prefers to clone the widget with
Widget.cloneDrag_(zk.Draggable, _global_.Offset) . |
String |
Widget.getDroppable()
Returns the identifier, or a list of identifiers of a droppable type for this widget, or null if not droppable.
|
String |
Macro.getEnclosingTag()
Returns the tag name for this macro widget.
|
String |
Widget.getHeight()
Returns the height of this widget.
|
String |
Widget.getHflex()
Return horizontal flex hint of this widget.
|
String |
Widget.getId()
Returns the identifier of this widget, or null if not assigned.
|
String |
Widget.getLeft()
Returns the left of this widget.
|
String |
Widget.getMold()
Returns this widget's mold.
|
String |
Widget.getSclass()
Returns the CSS class of this widget.
|
String |
Widget.getStyle()
Returns the CSS style of this widget
|
String |
Widget.getTooltiptext()
Returns the tooltip text of this widget.
|
String |
Widget.getTop()
Returns the top of this widget.
|
String |
Widget.getVflex()
Returns vertical flex hint of this widget.
|
String |
Widget.getWidth()
Returns the width of this widget.
|
String |
Widget.getZclass()
Returns the ZK Cascading Style class(es) for this widget.
|
static String |
Widget.nextUuid()
Returns the next unique UUID for a widget.
|
protected String |
Widget.redrawHTML_(Skipper skipper,
boolean trim)
Returns the HTML fragment of this widget.
|
static String |
Widget.uuid(String subId)
Converts an ID of a DOM element to UUID.
|
Modifier and Type | Method and Description |
---|---|
Widget |
Widget.$f(String id)
Returns the fellow of the specified ID of the ID space that this widget belongs to.
|
Widget |
Widget.$f(String id,
boolean global)
Returns the fellow of the specified ID of the ID space that this widget belongs to.
|
void |
Desktop.$init(String dtid,
String contextURI,
String updateURI,
String reqURI,
boolean stateless)
Constructor
|
void |
Event.$init(Widget target,
String name,
Object data,
Map opts,
Event domEvent)
Constructor.
|
DOMElement |
Widget.$n(String subId)
Returns the child element of the DOM element(s) that this widget is bound to.
|
Object |
Object.$super(Class klass,
String mtd,
Object... vararg)
Invokes a method defined in the superclass with any number of arguments.
|
Object |
Object.$super(String mtd,
Object... vararg)
Invokes a method defined in the superclass with any number of arguments.
|
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.
|
void |
AuCmd1.addAft(Widget wgt,
String... codes)
Adds the widget(s) generated by evaluating the specified JavaScript code snippet
after the specified widget (as sibling).
|
void |
AuCmd1.addAft(Widget wgt,
String code)
Adds the widget(s) generated by evaluating the specified JavaScript code snippet
after the specified widget (as sibling).
|
void |
AuCmd1.addBfr(Widget wgt,
String... codes)
Adds the widget(s) generated by evaluating the specified JavaScript code snippet
before the specified widget (as sibling).
|
void |
AuCmd1.addChd(Widget wgt,
String... codes)
Adds the widget(s) generated by evaluating the specified JavaScript code snippet
as the last child of the specified widget.
|
void |
Service.after(String command,
Function func)
Registers a callback after some command executed.
|
void |
AuCmd0.alert(String msg)
Shows an alert to indicate some error occurs.
|
void |
AuCmd0.bookmark(String bk,
boolean replace)
Sets a bookmark
|
void |
AuCmd0.cfmClose(String msg)
Sets the message used to confirm the user when he is closing
the browser window.
|
void |
AuCmd0.clearBusy(String uuid)
Removes the busy message covering the specified widget.
|
void |
AuCmd0.clearWrongValue(String... any)
Closes the all error messages related to the specified widgets.
|
void |
AuCmd0.clientInfo(String dtid)
Asks the client information.
|
void |
Service.command(String command,
Array args,
Map opts,
int timeout)
Post a command to the service
|
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).
|
void |
AuCmd0.download(String url)
Asks the client to download the resource at the specified URL.
|
void |
AuCmd0.echo(String dtid)
Asks the client to echo back an AU request, such that
the server can return other commands.
|
void |
AuCmd1.echo2(Widget wgt,
String evtnm,
Object data)
Ask the client to echo back an AU request with the specified
evant name and the target widget.
|
void |
AuCmd0.echoGx(String evtnm,
String data,
String... any)
Ask the client to echo back globally.
|
void |
AuCmd0.echoGx(String evtnm,
String data,
String... any)
Ask the client to echo back globally.
|
protected void |
Widget.extraBind_(String uuid,
boolean add)
Associates UUID with this widget.
|
Event |
Widget.fire(String evtnm,
Object data,
Map opts,
int timeout)
Fire a widget event.
|
Object |
Widget.get(String name)
Retrieves a value from the specified property.
|
static Class |
Widget.getClass(String wgtnm)
Returns the class of the specified widget's name.
|
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.
|
static DOMElement |
DnD.ghost(Draggable drag,
Offset ofs,
String msg)
Ghost the DOM element being dragged.
|
void |
AuCmd0.historyState(boolean replace,
Object state,
String title,
String url)
Pushes or replaces a history state.
|
void |
AuCmd1.invoke(Widget wgt,
String func,
Object... vararg)
Invokes the specifed method of the specified widget.
|
static boolean |
Widget.isAutoId(String uuid)
Deprecated.
we cannot really detect at the client if UUID is generated automatically.
|
boolean |
Widget.isListen(String evtnm,
Map opts)
Returns if a listener is registered for the specified event.
|
boolean |
Event.isPressed(String... The)
Indicates whether a key is currently pressed.
|
protected boolean |
Widget.isWatchable_(String name,
Widget p,
Map cache)
Returns if the given watch shall be fired for this widget.
|
void |
AuCmd0.loadCSS(String href,
String id,
String media)
Loads a CSS file.
|
void |
AuCmd0.loadScript(String url,
String callback,
boolean once)
Loads a JavaScript file and execute it.
|
void |
AuCmd0.log(String msg)
Logs the message.
|
static Widget |
Widget.newInstance(String wgtnm,
Map props)
Creates a widget by specifying the widget name.
|
void |
AuCmd0.obsolete(String dtid,
String msg)
Shows an error to indicate the desktop is timeout.
|
void |
AuCmd1.outer(Widget wgt,
String code)
Replaces the widget with the widget(s) generated by evaluating the specified JavaScript code snippet.
|
void |
AuCmd0.redirect(String url,
String target)
Redirects to the specified URL.
|
static void |
Widget.register(String clsnm,
boolean blankPreserved)
Registers a widget class.
|
protected void |
Widget.replaceCavedChildren_(String subId,
Array wgts,
String tagBeg,
String tagEnd)
Replaced the child widgets with the specified widgets.
|
void |
AuCmd0.script(String script)
Executes the JavaScript.
|
void |
AuCmd0.scrollIntoView(String id)
Scrolls the widget or an DOM element into the view
|
Widget |
Widget.set(String name,
Object value)
Sets a property.
|
Widget |
Widget.set(String name,
Object value,
Object extra)
Sets a property.
|
void |
Widget.setAction(String action)
Sets the client-side action.
|
void |
AuCmd1.setAttr(Widget wgt,
String name,
Object value)
Sets the attribute of a widget.
|
Widget |
Widget.setDraggable(String draggable)
Sets the identifier of a draggable type for this widget.
|
Widget |
Widget.setDroppable(String droppable)
Sets the identifier, or a list of identifiers of a droppable type for this widget.
|
void |
Macro.setEnclosingTag(String tag)
Sets the tag name for this macro widget
|
Widget |
Widget.setHeight(String height)
Sets the height of this widget.
|
void |
Widget.setHflex(String flex)
Sets horizontal flexibility hint of this widget.
|
Widget |
Widget.setId(String id)
Sets the identifier of this widget.
|
Widget |
Desktop.setId(String id)
This method is voided (does nothing) since the desktop's ID
can be changed.
|
Widget |
Widget.setLeft(String left)
Sets the left of this widget.
|
void |
Widget.setListener(String evt,
Function fn)
Sets a listener
It is designed to be called from server.
|
Widget |
Widget.setMold(String mold)
Sets this widget's mold.
|
Widget |
Widget.setSclass(String sclass)
Sets the CSS class of this widget.
|
Widget |
Widget.setStyle(String style)
Sets the CSS style of this widget.
|
Widget |
Widget.setTooltiptext(String title)
Sets the tooltip text of this widget.
|
Widget |
Widget.setTop(String top)
Sets the top of this widget.
|
void |
Widget.setVflex(String flex)
Sets vertical flexibility hint of this widget.
|
Widget |
Widget.setWidth(String width)
Sets the width of this widget.
|
Widget |
Widget.setZclass(String zclass)
Sets the ZK Cascading Style class(es) for this widget.
|
void |
AuCmd0.showBusy(String msg)
Shows the busy message covering the whole browser window.
|
void |
AuCmd0.showBusy(String uuid,
String msg)
Shows the busy message covering the specified widget.
|
void |
AuCmd0.showNotification(String msg,
String type,
String pid,
String ref,
String pos,
Offset off,
int dur,
boolean closable)
Shows a notification popup.
|
DOMElement |
Skipper.skip(Widget wgt,
String skipId)
Skips all or subset of the descendant (child) widgets of the specified widget.
|
Widget |
Widget.smartUpdate(String name,
Object value,
int timeout)
Smart-updates a property of the peer component associated with this widget, running at the server, with the specified value.
|
void |
AuCmd0.submit(String id)
Submit a form.
|
void |
AuCmd0.title(String title)
Changes the brower window's titile.
|
void |
Service.unAfter(String command,
Function func)
Unregisters a callback after some command executed.
|
static String |
Widget.uuid(String subId)
Converts an ID of a DOM element to UUID.
|
void |
AuCmd1.uuid(Widget wgt,
String newId)
Rename UUID.
|
Modifier and Type | Method and Description |
---|---|
static String |
WidgetInfo.getClassName(String wgtnm)
Returns the class name of the widget.
|
Modifier and Type | Method and Description |
---|---|
static String |
WidgetInfo.getClassName(String wgtnm)
Returns the class name of the widget.
|
Modifier and Type | Method and Description |
---|---|
static String |
Utl.getElementValue(DOMElement el)
Returns the concatenation of the text nodes under the specified
DOM element.
|
static String |
Utl.renType(String url,
String type)
Renames the type embedded in an URL
For example,
zk.xml.Utl.renType("/zkdemo/img/whatever-off.gif", "on");
//return "/zkdemo/img/whatever-on.gif"
as shown above, it assumes the type is embedded after dash (-). |
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.
|
static String |
Utl.renType(String url,
String type)
Renames the type embedded in an URL
For example,
zk.xml.Utl.renType("/zkdemo/img/whatever-off.gif", "on");
//return "/zkdemo/img/whatever-on.gif"
as shown above, it assumes the type is embedded after dash (-). |
Modifier and Type | Method and Description |
---|---|
static Widget |
Parser.create(Widget parent,
String doc,
Map args,
Function fn)
Parse the iZUML into widgets
|
static Widget |
Parser.createAt(String nodeId,
Map opts,
Map args,
Function fn)
Parse the iZUML into widgets
|
Modifier and Type | Method and Description |
---|---|
void |
Binder.after(String command,
Function func)
Registers a callback after some command executed.
|
void |
Binder.command(String command,
Map args,
Map opts,
int timeout)
Post a command to the binder
|
void |
Binder.globalCommand(String command,
Map args,
Map opts,
int timeout)
Post a global command from the binder.
|
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.
|
void |
Binder.unAfter(String command,
Function func)
Unregisters a callback after some command executed.
|
void |
Binder.upload(String cmd,
File file)
Post a upload command to the binder
|
Modifier and Type | Method and Description |
---|---|
protected String |
Group.domImage_()
Returns the HTML span content.
|
String |
Detail.getContentSclass()
Returns the style class used for the content block.
|
String |
Detail.getContentStyle()
Returns the CSS style for the content block of the window.
|
Modifier and Type | Method and Description |
---|---|
void |
Detail.setContentSclass(String scls)
Sets the style class used for the content block.
|
void |
Detail.setContentStyle(String style)
Sets the CSS style for the content block of the window.
|
Modifier and Type | Method and Description |
---|---|
String |
Colorpicker.getColor()
Returns the color (in string as #RRGGBB).
|
String |
Colorbox.getColor()
Returns the color (in string as #RRGGBB).
|
String |
Color.getHex()
Returns the color (in string as #RRGGBB).
|
String |
Colorbox.getValue()
Returns the value of color
Default: #000000
|
Modifier and Type | Method and Description |
---|---|
void |
Color.$init(String hex)
Constructor.
|
void |
Colorpalette.setColor(String color)
Sets the color
|
void |
Colorpicker.setColor(String hex)
Sets the color
|
void |
Colorbox.setColor(String color)
Sets the color
|
void |
ContentHandler.setContent(String content)
Sets the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
boolean |
Color.setHex(String color)
verify the format of color string, and sets the color
|
void |
Colorbox.setValue(String value)
Sets the value of color
|
Modifier and Type | Method and Description |
---|---|
String |
Fisheyebar.getAttachEdge()
Returns the attach edge.
|
String |
Fisheyebar.getLabelEdge()
Returns the label edge.
|
String |
Fisheyebar.getOrient()
Returns the orientation of
Fisheye . |
Modifier and Type | Method and Description |
---|---|
void |
Fisheyebar.setAttachEdge(String attachEdge)
Sets the attach edge.
|
void |
Fisheyebar.setLabelEdge(String labelEdge)
Sets the label edge.
|
void |
Fisheyebar.setOrient(String orient)
Sets the orientation of
Fisheye . |
Modifier and Type | Method and Description |
---|---|
String |
Pdfviewer.getSrc()
Returns the source URI of the PDF file.
|
Modifier and Type | Method and Description |
---|---|
void |
Pdfviewer.setSrc(String src)
Sets the source URI of the PDF file.
|
Modifier and Type | Method and Description |
---|---|
String |
Rangeslider.getMarks()
Returns marks of the rangeslider.
|
String |
Rangeslider.getOrient()
Returns the orient.
|
Modifier and Type | Method and Description |
---|---|
void |
Rangeslider.setMarks(String marks)
Sets the marks information for displaying value marks.
|
void |
Rangeslider.setOrient(String orient)
Sets the orient.
|
Modifier and Type | Method and Description |
---|---|
String |
Barcode.getHeight()
Returns height of the barcode component.
|
String |
Barcode.getType()
Returns the encode and decode type of this component.
|
String |
Barcode.getValue()
Returns the value of the barcode image.
|
Modifier and Type | Method and Description |
---|---|
static void |
Barcode.registerLibrary(Function execFunc,
String libname,
Array types)
A method that register the barcode rendering library.
|
void |
Barcode.setHeight(String height)
Sets height of the barcode component.
|
void |
Barcode.setType(String value)
Sets the encode and decode type of this component.
|
void |
Barcode.setValue(String value)
Sets the value that will be encoded to the barcode image.
|
Modifier and Type | Method and Description |
---|---|
String |
Barcodescanner.getConstraints()
Returns the constraints in JSON format String,
About allowed constraints setting,
see https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamConstraints
Default: null.
|
String |
Barcodescanner.getType()
Returns the types which the barcode scanner is dealing with.
|
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.
|
void |
Barcodescanner.setConstraints(String constraints)
Sets the constraints in JSON format String,
if not specify constraints, it will use {video: {facingMode: 'environment'}}.
|
Modifier and Type | Method and Description |
---|---|
String |
Biglistbox.getColWidth()
Returns the width of the single column
Default: 60px
|
String |
Biglistbox.getOddRowSclass()
Returns the style class for the odd rows.
|
String |
Biglistbox.getRowHeight()
Returns the height of the single row.
|
Modifier and Type | Method and Description |
---|---|
void |
Biglistbox.setColWidth(String colWidth)
Sets the width of the single column.
|
Biglistbox |
Biglistbox.setOddRowSclass(String oddRowSclass)
Sets the style class for the odd rows.
|
void |
Biglistbox.setRowHeight(String rowHeight)
Sets the height of the single row.
|
Modifier and Type | Method and Description |
---|---|
String |
Fusionchart.getDataXML()
Get the XML string of the chart data.
|
String |
Fusionchart.getDataXMLPath()
Get the url of the chart data .xml file.
|
String |
Fusionchart.getOrient()
Get the chart orientation (vertical or horizontal)
|
String |
Fusionchart.getType()
Get the chart's type.
|
Modifier and Type | Method and Description |
---|---|
void |
Fusionchart.setDataXML(String XMLString)
Sets the XML string for render the chart data.
|
void |
Fusionchart.setDataXMLPath(String url)
Set the url of the chart data .xml file.
|
void |
Fusionchart.setOrient(String orient)
Set the chart orientation.
|
void |
Fusionchart.setType(String type)
Set the chart's type (Chart.PIE, Chart.BAR, Chart.LINE, etc.).
|
Modifier and Type | Method and Description |
---|---|
String |
Timepicker.getConstraint()
Returns the constraint, or null if no constraint at all.
|
String |
Chosenbox.getCreateMessage()
Returns the create message of this component.
|
String |
Chosenbox.getEmptyMessage()
Returns the emptyMessage,
it will be displayed if no selected items while not focused.
|
String |
Timepicker.getIconSclass()
Returns the iconSclass name of this Timepicker.
|
String |
Cascader.getLabel()
Returns the displayed selected items text.
|
String |
Chosenbox.getName()
Returns the name of the input of this component.
|
String |
Chosenbox.getNoResultsText()
Returns the no-result text of this component.
|
String |
Cascader.getPlaceholder()
Returns the placeholder text.
|
String |
Searchbox.getPlaceholder()
Returns the placeholder text.
|
String |
Searchbox.getSearchMessage()
Returns the placeholder message of the search text field,
or null to use the default message.
|
String[] |
Cascader.getSelectedUuids()
Returns the uuid list of the selected item.
|
String |
Chosenbox.getSeparator()
Returns the separate chars of this component.
|
String |
Timepicker.getTimezone()
Deprecated.
Use
Timepicker.getTimeZone() instead. |
String |
Timepicker.getTimeZone()
Returns the time zone ID that this timepicker belongs to.
|
String |
Tbeditor.getValue()
Returns editor's content with html format
|
Modifier and Type | Method and Description |
---|---|
void |
Timepicker.setConstraint(String cst)
Sets the constraint.
|
void |
Chosenbox.setCreateMessage(String createMessage)
Sets the create message of this component.
|
void |
Chosenbox.setEmptyMessage(String emptyMessage)
Sets the emptyMessage.
|
void |
Timepicker.setFormat(String fmt)
Sets the time format
|
void |
Cascader.setLabel(String label)
Sets the displayed selected items text.
|
void |
Chosenbox.setName(String name)
Sets the name of the input of this component.
|
void |
Chosenbox.setNoResultsText(String noResultsText)
Sets the no-result text of this component.
|
void |
Cascader.setPlaceholder(String placeholder)
Sets the placeholder text that is displayed when selected item is empty.
|
void |
Searchbox.setPlaceholder(String placeholder)
Sets the placeholder text that is displayed when selected item is empty.
|
void |
Searchbox.setSearchMessage(String message)
Sets the placeholder message of the search text field.
|
void |
Cascader.setSelectedUuids(String[] selectedUuids)
Selects the items with the given uuids.
|
void |
Chosenbox.setSeparator(String createMessage)
Sets the separate chars of this component.
|
void |
Timepicker.setTimezone(String timezone)
Deprecated.
Use
Timepicker.setTimeZone(String) instead. |
void |
Timepicker.setTimeZone(String timezone)
Sets the time zone ID that this timepicker belongs to.
|
void |
Tbeditor.setValue(String content)
Sets the editor's content, and one can specify html tags to decorate the content
|
Modifier and Type | Method and Description |
---|---|
String |
GoldenPanel.getArea()
Returns the area name of this panel.
|
String |
Lineitem.getBackSpace()
Returns the spacing with the next lineitem.
|
String |
Splitlayout.getCollapse()
Returns the collapse of this button.
|
String |
Lineitem.getFrontSpace()
Returns the spacing with the previous lineitem.
|
String |
Splitlayout.getHeights()
Returns the heights.
|
String |
Linelayout.getLineStyle()
Returns the CSS style for the line.
|
String |
Portallayout.getMaximizedMode()
Returns the mode of the maximized panel.
|
String |
Splitlayout.getMinHeights()
Returns the minimum heights.
|
String |
Splitlayout.getMinWidths()
Returns the minimum widths.
|
String |
Portallayout.getOrient()
Returns the orient.
|
String |
Scrollview.getOrient()
Returns the orient.
|
String |
Splitlayout.getOrient()
Returns the orient.
|
String |
Linelayout.getOrient()
Returns the orient.
|
String |
Lineitem.getPointIconSclass()
Returns the iconSclass name of this point.
|
String |
Lineitem.getPointImageSrc()
Returns the source URI of the point image.
|
String |
Lineitem.getPointStyle()
Returns the CSS style for the point.
|
String |
Portalchildren.getTitle()
Returns the title of this portalchildren.
|
String |
GoldenPanel.getTitle()
Returns the title of this panel.
|
String |
Splitlayout.getWidths()
Returns the widths.
|
Modifier and Type | Method and Description |
---|---|
void |
GoldenLayout.setAreasMatrix(String matrix)
Sets the layout matrix to maintain server and client consistency.
|
void |
Lineitem.setBackSpace(String backSpace)
Sets the spacing with the next lineitem.
|
void |
Splitlayout.setCollapse(String collapse)
Sets the collapse of this button.
|
void |
GoldenLayout.setConfig(String config)
Sets the config for goldenlayout init.
|
void |
Lineitem.setFrontSpace(String frontSpace)
Sets the spacing with the previous lineitem.
|
void |
Splitlayout.setHeights(String heights)
Sets the heights.
|
void |
Linelayout.setLineStyle(String lineStyle)
Sets the CSS style for the line.
|
void |
Portallayout.setMaximizedMode(String mode)
Sets the mode of the panel to maximize according to "whole" or "column".
|
void |
Splitlayout.setMinHeights(String heights)
Sets the minimum heights.
|
void |
Splitlayout.setMinWidths(String widths)
Sets the minimum widths.
|
void |
Portallayout.setOrient(String orient)
Sets the orient.
|
void |
Scrollview.setOrient(String orient)
Sets the orient.
|
void |
Splitlayout.setOrient(String orient)
Sets the orient.
|
void |
Linelayout.setOrient(String orient)
Sets the orient.
|
void |
Cardlayout.setOrient(String orient)
Set the orient.
|
void |
Lineitem.setPointIconSclass(String pointIconSclass)
Sets the iconSclass name of the point.
|
void |
Lineitem.setPointImageSrc(String pointImageSrc)
Sets the source URI of the point image.
|
void |
Lineitem.setPointStyle(String pointStyle)
Sets the pointStyle.
|
void |
Portalchildren.setTitle(String title)
Sets the title of this portalchildren.
|
void |
GoldenPanel.setTitle(String title)
Sets the title of this panel.
|
void |
Splitlayout.setWidths(String widths)
Sets the widths.
|
Modifier and Type | Method and Description |
---|---|
String |
Camera.getConstraints()
Returns the constraints in JSON format String,
About allowed constraints setting,
see https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamConstraints
Default: null.
|
String |
Video.getCrossorigin()
Returns the crossorigin of this video tag.
|
String |
Cropper.getCrossOrigin()
Returns the Cross-Origin setting of the image.
|
String |
Video.getPlaysinline()
Returns the playsinline of this video tag.
|
String |
Video.getPoster()
Returns whether to display a poster before the video play.
|
String |
Video.getPreload()
Returns whether and how the video should be loaded.
|
String |
Camera.getRecordFormat()
Get the record video format, e.g., video/webm, video/mp4, video/ogg.
|
String |
Camera.getSnapshotFormat()
Get the snapshot image format, e.g., image/png, image/jpeg.
|
String |
Cropper.getSrc()
Returns the source URI of the image.
|
String |
Video.getSrc()
Returns the video source.
|
Modifier and Type | Method and Description |
---|---|
void |
Camera.setConstraints(String constraints)
Sets the constraints in JSON format String,
if not specify constraints, it will use {audio: this.isAudio(), video: true}.
|
void |
Video.setCrossorigin(String crossorigin)
Sets the crossorigin of this video tag.
|
void |
Cropper.setCrossOrigin(String crossOrigin)
Sets the Cross-Origin setting of the image.
|
void |
Video.setPlaysinline(String playsinline)
Sets the playsinline of this video tag.
|
void |
Video.setPoster(String poster)
Sets whether to display a poster before the video play.
|
void |
Video.setPreload(String preload)
Sets whether and how the video should be loaded, which could be one of "none", "metadata", "auto".
|
void |
Camera.setRecordFormat(String recordFormat)
Set the record video format, e.g., video/webm, video/mp4, video/ogg.
|
void |
Camera.setSnapshotFormat(String snapshotFormat)
Set the snapshot image format, e.g., image/png, image/jpeg.
|
void |
Cropper.setSrc(String src)
Sets the source URI of the image.
|
void |
Video.setSrc(String src)
Sets the video source.
|
Modifier and Type | Method and Description |
---|---|
String |
Navitem.getBadgeText()
Returns the badge text of the navitem
|
String |
Nav.getBadgeText()
Returns the badge text of the nav
|
String |
Navitem.getContent()
Returns the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
String |
Navitem.getHref()
Returns the href that the browser shall jump to, if an user clicks
this button.
|
String |
Anchornav.getName()
Returns the name.
|
String |
Navbar.getOrient()
Returns the orient.
|
String |
Coachmark.getPosition()
Returns the position of this coachmark.
|
String |
Navitem.getTarget()
Returns the target frame or window.
|
String |
Coachmark.getTarget()
Returns the target component of this coachmark.
|
Modifier and Type | Method and Description |
---|---|
void |
Navitem.setBadgeText(String the)
Sets the badge text of the navitem
|
void |
Nav.setBadgeText(String the)
Sets the badge text of the nav
|
void |
Navitem.setContent(String content)
Sets the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
void |
Navitem.setHref(String href)
Sets the href.
|
void |
Anchornav.setName(String name)
Sets the name.
|
void |
Navbar.setOrient(String orient)
Sets the orient.
|
void |
Coachmark.setPosition(String position)
Sets the position of this coachmark.
|
void |
Navitem.setTarget(String target)
Sets the target frame or window.
|
void |
Coachmark.setTarget(String target)
Sets the target component id of this coachmark.
|
Modifier and Type | Method and Description |
---|---|
String |
Dropupload.getAnchorUuid()
Return the anchor uuid of widget.
|
String |
Signature.getBackgroundColor()
Returns the background color of the signature pad.
|
String |
Signature.getBackgroundImage()
Returns the background image URI of signature pad.
|
String |
Signature.getClearLabel()
Returns the label on clear button.
|
String |
Dropupload.getContent()
Return the content of widget, it's visible depends on detection setting.
|
String |
Fragment.getContent()
Return the HTML source content.
|
String |
Dropupload.getDetection()
Return the setting of drag detection area.
|
String |
Step.getIconSclass()
Returns the icon font
|
String |
Signature.getPenColor()
Returns the pen color of the signature pad.
|
String |
Drawer.getPosition()
Returns the position of this drawer.
|
String |
Fragment.getRecoverId()
Return the recover ID.
|
String |
Signature.getSaveLabel()
Returns the label on save button.
|
String |
Signature.getSaveType()
Returns the MIME type for saving signature image.
|
String |
Dropupload.getSuppressedErrors()
Return the suppressed errors setting.
|
String |
Drawer.getTitle()
Returns the title of this drawer.
|
String |
Step.getTitle()
Returns the title.
|
String |
Signature.getUndoLabel()
Returns the label on undo button.
|
String |
Dropupload.getViewerClass()
Retrun the custom upload viewer class name.
|
String |
Fragment.getVueData()
Return the JSON data that used to sync data with server.
|
Modifier and Type | Method and Description |
---|---|
void |
DropUploader.$init(Dropupload upload,
String id,
java.lang.Object file)
Constructor
|
void |
Toast.$init(String msg,
Map opts)
Constructor.
|
Div |
DropUploadManager.getFileItem(String id)
Returns the file item.
|
java.lang.Object |
Fragment.load(String key)
Loads the desired property value.
|
void |
Fragment.onOffline(String anno,
Function handler)
Register an offline handler for specific annotation.
|
void |
DropUploadManager.open(Widget wgt,
String position)
Opens the file manager to show.
|
void |
Fragment.save(String key,
java.lang.Object value)
Saves the desired property value.
|
void |
Dropupload.setAnchorUuid(String value)
Set the anchor uuid of widget, the anchor allows the dropupload component to anchor to another component
and overlay that component when the user drag & drops files to the browser.
|
void |
Signature.setBackgroundColor(String backgroundColor)
Sets the background color for the signature pad.
|
void |
Signature.setBackgroundImage(String backgroundImage)
Sets the background image for the signature pad.
|
void |
Signature.setClearLabel(String clearLabel)
Sets the label on clear button.
|
void |
Dropupload.setContent(String value)
Set the content of widget.
|
void |
Fragment.setContent(String content)
Set the HTML source content.
|
void |
Dropupload.setDetection(String value)
Set drag detection area.
|
void |
Step.setIconSclass(String iconSclass)
Sets the icon font
|
void |
Signature.setPenColor(String penColor)
Sets the pen color of the signature pad.
|
void |
Drawer.setPosition(String position)
Sets the position of this drawer.
|
void |
Fragment.setRecoverId(String recoverId)
Set the recover ID.
|
void |
Signature.setSaveLabel(String saveLabel)
Sets the label on save button.
|
void |
Signature.setSaveType(String saveType)
Sets the MIME type for saving signature image.
|
void |
Dropupload.setSuppressedErrors(String suppressedErrors)
Set the suppressed errors setting.
|
void |
Drawer.setTitle(String title)
Sets the title of this drawer.
|
void |
Step.setTitle(String title)
Sets the title.
|
void |
Signature.setUndoLabel(String undoLabel)
Sets the label on undo button.
|
void |
Dropupload.setViewerClass(String value)
Set the custom upload viewer class name, if was not specified, will use ZK default upload viewer.
|
void |
Fragment.setVueData(String v)
Set the JSON data for synchronizing data with server.
|
static void |
Toast.show(String msg,
Map opts)
Shows a toast.
|
Modifier and Type | Method and Description |
---|---|
protected String |
LabelImageWidget.domContent_()
Returns the HTML content of the label and image.
|
protected String |
LabelImageWidget.domIcon_()
Returns the icon font class name with HTML content.
|
protected String |
LabelImageWidget.domImage_()
Returns the HTML image content.
|
protected String |
LabelImageWidget.domLabel_()
Returns the encoded label.
|
String |
Widget.getContext()
Returns the ID of the popup (
Popup ) that should appear
when the user right-clicks on the element (aka., context menu). |
String |
Widget.getCtrlKeys()
Returns what keystrokes to intercept.
|
String |
LabelImageWidget.getHoverImage()
Returns the URI of the hover image.
|
String |
LabelImageWidget.getIconSclass()
Returns the icon font
|
String |
LabelImageWidget.getImage()
Returns the image URI.
|
String |
Upload.getKey()
Returns the uuid of the uploader with its sequential number
|
String |
LabelImageWidget.getLabel()
Returns the label (never null).
|
String |
Widget.getPopup()
Returns the ID of the popup (
Popup ) that should appear
when the user clicks on the element. |
String |
Widget.getTooltip()
Returns the ID of the popup (
Popup ) that should be used
as a tooltip window when the mouse hovers over the element for a moment. |
Modifier and Type | Method and Description |
---|---|
void |
UploadViewer.$init(Uploader uplder,
String flnm)
Constructor
|
void |
Uploader.$init(Upload upload,
String id,
DOMElement form,
String flnm)
Constructor
|
void |
Upload.$init(Widget wgt,
DOMElement parent,
String option)
Constructor
|
static void |
Upload.close(String uuid,
int sid)
Closes the fileupload
|
static void |
Upload.error(String msg,
String uuid,
int sid)
Shows the error message of the fileupload
|
Div |
UploadManager.getFileItem(String id)
Returns the file item.
|
void |
UploadManager.open(Widget wgt,
String position)
Opens the file manager to show.
|
static void |
Upload.sendResult(String uuid,
String contentId,
int sid)
Sends the upload result to server.
|
void |
Widget.setContext(String context)
Sets the ID of the popup (
Popup ) that should appear
when the user right-clicks on the element (aka., context menu). |
Widget |
Widget.setCtrlKeys(String keys)
Sets what keystrokes to intercept.
|
void |
LabelImageWidget.setHoverImage(String src)
Sets the image URI.
|
void |
LabelImageWidget.setIconSclass(String iconSclass)
Sets the icon font
|
void |
LabelImageWidget.setImage(String image)
Sets the image URI.
|
void |
LabelImageWidget.setLabel(String label)
Sets the label.
|
void |
Widget.setPopup(String popup)
Sets the ID of the popup (
Popup ) that should appear
when the user clicks on the element. |
void |
Widget.setTooltip(String tooltip)
Sets the ID of the popup (
Popup ) that should be used
as a tooltip window when the mouse hovers over the element for a moment. |
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.
|
String |
Box.getAlign()
Returns the alignment of cells of a box in the 'opposite' direction
(null, start, center, end).
|
String |
Splitter.getCollapse()
Returns the collapse of this button.
|
String |
Splitter.getOrient()
Returns the orient.
|
String |
Box.getOrient()
Returns the orient.
|
String |
Box.getPack()
Returns the pack alignment of cells of this box
(start, center, end) plus an indication stretch option.
|
String |
Box.getSpacing()
Returns the spacing between adjacent children, or null if the default
spacing is used.
|
String |
Layout.getSpacing()
Returns the spacing between adjacent children, or null if the default
spacing is used.
|
String |
Hlayout.getValign()
Returns the current valign.
|
Modifier and Type | Method and Description |
---|---|
void |
Box.setAlign(String align)
Sets the alignment of cells of this box in the 'opposite' direction
(start, center, end, stretch).
|
void |
Splitter.setCollapse(String collapse)
Sets the collapse of this button.
|
void |
Box.setPack(String pack)
Sets the alignment of cells of this box
(start, center, end) plus an stretch option.
|
void |
Box.setSpacing(String spacing)
Sets the spacing between adjacent children.
|
void |
Layout.setSpacing(String spacing)
Sets the spacing between adjacent children.
|
void |
Hlayout.setValign(String valign)
Sets the vertical-align to top or bottom.
|
Modifier and Type | Method and Description |
---|---|
static String |
Renderer.cellAriaLabel(Calendar cal,
int y,
int m,
int day,
int monthofs,
int dayofweek)
Returns the label of a date cell.
|
static String |
Renderer.cellHTML(Calendar cal,
int y,
int m,
int day,
int monthofs)
Returns the HTML fragment representing a day cell.
|
String |
Datebox.getConstraint()
Returns the constraint, or null if no constraint at all.
|
String |
Timebox.getConstraint()
Returns the constraint, or null if no constraint at all.
|
String |
Calendar.getConstraint()
Returns the constraint of this component.
|
String |
Datebox.getDateFormat()
Returns the Date format of the specified format
|
String |
Calendar.getDefaultTzone()
Returns default time zone that this calendar belongs to.
|
String |
Datebox.getFormat()
Returns the full date format of the specified format
|
String |
Calendar.getFormat()
Returns the format of this component.
|
String |
Datebox.getIconSclass()
Returns the iconSclass name of this Datebox.
|
String |
Calendar.getName()
Returns the name of this component.
|
String |
Datebox.getSelectLevel()
Returns the level that a user can select.
|
String |
Datebox.getTimeFormat()
Returns the Time format of the specified format
|
String |
Timebox.getTimezone()
Deprecated.
Use
Timebox.getTimeZone() instead. |
String |
Datebox.getTimeZone()
Returns the time zone that this date box belongs to.
|
String |
Timebox.getTimeZone()
Returns the time zone ID that this time box belongs to.
|
String |
Datebox.getTimeZoneLabel()
Returns the label of the time zone
|
String |
Datebox.getTodayLinkLabel()
Returns the label of the link that jump to today in day view
|
String |
Calendar.getTodayLinkLabel()
Returns the label of the link that jump to today in day view
|
String |
Datebox.getUnformater()
Returns the unformater.
|
String |
Timebox.getUnformater()
Returns the unformater.
|
static String |
Renderer.labelOfWeekOfYear(Calendar wgt,
int the,
Map localizedSymbols)
Generates the label of the week of year.
|
static String |
Renderer.titleOfWeekOfYear(Calendar wgt)
Generates the title of the week of year.
|
Modifier and Type | Method and Description |
---|---|
void |
Datebox.setConstraint(String cst)
Sets the constraint.
|
void |
Timebox.setConstraint(String cst)
Sets the constraint.
|
void |
Calendar.setConstraint(String constraint)
Set the date limit for this component with yyyyMMdd format,
such as 20100101 is mean Jan 01 2010
Example:
between 20091201 and 20091231
before 20091201
after 20091231
|
void |
Calendar.setDefaultTzone(String timezone)
Sets default time zone that this calendar belongs to.
|
void |
Datebox.setDisplayedTimeZones(String dtzones)
Sets a catenation of a list of the time zones' ID, separated by comma,
that will be displayed at the client and allow user to select.
|
void |
Datebox.setFormat(String format)
Sets the date format.
|
void |
Calendar.setName(String name)
Sets the name of this component.
|
void |
Datebox.setSelectLevel(String selectLevel)
Sets the level that a user can select.
|
void |
Timebox.setTimezone(String timezone)
Deprecated.
Use
Timebox.setTimeZone(String) instead. |
void |
Datebox.setTimeZone(String timezone)
Sets the time zone that this date box belongs to.
|
void |
Timebox.setTimeZone(String timezone)
Sets the time zone ID that this time box belongs to.
|
void |
Datebox.setTodayLinkLabel(String todayLinkLabel)
Sets the label of the link that jump to today in day view
|
void |
Calendar.setTodayLinkLabel(String todayLinkLabel)
Sets the label of the link that jump to today in day view
|
void |
Datebox.setUnformater(String unf)
Sets the unformater function.
|
void |
Timebox.setUnformater(String unf)
Sets the unformater function.
|
Modifier and Type | Method and Description |
---|---|
protected String |
Row.encloseChildHTML_(Map opts)
Enclose child with HTML tag with TD and DIV,
and return a HTML code or add HTML fragments in out array.
|
String |
Row.getAlign()
Returns the horizontal alignment of the whole row.
|
String |
Grid.getEmptyMessage()
Returns the message to display when there are no items
|
String |
Grid.getOddRowSclass()
Returns the style class for the odd rows.
|
String |
Row.getSpans()
Returns the spans, which is a list of numbers separated by comma.
|
String |
Row.getValign()
Returns the vertical alignment of the whole row.
|
Modifier and Type | Method and Description |
---|---|
void |
Row.setAlign(String align)
Sets the horizontal alignment of the whole row.
|
void |
Grid.setEmptyMessage(String msg)
Sets the message to display when there are no items
|
void |
Grid.setOddRowSclass(String scls)
Sets the style class for the odd rows.
|
void |
Row.setSpans(String spans)
Sets the spans, which is a list of numbers separated by comma.
|
void |
Row.setValign(String valign)
Sets the vertical alignment of the whole row.
|
Modifier and Type | Method and Description |
---|---|
protected String |
InputWidget.coerceFromString_(String value)
Coerces the value passed to
InputWidget.setValue(java.lang.Object, boolean) . |
protected String |
InputWidget.coerceToString_(java.lang.Object value)
Coerces the value passed to
InputWidget.setValue(java.lang.Object, boolean) . |
protected String |
NumberInputWidget.getAllowedKeys_()
Returns a string of keystrokes that are allowed.
|
String |
Comboitem.getContent()
Returns the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
String |
Comboitem.getDescription()
Returns the description (never null).
|
String |
Combobox.getEmptySearchMessage()
Returns the message to display when no matching results was found
|
String |
InputWidget.getErrorboxIconSclass()
Returns the custom style icon class name applied to the errorbox, if any.
|
String |
InputWidget.getErrorboxSclass()
Returns the custom style class name applied to the errorbox, if any.
|
String |
InputWidget.getErrorMessage()
Returns the error message that is caused when user entered invalid value,
or null if no error at all.
|
String |
InputWidget.getErrorMesssage()
Deprecated.
use getErrorMessage() instead.
|
String |
FormatWidget.getFormat()
Returns the format.
|
String |
ComboWidget.getIconSclass()
Returns the iconSclass name of this ComboWidget.
|
String |
InputWidget.getInplaceCSS()
Returns the CSS style of inplace if inplace is not null
|
String |
Slider.getMode()
Returns the current mode of slider
One of "integer", "decimal".
|
String |
InputWidget.getName()
Returns the name of this component.
|
String |
Slider.getName()
Returns the name of this component.
|
String |
Slider.getOrient()
Returns the orient.
|
String |
InputWidget.getPlaceholder()
Returns the placeholder text
|
String |
ComboWidget.getPopupWidth()
Returns the width of the popup of this component.
|
String |
Slider.getSlidingtext()
Returns the sliding text.
|
String |
InputWidget.getText()
Returns the text representing the value in the given format,
or an empty etring if value is null
|
String |
ComboWidget.getType()
Returns the type.
|
String |
InputWidget.getType()
Returns the type.
|
String |
Textbox.getType()
Returns the type.
|
String |
InputWidget.getValue()
Returns the value in the String format.
|
String |
SimpleDateConstraint.outOfRangeValue()
Returns the message about out of range value
|
String |
SimpleLocalTimeConstraint.outOfRangeValue()
Returns the message about out of range value
|
protected String |
InputWidget.textAttrs_()
Attributes for the text control.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleConstraint.$init(java.lang.Object a,
String b,
String c)
Constructor.
|
protected String |
InputWidget.coerceFromString_(String value)
Coerces the value passed to
InputWidget.setValue(java.lang.Object, boolean) . |
protected void |
SimpleConstraint.parseConstraint_(String cst)
Parses a constraint into an Object attribute.
|
void |
InputWidget.setConstraint(String cst)
Sets the constraint.
|
void |
Comboitem.setContent(String content)
Sets the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
void |
Comboitem.setDescription(String desc)
Sets the description.
|
void |
Combobox.setEmptySearchMessage(String msg)
Sets the message to display when no matching results was found
|
void |
InputWidget.setErrorboxIconSclass(String errorboxIconSclass)
Sets the custom style icon class name to be applied to the errorbox.
|
void |
InputWidget.setErrorboxSclass(String errorboxSclass)
Sets the custom style class name to be applied to the errorbox.
|
void |
InputWidget.setErrorMessage(String msg)
Marks this widget's value is wrong and show the error message.
|
void |
FormatWidget.setFormat(String format)
Sets the format.
|
void |
ComboWidget.setIconSclass(String iconSclass)
Sets the iconSclass name of this ComboWidget.
|
void |
InputWidget.setInsertedText(String text)
Inserts the text at the current cursor position.
|
void |
Slider.setMode(String name)
Sets the mode to integer or decimal.
|
void |
InputWidget.setName(String name)
Sets the name of this component.
|
void |
Slider.setName(String name)
Sets the name of this component.
|
void |
Slider.setOrient(String orient)
Sets the orient.
|
void |
InputWidget.setPlaceholder(String placeholder)
Sets the placeholder text that is displayed when input is empty.
|
void |
ComboWidget.setPopupWidth(String width)
Sets the width of the popup of this component
If the input is a percentage, the popup width will be calculated by multiplying the width of this component with the percentage.
|
void |
Slider.setSlidingtext(String slidingtext)
Sets the sliding text.
|
void |
InputWidget.setText(String txt)
Sets the text representing the value in the given format.
|
void |
ComboWidget.setType(String type)
Sets the type.
|
void |
Textbox.setType(String type)
Sets the type.
|
protected void |
InputWidget.showError_(String msg)
Create a
Errorbox widget, and show the error message |
void |
Combobox.validateStrict(String val)
called by SimpleConstraint
|
Modifier and Type | Field and Description |
---|---|
static String |
Borderlayout.CENTER
The center layout constraint (middle of container).
|
static String |
Borderlayout.EAST
The east layout constraint (right side of container).
|
static String |
Borderlayout.NORTH
The north layout constraint (top of container).
|
static String |
Borderlayout.SOUTH
The south layout constraint (bottom of container).
|
static String |
Borderlayout.WEST
The west layout constraint (left side of container).
|
Modifier and Type | Method and Description |
---|---|
String |
Anchorchildren.getAnchor()
Returns the anchor setting.
|
String |
LayoutRegion.getBorder()
Returns the border.
|
String |
LayoutRegion.getCmargins()
Returns the collapsed margins, which is a list of numbers separated by comma.
|
String |
LayoutRegion.getMargins()
Returns the margins, which is a list of numbers separated by comma.
|
String |
North.getPosition()
Returns
Borderlayout.NORTH . |
String |
West.getPosition()
Returns
Borderlayout.WEST . |
String |
East.getPosition()
Returns
Borderlayout.EAST . |
String |
South.getPosition()
Returns
Borderlayout.SOUTH . |
String |
Center.getPosition()
Returns
Borderlayout.CENTER . |
String |
North.getSize()
Returns the size of this region.
|
String |
West.getSize()
Returns the size of this region.
|
String |
East.getSize()
Returns the size of this region.
|
String |
South.getSize()
Returns the size of this region.
|
String |
Center.getSize()
The size can't be returned in this component.
|
String |
LayoutRegion.getTitle()
Returns the title.
|
Modifier and Type | Method and Description |
---|---|
void |
Anchorchildren.setAnchor(String anchor)
Sets the width, height relative to parent, anchorlayout.
|
void |
LayoutRegion.setBorder(String border)
Sets the border (either none or normal).
|
void |
Center.setCmargins(String cmargins)
Center region can't be enabled the collapsed margin functionality.
|
void |
LayoutRegion.setCmargins(String cmargins)
Sets the collapsed margins for the element "0,1,2,3" that direction is
"top,left,right,bottom"
|
void |
West.setHeight(String height)
|
void |
East.setHeight(String height)
|
void |
Center.setHeight(String height)
|
void |
LayoutRegion.setMargins(String margins)
Sets margins for the element "0,1,2,3" that direction is
"top,left,right,bottom"
|
void |
North.setSize(String size)
Sets the size of this region.
|
void |
West.setSize(String size)
Sets the size of this region.
|
void |
East.setSize(String size)
Sets the size of this region.
|
void |
South.setSize(String size)
Sets the size of this region.
|
void |
Center.setSize(String size)
The size can't be specified in this component.
|
void |
LayoutRegion.setTitle(String title)
Sets the title.
|
void |
North.setWidth(String width)
|
void |
South.setWidth(String width)
|
void |
Center.setWidth(String width)
|
Modifier and Type | Method and Description |
---|---|
String |
Applet.getAlign()
Returns the alignment of an applet according to surrounding elements.
|
String |
Applet.getArchive()
Returns the location of an archive file (URL).
|
String |
Flash.getBgcolor()
Gets the background color of Flash movie.
|
String |
Applet.getCode()
Return the applet class to run.
|
String |
Applet.getCodebase()
Return a relative base URL for applets specified in
Applet.setCode(_global_.String) (URL). |
String |
Applet.getField(String name)
Returns the value of the specified filed.
|
String |
Applet.getHspace()
Returns the horizontal spacing around an applet.
|
String |
Track.getKind()
Returns what kind of track it is.
|
String |
Track.getLabel()
Returns a readable description of this track.
|
String |
Audio.getPreload()
Returns whether and how the audio should be loaded.
|
String |
Flash.getQuality()
Returns the quality of the Flash movie
Default: "high".
|
String |
Track.getSrc()
Returns the source address of this track.
|
String |
Flash.getSrc()
Gets the source path of Flash movie
|
String |
Audio.getSrc()
Returns the src.
|
String |
Track.getSrclang()
Returns the language of the source.
|
String |
Flash.getVersion()
Returns the expected version of the Flash player.
|
String |
Applet.getVspace()
Returns the vertical spacing around an applet.
|
String |
Flash.getWmode()
Returns the Window mode property of the Flash movie
Default: "transparent".
|
Modifier and Type | Method and Description |
---|---|
String |
Applet.getField(String name)
Returns the value of the specified filed.
|
void |
Applet.setAlign(String align)
Sets the alignment of an applet according to surrounding elements.
|
void |
Applet.setArchive(String archive)
Sets the location of an archive file (URL).
|
void |
Flash.setBgcolor(String bgcolor)
Sets the background color of Flash movie.
|
void |
Applet.setCode(String code)
Sets the applet class to run.
|
void |
Applet.setCodebase(String codebase)
Sets a relative base URL for applets specified in
Applet.setCode(_global_.String) (URL). |
void |
Applet.setField(String name,
String value)
Sets the value of the specified filed.
|
void |
Applet.setHspace(String hspace)
Sets the horizontal spacing around an applet.
|
void |
Track.setKind(String kind)
Set what kind of track it is.
|
void |
Track.setLabel(String label)
Sets a readable description of this track.
|
void |
Applet.setParam(String nm,
String val)
Sets the param.
|
void |
Audio.setPreload(String preload)
Sets whether and how the audio should be loaded.
|
void |
Flash.setQuality(String quality)
Sets the quality of the Flash movie.
|
void |
Track.setSrc(String src)
Sets the source address of this track.
|
void |
Flash.setSrc(String src)
Sets the source path of Flash movie
and redraw the component
|
void |
Audio.setSrc(String src)
Sets the src.
|
void |
Track.setSrclang(String srclang)
Sets the language of the source.
|
void |
Flash.setVersion(String version)
Sets the expected version of the Flash player.
|
void |
Applet.setVspace(String vspace)
Sets the vertical spacing around an applet.
|
void |
Flash.setWmode(String wmode)
Sets the Window Mode property of the Flash movie
for transparency, layering, and positioning in the browser.
|
Modifier and Type | Method and Description |
---|---|
String |
Menuitem.getAutodisable()
Returns a list of component IDs that shall be disabled when the user
clicks this menuitem.
|
String |
Menu.getContent()
Returns the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
String |
Menuitem.getHref()
Returns the href.
|
String |
Menubar.getOrient()
Returns the orient.
|
String |
Menuitem.getTarget()
Returns the target frame or window.
|
String |
Menuitem.getUpload()
Returns non-null if this button is used for file upload, or null otherwise.
|
String |
Menuitem.getValue()
Returns the value.
|
Modifier and Type | Method and Description |
---|---|
void |
Menuitem.setAutodisable(String autodisable)
Sets whether to disable the button after the user clicks it.
|
void |
Menu.setContent(String content)
Sets the embedded content (i.e., HTML tags) that is
shown as part of the description.
|
void |
Menuitem.setHref(String href)
Sets the href.
|
void |
Menubar.setOrient(String orient)
Sets the orient.
|
void |
Menuitem.setTarget(String target)
Sets the target frame or window.
|
void |
Menuitem.setUpload(String upload)
Sets the JavaScript class at the client to handle the upload if this
button is used for file upload.
|
void |
Menuitem.setValue(String value)
Sets the value.
|
Modifier and Type | Method and Description |
---|---|
String |
HeaderWidget.getAlign()
Returns the horizontal alignment of this column.
|
String |
FooterWidget.getAlign()
Returns the horizontal alignment of this footer.
|
String |
MeshWidget.getInnerWidth()
Returns the inner width of this component.
|
String |
ColumnMenuWidget.getMenupopup()
Returns the ID of the Menupopup (
Menupopup ) that should appear
when the user clicks on the element. |
String |
MeshWidget.getPagingPosition()
Returns how to position the paging of the widget at the client screen.
|
String |
SortWidget.getSortAscending()
Returns the ascending sorter, or null if not available.
|
String |
SortWidget.getSortDescending()
Returns the descending sorter, or null if not available.
|
String |
SortWidget.getSortDirection()
Returns the sort direction.
|
String |
MeshWidget.getSpan()
Return column span hint of this widget.
|
String |
HeaderWidget.getValign()
Returns the vertical alignment of this grid.
|
String |
FooterWidget.getValign()
Returns the vertical alignment of this footer.
|
protected String |
Paging.infoText_()
Returns the information text of the paging, if
Paging.isDetailed() is enabled. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SortWidget.checkClientSort_(String ascending)
Check the status whether can be sort in client side.
|
protected void |
SortWidget.replaceCavedChildrenInOrder_(String ascending)
Replaced the child widgets with the specified order.
|
void |
HeaderWidget.setAlign(String align)
Sets the horizontal alignment of this column.
|
void |
FooterWidget.setAlign(String align)
Sets the horizontal alignment of this footer.
|
void |
MeshWidget.setInnerWidth(String innerWidth)
Sets the inner width of this component.
|
void |
ColumnMenuWidget.setMenupopup(String mpop)
Sets the ID of the menupopup (
Menupopup ) that should appear
when the user clicks on the element of each column. |
void |
MeshWidget.setPagingPosition(String pagingPosition)
Sets how to position the paging of the widget at the client screen.
|
void |
SortWidget.setSort(String type)
Sets the type of the sorter.
|
void |
SortWidget.setSortAscending(String sortAscending)
Sets the ascending sorter with "client", "auto", or null for
no sorter for the ascending order.
|
void |
SortWidget.setSortDescending(String sortDescending)
Sets the descending sorter with "client", "auto", or null for
no sorter for the descending order.
|
void |
SortWidget.setSortDirection(String sortDir)
Sets the sort direction.
|
void |
MeshWidget.setSpan(String span)
Sets column span hint of this mesh widget.
|
void |
HeaderWidget.setValign(String valign)
Sets the vertical alignment of this grid.
|
void |
FooterWidget.setValign(String valign)
Sets the vertical alignment of this footer.
|
boolean |
SortWidget.sort(String ascending,
Event evt)
Sorts the data.
|
protected void |
HeaderWidget.updateMesh_(String name,
java.lang.Object value)
Updates the whole mesh widget.
|
Modifier and Type | Method and Description |
---|---|
String |
Listbox.getEmptyMessage()
Returns the message to display when there are no items
|
String |
Treeitem.getImage()
Returns the image of the
Treecell it contains. |
String |
Option.getLabel()
Returns the label of the
Listcell it contains, or null
if no such cell. |
String |
ItemWidget.getLabel()
|
String |
Optgroup.getLabel()
Returns the label of the
Listcell it contains, or null
if no such cell. |
String |
Treeitem.getLabel()
Returns the label of the
Treecell it contains, or null
if no such cell. |
String |
SelectWidget.getName()
Returns the name of this component.
|
String |
Select.getName()
Returns the name of this component.
|
String |
Listbox.getOddRowSclass()
Returns the style class for the odd rows.
|
String |
Option.getValue()
Returns the value.
|
String |
ItemWidget.getValue()
Returns the value.
|
Modifier and Type | Method and Description |
---|---|
void |
Listbox.setEmptyMessage(String msg)
Sets the message to display when there are no items
|
Treeitem |
Treeitem.setImage(String image)
Sets the image of the
Treecell it contains. |
void |
Listitem.setImage(String image)
Sets the image of the
Listcell it contains. |
void |
Treeitem.setLabel(String label)
Sets the label of the
Treecell it contains. |
void |
Listitem.setLabel(String label)
Sets the label of the
Listcell it contains. |
void |
SelectWidget.setName(String name)
Sets the name of this component.
|
void |
Select.setName(String name)
Sets the name of this component.
|
Listbox |
Listbox.setOddRowSclass(String oddRowSclass)
Sets the style class for the odd rows.
|
void |
Option.setValue(String value)
Sets the value.
|
void |
ItemWidget.setValue(String value)
Sets the value.
|
Modifier and Type | Method and Description |
---|---|
String |
Tabbox.getOrient()
Returns the orient.
|
String |
Tabbox.getPanelSpacing()
Returns the spacing between
Tabpanel . |
Modifier and Type | Method and Description |
---|---|
void |
Tabbox.setOrient(String orient)
Sets the orient.
|
void |
Tabbox.setPanelSpacing(String panelSpacing)
Sets the spacing between
Tabpanel . |
Modifier and Type | Method and Description |
---|---|
String |
Iframe.getAlign()
Deprecated.
as of release 6.0.0, use CSS instead.
|
String |
Script.getCharset()
Returns the character enconding of the source.
|
String |
Style.getContent()
Returns the content of this style tag.
|
String |
Script.getContent()
Returns the content of the script element.
|
String |
Style.getMedia()
Returns the media dependencies for this style sheet.
|
String |
Iframe.getName()
Returns the frame name.
|
String |
Iframe.getScrolling()
Deprecated.
as of release 7.0.0, use CSS instead.
|
String |
Style.getSrc()
Returns the URI of an external style sheet.
|
String |
Script.getSrc()
Returns the URI of the source that contains the script codes.
|
Modifier and Type | Method and Description |
---|---|
void |
Iframe.setAlign(String align)
Deprecated.
as of release 6.0.0, use CSS instead.
|
void |
Script.setCharset(String charset)
Sets the character encoding of the source.
|
void |
Style.setContent(String content)
Sets the content of this style tag.
|
void |
Script.setContent(String content)
Sets the content of the script element.
|
void |
Style.setMedia(String media)
Sets the media dependencies for this style sheet.
|
void |
Iframe.setName(String name)
Sets the frame name.
|
void |
Iframe.setScrolling(String scrolling)
Deprecated.
as of release 7.0.0, use CSS instead.
|
void |
Style.setSrc(String src)
Sets the URI of an external style sheet.
|
void |
Script.setSrc(String src)
Sets the URI of the source that contains the script codes.
|
Modifier and Type | Method and Description |
---|---|
String |
Image.getAlign()
Deprecated.
as of release 6.0.0, use CSS instead.
|
String |
Div.getAlign()
Deprecated.
as of release 6.0.0, use CSS instead.
|
String |
Cell.getAlign()
Returns the horizontal alignment.
|
String |
Toolbar.getAlign()
Returns the alignment of any children added to this toolbar.
|
String |
A.getAutodisable()
Returns a list of component IDs that shall be disabled when the user
clicks this anchor.
|
String |
Toolbarbutton.getAutodisable()
Returns a list of component IDs that shall be disabled when the user
clicks this button.
|
String |
Button.getAutodisable()
Returns a list of component IDs that shall be disabled when the user
clicks this button.
|
String |
Checkbox.getAutodisable()
Returns a list of checkbox component IDs that shall be disabled when the user
clicks this checkbox.
|
String |
Html.getContent()
Returns the embedded content (i.e., HTML tags).
|
String |
Groupbox.getContentSclass()
Returns the style class used for the content block of the groupbox.
|
String |
Groupbox.getContentStyle()
Returns the CSS style for the content block of the groupbox.
|
String |
Area.getCoords()
Returns the coordination of this area.
|
String |
A.getDir()
Returns the direction.
|
String |
Toolbarbutton.getDir()
Returns the direction.
|
String |
Button.getDir()
Returns the direction.
|
String |
Include.getEnclosingTag()
Returns the enclosing tag
|
String |
Label.getEncodedText()
Returns the encoded text.
|
String |
Image.getHover()
Returns the URI of the hover image.
|
String |
A.getHref()
Returns the href that the browser shall jump to, if an user clicks
this button.
|
String |
Toolbarbutton.getHref()
Returns the href that the browser shall jump to, if an user clicks
this button.
|
String |
Button.getHref()
Returns the href that the browser shall jump to, if an user clicks
this button.
|
String |
Image.getHspace()
Deprecated.
as of release 6.0.0, use CSS instead.
|
String |
Rating.getIconSclass()
Returns the iconSclass.
|
String |
Toolbarbutton.getMode()
Returns the mode.
|
String |
Selectbox.getName()
Returns the name of this component.
|
String |
Radio.getName()
Returns the name of this radio button.
|
String |
Radiogroup.getName()
Returns the name of this group of radio buttons.
|
String |
Checkbox.getName()
Returns the name of this component.
|
String |
Separator.getOrient()
Returns the orient.
|
String |
Toolbarbutton.getOrient()
Returns the orient.
|
String |
Radiogroup.getOrient()
Returns the orient.
|
String |
Button.getOrient()
Returns the orient.
|
String |
Toolbar.getOrient()
Returns the orient.
|
String |
Toolbar.getOverflowPopupIconSclass()
Returns the overflow sclass name of overflow popup icon of this toolbar.
|
String |
Area.getShape()
Returns the shape of this area.
|
String |
Separator.getSpacing()
Returns the spacing.
|
String |
Image.getSrc()
Returns the source URI of the image.
|
String |
A.getTarget()
Returns the target frame or window.
|
String |
Toolbarbutton.getTarget()
Returns the target frame or window.
|
String |
Button.getTarget()
Returns the target frame or window.
|
String |
Groupbox.getTitle()
Returns the title of the groupbox.
|
String |
Button.getType()
Returns the button type.
|
String |
Toolbarbutton.getUpload()
Returns non-null if this button is used for file upload, or null otherwise.
|
String |
Button.getUpload()
Returns non-null if this button is used for file upload, or null otherwise.
|
String |
Cell.getValign()
Returns the vertical alignment.
|
String |
Label.getValue()
Returns the value.
|
String |
Checkbox.getValue()
Returns the value.
|
String |
Image.getVspace()
Deprecated.
as of release 6.0.0, use CSS instead.
|
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.
|
void |
Image.setAlign(String align)
Deprecated.
as of release 6.0.0, use CSS instead.
|
void |
Div.setAlign(String align)
Deprecated.
as of release 6.0.0, use CSS instead.
|
void |
Cell.setAlign(String align)
Sets the horizontal alignment.
|
void |
Toolbar.setAlign(String align)
Sets the alignment of any children added to this toolbar.
|
void |
A.setAutodisable(String autodisable)
Sets whether to disable the anchor after the user clicks it.
|
void |
Toolbarbutton.setAutodisable(String autodisable)
Sets whether to disable the button after the user clicks it.
|
void |
Button.setAutodisable(String autodisable)
Sets whether to disable the button after the user clicks it.
|
void |
Checkbox.setAutodisable(String autodisable)
Sets whether to disable the checkbox after the user clicks it.
|
void |
Html.setContent(String content)
Sets the embedded content (i.e., HTML tags).
|
void |
Groupbox.setContentSclass(String contentSclass)
Sets the style class used for the content block.
|
void |
Groupbox.setContentStyle(String contentStyle)
Sets the CSS style for the content block of the groupbox.
|
void |
Area.setCoords(String coords)
Sets the coords of this area.
|
void |
A.setDir(String dir)
Sets the direction.
|
void |
Toolbarbutton.setDir(String dir)
Sets the direction.
|
void |
Button.setDir(String dir)
Sets the direction.
|
void |
Include.setEnclosingTag(String enclosing)
Sets the enclosing tag
|
void |
Image.setHover(String hover)
Sets the image URI.
|
void |
A.setHref(String href)
Sets the href.
|
void |
Toolbarbutton.setHref(String href)
Sets the href.
|
void |
Button.setHref(String href)
Sets the href.
|
void |
Image.setHspace(String hspace)
Deprecated.
as of release 6.0.0, use CSS instead.
|
void |
Rating.setIconSclass(String sclass)
Sets the iconSclass.
|
void |
Toolbarbutton.setMode(String mode)
Sets the mode.
|
void |
Selectbox.setName(String name)
Sets the name of this component.
|
void |
Radiogroup.setName(String name)
Sets the name of this group of radio buttons.
|
void |
Checkbox.setName(String name)
Sets the name of this component.
|
void |
Separator.setOrient(String orient)
Sets the orient.
|
void |
Toolbarbutton.setOrient(String orient)
Sets the orient.
|
void |
Radiogroup.setOrient(String orient)
Sets the orient.
|
void |
Button.setOrient(String orient)
Sets the orient.
|
void |
Toolbar.setOrient(String orient)
Sets the orient.
|
void |
Toolbar.setOverflowPopupIconSclass(String the)
Sets the overflow sclass name of overflow popup icon of this toolbar.
|
void |
Area.setShape(String shape)
Sets the shape of this area.
|
void |
Separator.setSpacing(String spacing)
Sets the spacing.
|
void |
Image.setSrc(String src)
Sets the source URI of the image.
|
void |
A.setTarget(String target)
Sets the target frame or window.
|
void |
Toolbarbutton.setTarget(String target)
Sets the target frame or window.
|
void |
Button.setTarget(String target)
Sets the target frame or window.
|
void |
Groupbox.setTitle(String title)
Sets the title of the groupbox.
|
void |
Button.setType(String type)
Sets the button type.
|
void |
Toolbarbutton.setUpload(String upload)
Sets the JavaScript class at the client to handle the upload if this
button is used for file upload.
|
void |
Button.setUpload(String upload)
Sets the JavaScript class at the client to handle the upload if this
button is used for file upload.
|
void |
Cell.setValign(String valign)
Sets the vertical alignment of this grid.
|
void |
Label.setValue(String value)
Sets the value.
|
void |
Checkbox.setValue(String value)
Sets the value.
|
void |
Image.setVspace(String vspace)
Deprecated.
as of release 6.0.0, use CSS instead.
|
Modifier and Type | Method and Description |
---|---|
String |
Panel.getBorder()
Returns the border.
|
String |
Window.getBorder()
Returns the border.
|
String |
Window.getContentSclass()
Returns the style class used for the content block.
|
String |
Window.getContentStyle()
Returns the CSS style for the content block of the window.
|
String |
Window.getMode()
Returns the current mode.
|
String |
Window.getPosition()
Returns how to position the window at the client screen.
|
String |
Panel.getTitle()
Returns the title.
|
String |
Window.getTitle()
Returns the title.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Panel.addToolbar(String name,
Toolbar toolbar)
Adds the toolbar of the panel by these names, "tbar", "bbar", and "fbar".
|
void |
Panel.setBorder(String border)
Sets the border.
|
void |
Window.setBorder(String border)
Sets the border (either none or normal).
|
void |
Window.setContentSclass(String contentSclass)
Sets the style class used for the content block.
|
void |
Window.setContentStyle(String contentStyle)
Sets the CSS style for the content block of the window.
|
void |
Panelchildren.setHeight(String height)
This method is unsupported.
|
void |
Window.setMode(String name)
Sets the mode to overlapped, popup, modal, embedded or highlighted.
|
void |
Window.setPosition(String pos)
Sets how to position the window at the client screen.
|
void |
Panel.setTitle(String title)
Sets the title.
|
void |
Window.setTitle(String title)
Sets the title.
|
void |
Panelchildren.setWidth(String width)
This method is unsupported.
|
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.