📄 api.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#abs(long)">abs</A></B>(long i)</CODE><BR> Returns the absolute value of an <code>long</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#call(Object, String, String, Value)">call</A></B>(<A HREF="../../widsets/api/Object.html" title="class in ">Object</A> state, <A HREF="../../widsets/api/String.html" title="class in ">String</A> service, <A HREF="../../widsets/api/String.html" title="class in ">String</A> action, <A HREF="../../widsets/api/Value.html" title="class in ">Value</A> argument)</CODE><BR> Calls a server side service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#call(Object, String, String, Value, SuccessCallback, FailureCallback)">call</A></B>(<A HREF="../../widsets/api/Object.html" title="class in ">Object</A> state, <A HREF="../../widsets/api/String.html" title="class in ">String</A> service, <A HREF="../../widsets/api/String.html" title="class in ">String</A> action, <A HREF="../../widsets/api/Value.html" title="class in ">Value</A> argument, <A HREF="../../widsets/api/SuccessCallback.html" title="interface in ">SuccessCallback</A> onSuccess, <A HREF="../../widsets/api/FailureCallback.html" title="interface in ">FailureCallback</A> onFailure)</CODE><BR> Calls a server side service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#call(Object, String, Value, SuccessCallback, FailureCallback)">call</A></B>(<A HREF="../../widsets/api/Object.html" title="class in ">Object</A> state, <A HREF="../../widsets/api/String.html" title="class in ">String</A> serviceVersionAction, <A HREF="../../widsets/api/Value.html" title="class in ">Value</A> argument, <A HREF="../../widsets/api/SuccessCallback.html" title="interface in ">SuccessCallback</A> onSuccess, <A HREF="../../widsets/api/FailureCallback.html" title="interface in ">FailureCallback</A> onFailure)</CODE><BR> Calls a server side service anonymously.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#cos(int)">cos</A></B>(int a)</CODE><BR> Returns the trigonometric cosine of an angle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/View.html" title="class in ">View</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#createMaximizedView(String, Object)">createMaximizedView</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> name, <A HREF="../../widsets/api/Object.html" title="class in ">Object</A> context)</CODE><BR> <B>Deprecated.</B> <I>Use <A HREF="../../widsets/api/API.html#createView(String, Object)"><CODE>createView(String, Object)</CODE></A> instead</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/View.html" title="class in ">View</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#createMinimizedView(String, Object)">createMinimizedView</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> name, <A HREF="../../widsets/api/Object.html" title="class in ">Object</A> context)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/View.html" title="class in ">View</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#createView(String, Object)">createView</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> name, <A HREF="../../widsets/api/Object.html" title="class in ">Object</A> context)</CODE><BR> Creates a view according to view specification on <code>widget.xml</code> file of this widget.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#currentTimeMillis()">currentTimeMillis</A></B>()</CODE><BR> Returns the current time in milliseconds.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/ByteArray.html" title="class in ">ByteArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#decodeHex(String)">decodeHex</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> string)</CODE><BR> Decodes specified string into ByteArray, assuming it contains hexadecimal notation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/String.html" title="class in ">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#decodeString(ByteArray, String)">decodeString</A></B>(<A HREF="../../widsets/api/ByteArray.html" title="class in ">ByteArray</A> array, <A HREF="../../widsets/api/String.html" title="class in ">String</A> encoding)</CODE><BR> Construct a new String by converting the specified array of bytes using the specified character encoding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#dumpTree(Component)">dumpTree</A></B>(<A HREF="../../widsets/api/Component.html" title="class in ">Component</A> c)</CODE><BR> Prints component-tree of given component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/String.html" title="class in ">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#encodeHex(ByteArray)">encodeHex</A></B>(<A HREF="../../widsets/api/ByteArray.html" title="class in ">ByteArray</A> array)</CODE><BR> Encodes specified array into hexadecimal notation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/ByteArray.html" title="class in ">ByteArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#encodeString(String, String)">encodeString</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> string, <A HREF="../../widsets/api/String.html" title="class in ">String</A> encoding)</CODE><BR> Converts the specified String into bytes according to the specified character encoding, storing the result into a new byte array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/String.html" title="class in ">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#encodeURL(String)">encodeURL</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> string)</CODE><BR> Encodes the specified string using url encoding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#flushScreen(boolean)">flushScreen</A></B>(boolean repaintAll)</CODE><BR> Repaints whole UI or selected components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/String.html" title="class in ">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#format$(String)">format$</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> format)</CODE><BR> Creates a formatted string according to C-style %conventions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/List.html" title="class in ">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getAvailableTimeZones()">getAvailableTimeZones</A></B>()</CODE><BR> Gets all the available IDs supported.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Config.html" title="class in ">Config</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getConfig()">getConfig</A></B>()</CODE><BR> Returns widget's config.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/TimeZone.html" title="class in ">TimeZone</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getDefaultTimeZone()">getDefaultTimeZone</A></B>()</CODE><BR> Gets the default TimeZone for this host.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int, int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getDisplaySize()">getDisplaySize</A></B>()</CODE><BR> Returns total size of display, including menu-button area.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Font.html" title="class in ">Font</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getFont(int, int, int)">getFont</A></B>(int face, int style, int size)</CODE><BR> Returns the font object according to given parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Image.html" title="class in ">Image</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getImage(ByteArray)">getImage</A></B>(<A HREF="../../widsets/api/ByteArray.html" title="class in ">ByteArray</A> data)</CODE><BR> Creates an image from supplied <code>.png</code> encoded data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Image.html" title="class in ">Image</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getImage(Store, String)">getImage</A></B>(<A HREF="../../widsets/api/Store.html" title="class in ">Store</A> store, <A HREF="../../widsets/api/String.html" title="class in ">String</A> name)</CODE><BR> Creates an image from <code>.png</code> encoded data stored under given name at Store.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Image.html" title="class in ">Image</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getImage(String)">getImage</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> name)</CODE><BR> Creates an image according the <code>.png</code> stored on client <code>.jar</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long, long</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getMemoryUsage()">getMemoryUsage</A></B>()</CODE><BR> Returns the current memory usage of system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Flow.html" title="class in ">Flow</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getMinimizedView()">getMinimizedView</A></B>()</CODE><BR> Returns the current minimized view of this widget.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/String.html" title="class in ">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getParameter(String)">getParameter</A></B>(<A HREF="../../widsets/api/String.html" title="class in ">String</A> name)</CODE><BR> Returns the current value of given parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Map.html" title="class in ">Map</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#getParameters()">getParameters</A></B>()</CODE><BR> Returns a map containing all parameters for this widget.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../widsets/api/Picture.html" title="class in ">Pictu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -