📄 dndaction.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.4.2) on Wed Jul 19 18:22:41 EDT 2006 --><TITLE>DNDAction (IBM WebSphere Portal Version 6.0.0.0 API Docs)</TITLE><META NAME="keywords" CONTENT="com.ibm.portal.dnd.DNDAction interface"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="DNDAction (IBM WebSphere Portal Version 6.0.0.0 API Docs)";}</SCRIPT></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=3 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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </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="../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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"> PREV CLASS <A HREF="../../../../com/ibm/portal/dnd/DNDArea.html" title="interface in com.ibm.portal.dnd"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DNDAction.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><A NAME="main"></A><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.ibm.portal.dnd</FONT><BR>Interface DNDAction</H2><HR><DL><DT>public interface <B>DNDAction</B></DL><P>A DNDAction represents an action that should be invoked by a drop zone when a drop occurs. DNDActions have one or more properties associated with them and an object dropped on this DNDAction's drop zone must possess all of the properties associated with this DNDAction in order for the drop zone to invoke it.<P><P><DL><DT><B>Since:</B></DT> <DD>6.0</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_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>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getAction()">getAction</A></B>()</CODE><BR> Returns the String representation of the DNDAction's action - typically a URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getActiveCssClassName()">getActiveCssClassName</A></B>()</CODE><BR> Return the CSS class name for this DNDAction when in the "active" state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getAwareCssClassName()">getAwareCssClassName</A></B>()</CODE><BR> Return the CSS class name for this DNDAction when in the "aware" state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/ibm/portal/dnd/DNDProperty.html" title="interface in com.ibm.portal.dnd">DNDProperty</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getDNDProperties()">getDNDProperties</A></B>()</CODE><BR> Returns the DNDProperties associated with this DNDAction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getMultiselectDelimiter()">getMultiselectDelimiter</A></B>()</CODE><BR> Return the delimiter to be used to separate values when a multiselect drop occurs.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getOptionalActionHandlerMarkup()">getOptionalActionHandlerMarkup</A></B>()</CODE><BR> Returns optional javascript to be executed when a drag object is dropped onto a drop zone containing this action and causing it to be invoked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/ibm/portal/dnd/DNDValidator.html" title="interface in com.ibm.portal.dnd">DNDValidator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#getValidator()">getValidator</A></B>()</CODE><BR> Returns an instance of the DNDValidator for this DNDAction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/ibm/portal/dnd/DNDAction.html#supportsMultiselect()">supportsMultiselect</A></B>()</CODE><BR> Returns true if this DNDAction can support multiple DNDSources being dropped on it at the same time.</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="getAction()"><!-- --></A><H3>getAction</H3><PRE>public java.lang.String <B>getAction</B>()</PRE><DL><DD>Returns the String representation of the DNDAction's action - typically a URL. This will not be null.<P><DD><DL><DT><B>Returns:</B><DD>the action (a URL)</DL></DD></DL><HR><A NAME="getValidator()"><!-- --></A><H3>getValidator</H3><PRE>public <A HREF="../../../../com/ibm/portal/dnd/DNDValidator.html" title="interface in com.ibm.portal.dnd">DNDValidator</A> <B>getValidator</B>()</PRE><DL><DD>Returns an instance of the DNDValidator for this DNDAction. This is allowed to be null.<P><DD><DL><DT><B>Returns:</B><DD>a DNDValidator instance</DL></DD></DL><HR><A NAME="getDNDProperties()"><!-- --></A><H3>getDNDProperties</H3><PRE>public <A HREF="../../../../com/ibm/portal/dnd/DNDProperty.html" title="interface in com.ibm.portal.dnd">DNDProperty</A>[] <B>getDNDProperties</B>()</PRE><DL><DD>Returns the DNDProperties associated with this DNDAction.<P><DD><DL><DT><B>Returns:</B><DD>an array of DNDProperties</DL></DD></DL><HR><A NAME="getOptionalActionHandlerMarkup()"><!-- --></A><H3>getOptionalActionHandlerMarkup</H3><PRE>public java.lang.String <B>getOptionalActionHandlerMarkup</B>()</PRE><DL><DD>Returns optional javascript to be executed when a drag object is dropped onto a drop zone containing this action and causing it to be invoked.<P><DD><DL><DT><B>Returns:</B><DD>optional javascript to be executed for a an action, or null</DL></DD></DL><HR><A NAME="getActiveCssClassName()"><!-- --></A><H3>getActiveCssClassName</H3><PRE>public java.lang.String <B>getActiveCssClassName</B>()</PRE><DL><DD>Return the CSS class name for this DNDAction when in the "active" state. This should rarely be overridden and should generally use a default value. This will not be null.<P><DD><DL><DT><B>Returns:</B><DD>the CSS class name</DL></DD></DL><HR><A NAME="getAwareCssClassName()"><!-- --></A><H3>getAwareCssClassName</H3><PRE>public java.lang.String <B>getAwareCssClassName</B>()</PRE><DL><DD>Return the CSS class name for this DNDAction when in the "aware" state. This should rarely be overridden and should generally use a default value. This will not be null.<P><DD><DL><DT><B>Returns:</B><DD>the CSS class name</DL></DD></DL><HR><A NAME="supportsMultiselect()"><!-- --></A><H3>supportsMultiselect</H3><PRE>public boolean <B>supportsMultiselect</B>()</PRE><DL><DD>Returns true if this DNDAction can support multiple DNDSources being dropped on it at the same time.<P><DD><DL><DT><B>Returns:</B><DD>true if this DNDAction supports multiselect</DL></DD></DL><HR><A NAME="getMultiselectDelimiter()"><!-- --></A><H3>getMultiselectDelimiter</H3><PRE>public java.lang.String <B>getMultiselectDelimiter</B>()</PRE><DL><DD>Return the delimiter to be used to separate values when a multiselect drop occurs. This value can be null<P><DD><DL><DT><B>Returns:</B><DD>the delimiter to separate values in a multiselect drop</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 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>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </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="../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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"> PREV CLASS <A HREF="../../../../com/ibm/portal/dnd/DNDArea.html" title="interface in com.ibm.portal.dnd"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DNDAction.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</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 + -