📄 edge.html
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Edge(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>Edge</H3><PRE>public <B>Edge</B>(java.lang.String label, java.lang.String source, java.lang.String target)</PRE><DL><DD>This constructs an Edge with the specified label and parent , child serial tags.<P><DT><B>Parameters:</B><DD><CODE>label</CODE> - The text caption for the edge.<DD><CODE>source</CODE> - The ID string for this edges parent.<DD><CODE>target</CODE> - The ID string for this edges child.</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="getLabel()"><!-- --></A><H3>getLabel</H3><PRE>public java.lang.String <B>getLabel</B>()</PRE><DL><DD>Get the value of label.<P><DD><DL><DT><B>Returns:</B><DD>Value of label.</DL></DD></DL><HR><A NAME="stringSize(java.awt.FontMetrics)"><!-- --></A><H3>stringSize</H3><PRE>public java.awt.Dimension <B>stringSize</B>(java.awt.FontMetrics f)</PRE><DL><DD>This will calculate how large a rectangle using the <i>FontMetrics</i> passed that the lines of the label will take up<P><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - The size information for a particular Font<DT><B>Returns:</B><DD>A Dimension containing the size and width of the text</DL></DD></DL><HR><A NAME="getLine(int)"><!-- --></A><H3>getLine</H3><PRE>public java.lang.String <B>getLine</B>(int n)</PRE><DL><DD>Returns line number <i>n</i><P><DD><DL><DT><B>Parameters:</B><DD><CODE>n</CODE> - The number of the line requested<DT><B>Returns:</B><DD>The string for the line number or NULL if it didn't exist</DL></DD></DL><HR><A NAME="getRsource()"><!-- --></A><H3>getRsource</H3><PRE>public java.lang.String <B>getRsource</B>()</PRE><DL><DD>Get the value of rsource.<P><DD><DL><DT><B>Returns:</B><DD>Value of rsource.</DL></DD></DL><HR><A NAME="setRsource(java.lang.String)"><!-- --></A><H3>setRsource</H3><PRE>public void <B>setRsource</B>(java.lang.String v)</PRE><DL><DD>Set the value of rsource.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to rsource.</DL></DD></DL><HR><A NAME="getRtarget()"><!-- --></A><H3>getRtarget</H3><PRE>public java.lang.String <B>getRtarget</B>()</PRE><DL><DD>Get the value of rtarget.<P><DD><DL><DT><B>Returns:</B><DD>Value of rtarget.</DL></DD></DL><HR><A NAME="setRtarget(java.lang.String)"><!-- --></A><H3>setRtarget</H3><PRE>public void <B>setRtarget</B>(java.lang.String v)</PRE><DL><DD>Set the value of rtarget.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to rtarget.</DL></DD></DL><HR><A NAME="getSource()"><!-- --></A><H3>getSource</H3><PRE>public <A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> <B>getSource</B>()</PRE><DL><DD>Get the value of source.<P><DD><DL><DT><B>Returns:</B><DD>Value of source.</DL></DD></DL><HR><A NAME="setSource(weka.gui.treevisualizer.Node)"><!-- --></A><H3>setSource</H3><PRE>public void <B>setSource</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> v)</PRE><DL><DD>Set the value of source. And then call v.addChild to add the edge to the Node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to source.</DL></DD></DL><HR><A NAME="getTarget()"><!-- --></A><H3>getTarget</H3><PRE>public <A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> <B>getTarget</B>()</PRE><DL><DD>Get the value of target.<P><DD><DL><DT><B>Returns:</B><DD>Value of target.</DL></DD></DL><HR><A NAME="setTarget(weka.gui.treevisualizer.Node)"><!-- --></A><H3>setTarget</H3><PRE>public void <B>setTarget</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> v)</PRE><DL><DD>Set the value of target. And then call v.addParent to add the edge to the Node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to target.</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/treevisualizer/Colors.html" title="class in weka.gui.treevisualizer"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/treevisualizer/NamedColor.html" title="class in weka.gui.treevisualizer"><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="Edge.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -