📄 api.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_11) on Tue Oct 23 19:38:40 EEST 2007 --><TITLE>API (Widsets API)</TITLE><META NAME="keywords" CONTENT="API class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="API (Widsets API)";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../widsets/api/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../widsets/api/ActionCallback.html" title="interface in "><B>PREV CLASS</B></A> <A HREF="../../widsets/api/Buffer.html" title="class in "><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?widsets/api/API.html" target="_top"><B>FRAMES</B></A> <A HREF="API.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1"></FONT><BR>Class API</H2><PRE> <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>API</B></PRE><HR><DL><DT><PRE> class <B>API</B><DT></DL></PRE><P><p>This class contains constants and functions that available on scripts globally, without any prefix.</p> <p> Note that members that are marked as <code>protected</code> are only accessible when compiling in <b>privileged</b> mode (see <CODE>System</CODE>, <CODE>Widget</CODE>). </p><P><P><HR><P><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Field Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#AM">AM</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> 12-hour clock: morning</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#AM_PM">AM_PM</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> field</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#ANY">ANY</A></B></CODE><BR> <A HREF="../../widsets/api/Input.html" title="class in "><CODE>Input</CODE></A> flags: Any input allowed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#APRIL">APRIL</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> month of year</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#AUGUST">AUGUST</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> month of year</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#BASELINE">BASELINE</A></B></CODE><BR> Vertical alignment flag</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#BLURRED">BLURRED</A></B></CODE><BR> Implicit action: Called by the system when focus leaves the widget</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#BOTTOM">BOTTOM</A></B></CODE><BR> Vertical alignment flag</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#DATE">DATE</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> field</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#DAY_OF_MONTH">DAY_OF_MONTH</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> field</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#DAY_OF_WEEK">DAY_OF_WEEK</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> field</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#DECEMBER">DECEMBER</A></B></CODE><BR> <A HREF="../../widsets/api/Calendar.html" title="class in "><CODE>Calendar</CODE></A> month of year</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#DECIMAL">DECIMAL</A></B></CODE><BR> <A HREF="../../widsets/api/Input.html" title="class in "><CODE>Input</CODE></A> flags: Field is number</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#DIMMED">DIMMED</A></B></CODE><BR> <A HREF="../../widsets/api/Shell.html" title="class in "><CODE>Shell</CODE></A> and <A HREF="../../widsets/api/Popup.html" title="class in "><CODE>Popup</CODE></A> flag: Indicates that a dimming layer should be applied on background before painting.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#EMAILADDR">EMAILADDR</A></B></CODE><BR> <A HREF="../../widsets/api/Input.html" title="class in "><CODE>Input</CODE></A> flags: Field is email address</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#FACE_MONOSPACE">FACE_MONOSPACE</A></B></CODE><BR> Face of <A HREF="../../widsets/api/Font.html" title="class in "><CODE>Font</CODE></A></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#FACE_PROPORTIONAL">FACE_PROPORTIONAL</A></B></CODE><BR> Face of <A HREF="../../widsets/api/Font.html" title="class in "><CODE>Font</CODE></A></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../widsets/api/API.html#FACE_SYSTEM">FACE_SYSTEM</A></B></CODE><BR> Face of <A HREF="../../widsets/api/Font.html" title="class in "><CODE>Font</CODE></A></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -