📄 beanconnection.html
字号:
</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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public static void <B>reset</B>()</PRE><DL><DD>Reset the list of connections<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getConnections()"><!-- --></A><H3>getConnections</H3><PRE>public static java.util.Vector <B>getConnections</B>()</PRE><DL><DD>Returns the list of connections<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the list of connections</DL></DD></DL><HR><A NAME="setConnections(java.util.Vector)"><!-- --></A><H3>setConnections</H3><PRE>public static void <B>setConnections</B>(java.util.Vector connections)</PRE><DL><DD>Describe <code>setConnections</code> method here.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>connections</CODE> - a <code>Vector</code> value</DL></DD></DL><HR><A NAME="associatedConnections(java.util.Vector)"><!-- --></A><H3>associatedConnections</H3><PRE>public static java.util.Vector <B>associatedConnections</B>(java.util.Vector subFlow)</PRE><DL><DD>Returns a vector of BeanConnections associated with the supplied vector of BeanInstances, i.e. all connections that exist between those BeanInstances in the subFlow.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subFlow</CODE> - a Vector of BeanInstances<DT><B>Returns:</B><DD>a Vector of BeanConnections</DL></DD></DL><HR><A NAME="inputs(java.util.Vector)"><!-- --></A><H3>inputs</H3><PRE>public static java.util.Vector <B>inputs</B>(java.util.Vector subset)</PRE><DL><DD>Returns a vector of BeanInstances that can be considered as inputs (or the left-hand side of a sub-flow)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subset</CODE> - the sub-flow to examine<DT><B>Returns:</B><DD>a Vector of inputs to the sub-flow</DL></DD></DL><HR><A NAME="outputs(java.util.Vector)"><!-- --></A><H3>outputs</H3><PRE>public static java.util.Vector <B>outputs</B>(java.util.Vector subset)</PRE><DL><DD>Returns a vector of BeanInstances that can be considered as outputs (or the right-hand side of a sub-flow)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subset</CODE> - the sub-flow to examine<DT><B>Returns:</B><DD>a Vector of outputs of the sub-flow</DL></DD></DL><HR><A NAME="paintConnections(java.awt.Graphics)"><!-- --></A><H3>paintConnections</H3><PRE>public static void <B>paintConnections</B>(java.awt.Graphics gx)</PRE><DL><DD>Renders the connections and their names on the supplied graphics context<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gx</CODE> - a <code>Graphics</code> value</DL></DD></DL><HR><A NAME="getClosestConnections(java.awt.Point, int)"><!-- --></A><H3>getClosestConnections</H3><PRE>public static java.util.Vector <B>getClosestConnections</B>(java.awt.Point pt, int delta)</PRE><DL><DD>Return a list of connections within some delta of a point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pt</CODE> - the point at which to look for connections<DD><CODE>delta</CODE> - connections have to be within this delta of the point<DT><B>Returns:</B><DD>a list of connections</DL></DD></DL><HR><A NAME="removeConnections(weka.gui.beans.BeanInstance)"><!-- --></A><H3>removeConnections</H3><PRE>public static void <B>removeConnections</B>(<A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans">BeanInstance</A> instance)</PRE><DL><DD>Remove all connections for a bean. If the bean is a target for receiving events then it gets deregistered from the corresonding source bean. If the bean is a source of events then all targets implementing BeanCommon are notified via their disconnectionNotification methods that the source (and hence the connection) is going away.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>instance</CODE> - the bean to remove connections to/from</DL></DD></DL><HR><A NAME="doMetaConnection(weka.gui.beans.BeanInstance, weka.gui.beans.BeanInstance, java.beans.EventSetDescriptor, javax.swing.JComponent)"><!-- --></A><H3>doMetaConnection</H3><PRE>public static void <B>doMetaConnection</B>(<A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans">BeanInstance</A> source, <A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans">BeanInstance</A> target, java.beans.EventSetDescriptor esd, javax.swing.JComponent displayComponent)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setHidden(boolean)"><!-- --></A><H3>setHidden</H3><PRE>public void <B>setHidden</B>(boolean hidden)</PRE><DL><DD>Make this connection invisible on the display<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>hidden</CODE> - true to make the connection invisible</DL></DD></DL><HR><A NAME="isHidden()"><!-- --></A><H3>isHidden</H3><PRE>public boolean <B>isHidden</B>()</PRE><DL><DD>Returns true if this connection is invisible<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if connection is invisible</DL></DD></DL><HR><A NAME="remove()"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>()</PRE><DL><DD>Remove this connection<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSource()"><!-- --></A><H3>getSource</H3><PRE>public <A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans">BeanInstance</A> <B>getSource</B>()</PRE><DL><DD>returns the source BeanInstance for this connection<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>BeanInstance</code> value</DL></DD></DL><HR><A NAME="getTarget()"><!-- --></A><H3>getTarget</H3><PRE>public <A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans">BeanInstance</A> <B>getTarget</B>()</PRE><DL><DD>Returns the target BeanInstance for this connection<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>BeanInstance</code> value</DL></DD></DL><HR><A NAME="getEventName()"><!-- --></A><H3>getEventName</H3><PRE>public java.lang.String <B>getEventName</B>()</PRE><DL><DD>Returns the name of the event for this conncetion<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of the event for this connection</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=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>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"> <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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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="../../../weka/gui/beans/BeanCommon.html" title="interface in weka.gui.beans"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/gui/beans/BeanConnection.html" target="_top"><B>FRAMES</B></A> <A HREF="BeanConnection.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -