📄 beanvisual.html
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>iconPath</CODE> - path to<DD><CODE>animatedIconPath</CODE> - a <code>String</code> value</DL></DD></DL><HR><A NAME="setText(java.lang.String)"><!-- --></A><H3>setText</H3><PRE>public void <B>setText</B>(java.lang.String text)</PRE><DL><DD>Set the label for the visual. Informs any property change listeners<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the label</DL></DD></DL><HR><A NAME="getText()"><!-- --></A><H3>getText</H3><PRE>public java.lang.String <B>getText</B>()</PRE><DL><DD>Get the visual's label<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>String</code> value</DL></DD></DL><HR><A NAME="setStatic()"><!-- --></A><H3>setStatic</H3><PRE>public void <B>setStatic</B>()</PRE><DL><DD>Set the static version of the icon<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setAnimated()"><!-- --></A><H3>setAnimated</H3><PRE>public void <B>setAnimated</B>()</PRE><DL><DD>Set the animated version of the icon<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getClosestConnectorPoint(java.awt.Point)"><!-- --></A><H3>getClosestConnectorPoint</H3><PRE>public java.awt.Point <B>getClosestConnectorPoint</B>(java.awt.Point pt)</PRE><DL><DD>Returns the coordinates of the closest "connector" point to the supplied point. Coordinates are in the parent containers coordinate space.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pt</CODE> - the reference point<DT><B>Returns:</B><DD>the closest connector point</DL></DD></DL><HR><A NAME="getConnectorPoint(int)"><!-- --></A><H3>getConnectorPoint</H3><PRE>public java.awt.Point <B>getConnectorPoint</B>(int compassPoint)</PRE><DL><DD>Returns the coordinates of the connector point given a compass point<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>compassPoint</CODE> - a compass point<DT><B>Returns:</B><DD>a <code>Point</code> value</DL></DD></DL><HR><A NAME="getStaticIcon()"><!-- --></A><H3>getStaticIcon</H3><PRE>public javax.swing.ImageIcon <B>getStaticIcon</B>()</PRE><DL><DD>Returns the static icon<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>ImageIcon</code> value</DL></DD></DL><HR><A NAME="getAnimatedIcon()"><!-- --></A><H3>getAnimatedIcon</H3><PRE>public javax.swing.ImageIcon <B>getAnimatedIcon</B>()</PRE><DL><DD>Returns the animated icon<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <code>ImageIcon</code> value</DL></DD></DL><HR><A NAME="setDisplayConnectors(boolean)"><!-- --></A><H3>setDisplayConnectors</H3><PRE>public void <B>setDisplayConnectors</B>(boolean dc)</PRE><DL><DD>Turn on/off the connector points<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dc</CODE> - a <code>boolean</code> value</DL></DD></DL><HR><A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>addPropertyChangeListener</H3><PRE>public void <B>addPropertyChangeListener</B>(java.beans.PropertyChangeListener pcl)</PRE><DL><DD>Add a listener for property change events<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pcl</CODE> - a <code>PropertyChangeListener</code> value</DL></DD></DL><HR><A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>removePropertyChangeListener</H3><PRE>public void <B>removePropertyChangeListener</B>(java.beans.PropertyChangeListener pcl)</PRE><DL><DD>Remove a property change listener<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pcl</CODE> - a <code>PropertyChangeListener</code> value</DL></DD></DL><HR><A NAME="paintComponent(java.awt.Graphics)"><!-- --></A><H3>paintComponent</H3><PRE>public void <B>paintComponent</B>(java.awt.Graphics gx)</PRE><DL><DD><DL></DL></DD><DD><DL></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"> <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="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </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/BeanInstance.html" title="class in weka.gui.beans"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/beans/ChartEvent.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> <A HREF="BeanVisual.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: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <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 + -