📄 ajaxresponders.html
字号:
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/conic/prototype/ajax/AjaxResponders.html#unregister(net.conic.prototype.Function)">unregister</A></B>(<A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> responderToRemove)</CODE>
<BR>
取消注入的dispatch对象成员</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.conic.prototype.Enumerable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 net.conic.prototype.<A HREF="../../../../net/conic/prototype/Enumerable.html" title="net.conic.prototype 中的类">Enumerable</A> 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/conic/prototype/Enumerable.html#all(net.conic.prototype.Iterator)">all</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#any(net.conic.prototype.Iterator)">any</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#collect(net.conic.prototype.Iterator)">collect</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#detect(net.conic.prototype.Iterator)">detect</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#each(net.conic.prototype.Iterator)">each</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#entries()">entries</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#find(net.conic.prototype.Iterator)">find</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#findAll(net.conic.prototype.Iterator)">findAll</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#grep(net.conic.prototype.Pattern, net.conic.prototype.Iterator)">grep</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#include(net.conic.prototype.Object)">include</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#inject(net.conic.prototype.Object, net.conic.prototype.Iterator)">inject</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#inspect()">inspect</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#invoke(net.conic.prototype.String, net.conic.prototype.Object...)">invoke</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#map(net.conic.prototype.Iterator)">map</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#max(net.conic.prototype.Iterator)">max</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#member(net.conic.prototype.Object)">member</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#min(net.conic.prototype.Iterator)">min</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#partition(net.conic.prototype.Iterator)">partition</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#pluck(net.conic.prototype.String)">pluck</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#reject(net.conic.prototype.Iterator)">reject</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#select(net.conic.prototype.Iterator)">select</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#sortBy(net.conic.prototype.Iterator)">sortBy</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#toArray()">toArray</A>, <A HREF="../../../../net/conic/prototype/Enumerable.html#zip(net.conic.prototype.Object...)">zip</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.conic.prototype.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 net.conic.prototype.<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A> 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/conic/prototype/Object.html#extend(net.conic.prototype.JSClass)">extend</A>, <A HREF="../../../../net/conic/prototype/Object.html#extend(net.conic.prototype.JSClass, net.conic.prototype.JSClass)">extend</A>, <A HREF="../../../../net/conic/prototype/Object.html#inspect(net.conic.prototype.Object)">inspect</A>, <A HREF="../../../../net/conic/prototype/Object.html#toString(int)">toString</A>, <A HREF="../../../../net/conic/prototype/Object.html#valueOf()">valueOf</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>从类 java.lang.Object 继承的方法</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ 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="getInstance()"><!-- --></A><H3>
getInstance</H3>
<PRE>
public static <A HREF="../../../../net/conic/prototype/ajax/AjaxResponders.html" title="net.conic.prototype.ajax 中的类">AjaxResponders</A> <B>getInstance</B>()</PRE>
<DL>
<DD>取得全局唯一的AjaxResponders引用对象,singleton pattern. <br><br><b>JS语法:</b> Ajax.Responders.method();
<P>
<DD><DL>
<DT><B>返回:</B><DD>AjaxResponders,这是一个虚拟的方法,只是为了说明此是单例的对象.具体调用请直接使用Ajax.Responders.method()</DL>
</DD>
</DL>
<HR>
<A NAME="_each(net.conic.prototype.IteratorAdapter)"><!-- --></A><H3>
_each</H3>
<PRE>
protected void <B>_each</B>(<A HREF="../../../../net/conic/prototype/IteratorAdapter.html" title="net.conic.prototype 中的类">IteratorAdapter</A> each)</PRE>
<DL>
<DD><B>从类 <CODE><A HREF="../../../../net/conic/prototype/Enumerable.html#_each(net.conic.prototype.IteratorAdapter)">Enumerable</A></CODE> 复制的描述</B></DD>
<DD>执行each()方法时内部遍历操作都将执行此方法 ,此方法在prototype的源码中并未在Enumerable对象上做定义 ,在这里用java语言特性定义成protected abstract就是为了重点说明需要继承使用Enumerable特性的JS子类必须实现此方法!
<P>
<DD><DL>
<DT><B>指定者:</B><DD>类 <CODE><A HREF="../../../../net/conic/prototype/Enumerable.html" title="net.conic.prototype 中的类">Enumerable</A></CODE> 中的 <CODE><A HREF="../../../../net/conic/prototype/Enumerable.html#_each(net.conic.prototype.IteratorAdapter)">_each</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>each</CODE> - function</DL>
</DD>
</DL>
<HR>
<A NAME="register(net.conic.prototype.Function)"><!-- --></A><H3>
register</H3>
<PRE>
public void <B>register</B>(<A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> responderToAdd)</PRE>
<DL>
<DD>注入可用dispatch对象成员
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>responderToAdd</CODE> - 添加</DL>
</DD>
</DL>
<HR>
<A NAME="unregister(net.conic.prototype.Function)"><!-- --></A><H3>
unregister</H3>
<PRE>
public void <B>unregister</B>(<A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> responderToRemove)</PRE>
<DL>
<DD>取消注入的dispatch对象成员
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>responderToRemove</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="dispatch(net.conic.prototype.Function, java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
dispatch</H3>
<PRE>
public void <B>dispatch</B>(<A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A> callback,
java.lang.Object request,
java.lang.Object transport,
java.lang.Object json)</PRE>
<DL>
<DD>分派执行指定的对象成员
<P>
<DD><DL>
<DT><B>参数:</B><DD><CODE>callback</CODE> - 指定的对象成员,目前只提供一个包含[onCreate,onComplete]的对象<DD><CODE>request</CODE> - Ajax请求对象<DD><CODE>transport</CODE> - Ajax请求对象内部的xmlhttp的对象<DD><CODE>json</CODE> - 响应后的json的对象</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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>概述</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="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/AjaxResponders.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/ajax/AjaxRequest.html" title="net.conic.prototype.ajax 中的类"><B>上一个类</B></A>
<A HREF="../../../../net/conic/prototype/ajax/AjaxUpdater.html" title="net.conic.prototype.ajax 中的类"><B>下一个类</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/conic/prototype/ajax/AjaxResponders.html" target="_top"><B>框架</B></A>
<A HREF="AjaxResponders.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="#fields_inherited_from_class_net.conic.prototype.Object">字段</A> | 构造函数 | <A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息: 字段 | 构造函数 | <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 + -