⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 beaninstance.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE><A NAME="BeanInstance(javax.swing.JComponent, java.lang.Object, int, int)"><!-- --></A><H3>BeanInstance</H3><PRE>public <B>BeanInstance</B>(javax.swing.JComponent&nbsp;container,                    java.lang.Object&nbsp;bean,                    int&nbsp;x,                    int&nbsp;y)</PRE><DL><DD>Creates a new <code>BeanInstance</code> instance.<P><DT><B>Parameters:</B><DD><CODE>container</CODE> - a <code>JComponent</code> to add the bean to<DD><CODE>bean</CODE> - the bean to add<DD><CODE>x</CODE> - the x coordinate of the bean<DD><CODE>y</CODE> - the y coordinate of the bean</DL><HR><A NAME="BeanInstance(javax.swing.JComponent, java.lang.String, int, int)"><!-- --></A><H3>BeanInstance</H3><PRE>public <B>BeanInstance</B>(javax.swing.JComponent&nbsp;container,                    java.lang.String&nbsp;beanName,                    int&nbsp;x,                    int&nbsp;y)</PRE><DL><DD>Creates a new <code>BeanInstance</code> instance given the fully qualified name of the bean<P><DT><B>Parameters:</B><DD><CODE>container</CODE> - a <code>JComponent</code> to add the bean to<DD><CODE>beanName</CODE> - the fully qualified name of the bean<DD><CODE>x</CODE> - the x coordinate of the bean<DD><CODE>y</CODE> - th y coordinate of the bean</DL><!-- ============ 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="reset(javax.swing.JComponent)"><!-- --></A><H3>reset</H3><PRE>public static void <B>reset</B>(javax.swing.JComponent&nbsp;container)</PRE><DL><DD>Reset the list of beans<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="removeAllBeansFromContainer(javax.swing.JComponent)"><!-- --></A><H3>removeAllBeansFromContainer</H3><PRE>public static void <B>removeAllBeansFromContainer</B>(javax.swing.JComponent&nbsp;container)</PRE><DL><DD>Removes all beans from containing component<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>container</CODE> - a <code>JComponent</code> value</DL></DD></DL><HR><A NAME="addAllBeansToContainer(javax.swing.JComponent)"><!-- --></A><H3>addAllBeansToContainer</H3><PRE>public static void <B>addAllBeansToContainer</B>(javax.swing.JComponent&nbsp;container)</PRE><DL><DD>Adds all beans to the supplied component<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>container</CODE> - a <code>JComponent</code> value</DL></DD></DL><HR><A NAME="getBeanInstances()"><!-- --></A><H3>getBeanInstances</H3><PRE>public static java.util.Vector <B>getBeanInstances</B>()</PRE><DL><DD>Return the list of displayed beans<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a vector of beans</DL></DD></DL><HR><A NAME="setBeanInstances(java.util.Vector, javax.swing.JComponent)"><!-- --></A><H3>setBeanInstances</H3><PRE>public static void <B>setBeanInstances</B>(java.util.Vector&nbsp;beanInstances,                                    javax.swing.JComponent&nbsp;container)</PRE><DL><DD>Describe <code>setBeanInstances</code> method here.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>beanInstances</CODE> - a <code>Vector</code> value<DD><CODE>container</CODE> - a <code>JComponent</code> value</DL></DD></DL><HR><A NAME="paintLabels(java.awt.Graphics)"><!-- --></A><H3>paintLabels</H3><PRE>public static void <B>paintLabels</B>(java.awt.Graphics&nbsp;gx)</PRE><DL><DD>Renders the textual labels for the beans.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gx</CODE> - a <code>Graphics</code> object on which to render the labels</DL></DD></DL><HR><A NAME="findInstance(java.awt.Point)"><!-- --></A><H3>findInstance</H3><PRE>public static <A HREF="../../../weka/gui/beans/BeanInstance.html" title="class in weka.gui.beans">BeanInstance</A> <B>findInstance</B>(java.awt.Point&nbsp;p)</PRE><DL><DD>Looks for a bean (if any) whose bounds contain the supplied point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - a point<DT><B>Returns:</B><DD>a bean that contains the supplied point or null if no bean contains the point</DL></DD></DL><HR><A NAME="removeBean(javax.swing.JComponent)"><!-- --></A><H3>removeBean</H3><PRE>public void <B>removeBean</B>(javax.swing.JComponent&nbsp;container)</PRE><DL><DD>Remove this bean from the list of beans and from the containing component<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>container</CODE> - the <code>JComponent</code> that holds the bean</DL></DD></DL><HR><A NAME="getBean()"><!-- --></A><H3>getBean</H3><PRE>public java.lang.Object <B>getBean</B>()</PRE><DL><DD>Gets the bean encapsulated in this instance<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>Object</code> value</DL></DD></DL><HR><A NAME="getX()"><!-- --></A><H3>getX</H3><PRE>public int <B>getX</B>()</PRE><DL><DD>Gets the x coordinate of this bean<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>int</code> value</DL></DD></DL><HR><A NAME="getY()"><!-- --></A><H3>getY</H3><PRE>public int <B>getY</B>()</PRE><DL><DD>Gets the y coordinate of this bean<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>int</code> value</DL></DD></DL><HR><A NAME="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public int <B>getWidth</B>()</PRE><DL><DD>Gets the width of this bean<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>int</code> value</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public int <B>getHeight</B>()</PRE><DL><DD>Gets the height of this bean<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>int</code> value</DL></DD></DL><HR><A NAME="setX(int)"><!-- --></A><H3>setX</H3><PRE>public void <B>setX</B>(int&nbsp;newX)</PRE><DL><DD>Sets the x coordinate of this bean<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newX</CODE> - an <code>int</code> value</DL></DD></DL><HR><A NAME="setY(int)"><!-- --></A><H3>setY</H3><PRE>public void <B>setY</B>(int&nbsp;newY)</PRE><DL><DD>Sets the y coordinate of this bean<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newY</CODE> - an <code>int</code> value</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../weka/gui/beans/BeanConnection.html" title="class in weka.gui.beans"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/gui/beans/BeanVisual.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" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="BeanInstance.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -