📄 window.html
字号:
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>构造函数详细信息</B></FONT></TH>
</TR>
</TABLE>
<A NAME="Window()"><!-- --></A><H3>
Window</H3>
<PRE>
public <B>Window</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>方法详细信息</B></FONT></TH>
</TR>
</TABLE>
<A NAME="$(net.conic.prototype.Object...)"><!-- --></A><H3>
$</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/Window.html" title="Window 中的类型参数">OA</A> <B>$</B>(<A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>... elements)</PRE>
<DL>
<DD>$()方法是document.getElementById()的一个快捷方式引用,但它又做了增强
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>elements</CODE> - 一个或者多个DOM元素的id<b><i>(必须是String类型)</i></b>或者其它对象
<DT><B>返回:</B><DD>根据传入的DOM元素的id或者对象,返回相应的对象. <ul> 与入口参数类型相关的返回 <i> <li>入口参数elements传入的是一个字符串对象,则将其当做DOM对象id,用document.getElementById()方法取其对象 <li>入口参数elements传入非字符串对象,则原样返回; </i> </ul> <ul> 与入口参数个数相关的返回 <i> <li>入口参数elements只传入一个,则返回一个对象; <li>入口参数elements传入多个,则返回相应的数组对象; <li>入口参数elements不传,则返回空数组; </i> </ul> <p><b>Example:</b></p><pre><div id="myDiv"><p>This is a paragraph</p></div><script language="javascript">alert($("myDiv").innerHTML);</script></pre></DL>
</DD>
</DL>
<HR>
<A NAME="$F(net.conic.prototype.String)"><!-- --></A><H3>
$F</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> <B>$F</B>(<A HREF="../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> id)</PRE>
<DL>
<DD>取得表单对象值的快捷方式引用 <p><b>Example:</b></p><pre><script> function test3() { alert( $F('userName') ); }</script><input type="text" id="userName" value="Joe Doe"><br> <input type="button" value=Test3 onclick="test3();"><br> </pre>
<P>
<DD><DL>
<DT><B>另请参见:</B><DD><a href="Form.FormElement.html#getValue(net.conic.prototype.Object">Form.Element.getValue(Object)</a></DL>
</DD>
</DL>
<HR>
<A NAME="$A(net.conic.prototype.Object)"><!-- --></A><H3>
$A</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A> <B>$A</B>(<A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> object)</PRE>
<DL>
<DD>将任何的可枚举(iterable)类型对象转换成Array对象
<P>
<DD><DL>
<DT><B>另请参见:</B><DD><A HREF="../../../net/conic/prototype/Array.html#from(net.conic.prototype.Object)"><CODE>Array.from(Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="$H(net.conic.prototype.Object...)"><!-- --></A><H3>
$H</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> <B>$H</B>(<A HREF="../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>... objects)</PRE>
<DL>
<DD>将一个NV数组对象({name1:value1,name2:value2})转换成Hash对象的快捷方式引用
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>objects</CODE> - 一个NV数组对象
<DT><B>返回:</B><DD>Hash对象 <p><b>Example:</b></p><pre> //创建一个对象 var a = {first: 10,second: 20,third: 30}; //将其转换成Hash对象 var h = $H(a); alert(h.toQueryString()); //显示: first=10&second=20&third=30</pre><DT><B>另请参见:</B><DD><A HREF="../../../net/conic/prototype/Hash.html" title="net.conic.prototype 中的类"><CODE>Hash</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="$R(int, int, boolean)"><!-- --></A><H3>
$R</H3>
<PRE>
public <A HREF="../../../net/conic/prototype/ObjectRange.html" title="net.conic.prototype 中的类">ObjectRange</A> <B>$R</B>(int start,
int end,
boolean exclusive)</PRE>
<DL>
<DD>ObjectRange对象的直接实例化方法,类似简单Factory方式
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>start</CODE> - 起始值<DD><CODE>end</CODE> - 结束值<DD><CODE>exclusive</CODE> - false:不包含结束值;true:包含结束值;
<DT><B>返回:</B><DD>ObjectRange<DT><B>另请参见:</B><DD><A HREF="../../../net/conic/prototype/ObjectRange.html" title="net.conic.prototype 中的类"><CODE>ObjectRange</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../net/conic/prototype/package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>类</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Window.html"><FONT CLASS="NavBarFont1"><B>使用</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</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="../../../net/conic/prototype/Try.html" title="net.conic.prototype 中的类"><B>上一个类</B></A>
下一个类</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?net/conic/prototype/Window.html" target="_top"><B>框架</B></A>
<A HREF="Window.html" target="_top"><B>无框架</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>所有类</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
摘要: 嵌套 | 字段 | <A HREF="#constructor_summary">构造函数</A> | <A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息: 字段 | <A HREF="#constructor_detail">构造函数</A> | <A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -