📄 dndmarkupgenerator.html
字号:
<BR> Generates markup that needs to be placed at the end of a DNDSource.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doEndDNDSource(com.ibm.portal.dnd.DNDSource, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer)">doEndDNDSource</A></B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out)</CODE><BR> Generates markup that needs to be placed at the end of a DNDSource.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doEndDNDSourceHandle(com.ibm.portal.dnd.DNDSource, javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.io.Writer)">doEndDNDSourceHandle</A></B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.portlet.PortletRequest req, javax.portlet.PortletResponse res, java.io.Writer out)</CODE><BR> Generates markup that needs to be placed at the end of a DNDSource handle.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doEndDNDSourceHandle(com.ibm.portal.dnd.DNDSource, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer)">doEndDNDSourceHandle</A></B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out)</CODE><BR> Generates markup that needs to be placed at the end of a DNDSource handle.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doEndDNDTarget(com.ibm.portal.dnd.DNDTarget, javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.io.Writer)">doEndDNDTarget</A></B>(<A HREF="../../../../com/ibm/portal/dnd/DNDTarget.html" title="interface in com.ibm.portal.dnd">DNDTarget</A> tgt, javax.portlet.PortletRequest req, javax.portlet.PortletResponse res, java.io.Writer out)</CODE><BR> Generates markup that needs to be placed at the end of a DNDTarget.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doEndDNDTarget(com.ibm.portal.dnd.DNDTarget, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer)">doEndDNDTarget</A></B>(<A HREF="../../../../com/ibm/portal/dnd/DNDTarget.html" title="interface in com.ibm.portal.dnd">DNDTarget</A> tgt, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out)</CODE><BR> Generates markup that needs to be placed at the end of a DNDTarget.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doLibraryIncludeMarkup(javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.io.Writer)">doLibraryIncludeMarkup</A></B>(javax.portlet.PortletRequest req, javax.portlet.PortletResponse res, java.io.Writer out)</CODE><BR> This method generates the markup that includes required DnD javascript libraries in a response.</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="../../../../com/ibm/portal/dnd/DNDMarkupGenerator.html#doLibraryIncludeMarkup(javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer)">doLibraryIncludeMarkup</A></B>(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out)</CODE><BR> This method generates the markup that includes required DnD javascript libraries in a response.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="doLibraryIncludeMarkup(javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer)"><!-- --></A><H3>doLibraryIncludeMarkup</H3><PRE>public void <B>doLibraryIncludeMarkup</B>(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out)</PRE><DL><DD>This method generates the markup that includes required DnD javascript libraries in a response. These libraries should only be "included" once, so markup will only be written out on the first call made to this method during a request. Any subsequent calls for a given request will not write any markup. Since this markup is only generated once per request, all components on a page using DnD must trust that other components on the page will insert this markup into the page if they are the first component to call this method. If this markup is not included in the request, all DnD function will break.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>req</CODE> - the servlet request<DD><CODE>res</CODE> - the servlet response<DD><CODE>out</CODE> - the java.io.Writer to write output to</DL></DD></DL><HR><A NAME="doLibraryIncludeMarkup(javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.io.Writer)"><!-- --></A><H3>doLibraryIncludeMarkup</H3><PRE>public void <B>doLibraryIncludeMarkup</B>(javax.portlet.PortletRequest req, javax.portlet.PortletResponse res, java.io.Writer out)</PRE><DL><DD>This method generates the markup that includes required DnD javascript libraries in a response. These libraries should only be "included" once, so markup will only be written out on the first call made to this method during a request. Any subsequent calls for a given request will not write any markup. Since this markup is only generated once per request, all components on a page using DnD must trust that other components on the page will insert this markup into the page if they are the first component to call this method. If this markup is not included in the request, all DnD function will break.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>req</CODE> - the portlet request<DD><CODE>res</CODE> - the portlet response<DD><CODE>out</CODE> - the java.io.Writer to write output to</DL></DD></DL><HR><A NAME="doBeginDNDSource(com.ibm.portal.dnd.DNDSource, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer, boolean)"><!-- --></A><H3>doBeginDNDSource</H3><PRE>public void <B>doBeginDNDSource</B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out, boolean includeDragHandle) throws <A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></PRE><DL><DD>Generates markup that needs to be placed at the beginning of a DNDSource.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the DNDSource markup is being generated for<DD><CODE>req</CODE> - the servlet request<DD><CODE>res</CODE> - the servlet response<DD><CODE>out</CODE> - the java.io.Writer to write output to<DD><CODE>includeDragHandle</CODE> - true if we should generate a handle from this method<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></CODE> - This exception will be thrown if, for some reason, the markup cannot be generated.</DL></DD></DL><HR><A NAME="doBeginDNDSource(com.ibm.portal.dnd.DNDSource, javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.io.Writer, boolean)"><!-- --></A><H3>doBeginDNDSource</H3><PRE>public void <B>doBeginDNDSource</B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.portlet.PortletRequest req, javax.portlet.PortletResponse res, java.io.Writer out, boolean includeDragHandle) throws <A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></PRE><DL><DD>Generates markup that needs to be placed at the beginning of a DNDSource.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the DNDSource markup is being generated for<DD><CODE>req</CODE> - the portlet request<DD><CODE>res</CODE> - the portlet response<DD><CODE>out</CODE> - the java.io.Writer to write output to<DD><CODE>includeDragHandle</CODE> - true if we should generate a handle from this method<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></CODE> - This exception will be thrown if, for some reason, the markup cannot be generated.</DL></DD></DL><HR><A NAME="doBeginDNDSourceHandle(com.ibm.portal.dnd.DNDSource, javax.servlet.ServletRequest, javax.servlet.ServletResponse, java.io.Writer)"><!-- --></A><H3>doBeginDNDSourceHandle</H3><PRE>public void <B>doBeginDNDSourceHandle</B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, java.io.Writer out) throws <A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></PRE><DL><DD>Generates markup that needs to be placed at the beginning of a DNDSource handle.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the DNDSource that handle markup is being generated for<DD><CODE>req</CODE> - the servlet request<DD><CODE>res</CODE> - the servlet response<DD><CODE>out</CODE> - the java.io.Writer to write output to<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></CODE> - This exception will be thrown if, for some reason, the markup cannot be generated.</DL></DD></DL><HR><A NAME="doBeginDNDSourceHandle(com.ibm.portal.dnd.DNDSource, javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.io.Writer)"><!-- --></A><H3>doBeginDNDSourceHandle</H3><PRE>public void <B>doBeginDNDSourceHandle</B>(<A HREF="../../../../com/ibm/portal/dnd/DNDSource.html" title="interface in com.ibm.portal.dnd">DNDSource</A> src, javax.portlet.PortletRequest req, javax.portlet.PortletResponse res, java.io.Writer out) throws <A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></PRE><DL><DD>Generates markup that needs to be placed at the beginning of a DNDSource handle.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the DNDSource that handle markup is being generated for<DD><CODE>req</CODE> - the portlet request<DD><CODE>res</CODE> - the portlet response<DD><CODE>out</CODE> - the java.io.Writer to write output to<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/ibm/portal/dnd/DNDMarkupGeneratorException.html" title="class in com.ibm.portal.dnd">DNDMarkupGeneratorException</A></CODE> - This exception will be thrown if, for some reason, the markup cannot be generated.</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -