📄 node.html
字号:
<DT><B>Returns:</B><DD>Value of center.</DL></DD></DL><HR><A NAME="setCenter(double)"><!-- --></A><H3>setCenter</H3><PRE>public void <B>setCenter</B>(double v)</PRE><DL><DD>Set the value of center.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to center.</DL></DD></DL><HR><A NAME="adjustCenter(double)"><!-- --></A><H3>adjustCenter</H3><PRE>public void <B>adjustCenter</B>(double v)</PRE><DL><DD>Will increase or decrease the postion of center.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - The amount to increase or decrease center by.</DL></DD></DL><HR><A NAME="getTop()"><!-- --></A><H3>getTop</H3><PRE>public double <B>getTop</B>()</PRE><DL><DD>Get the value of top.<P><DD><DL><DT><B>Returns:</B><DD>Value of top.</DL></DD></DL><HR><A NAME="setTop(double)"><!-- --></A><H3>setTop</H3><PRE>public void <B>setTop</B>(double v)</PRE><DL><DD>Set the value of top.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to top.</DL></DD></DL><HR><A NAME="getVisible()"><!-- --></A><H3>getVisible</H3><PRE>public boolean <B>getVisible</B>()</PRE><DL><DD>Get the value of visible.<P><DD><DL><DT><B>Returns:</B><DD>Value of visible.</DL></DD></DL><HR><A NAME="getRoot()"><!-- --></A><H3>getRoot</H3><PRE>public boolean <B>getRoot</B>()</PRE><DL><DD>Get the value of root.<P><DD><DL><DT><B>Returns:</B><DD>True if has no parents.</DL></DD></DL><HR><A NAME="setRoot(boolean)"><!-- --></A><H3>setRoot</H3><PRE>public void <B>setRoot</B>(boolean v)</PRE><DL><DD>Set the value of root.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to root.</DL></DD></DL><HR><A NAME="getParent(int)"><!-- --></A><H3>getParent</H3><PRE>public <A HREF="../../../weka/gui/treevisualizer/Edge.html" title="class in weka.gui.treevisualizer">Edge</A> <B>getParent</B>(int i)</PRE><DL><DD>Get the parent edge.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The parent number to get.<DT><B>Returns:</B><DD>The parent edge or NULL if it doesn't exist.</DL></DD></DL><HR><A NAME="setParent(weka.gui.treevisualizer.Edge)"><!-- --></A><H3>setParent</H3><PRE>public void <B>setParent</B>(<A HREF="../../../weka/gui/treevisualizer/Edge.html" title="class in weka.gui.treevisualizer">Edge</A> v)</PRE><DL><DD>Set the value of parent.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to parent.</DL></DD></DL><HR><A NAME="getChild(int)"><!-- --></A><H3>getChild</H3><PRE>public <A HREF="../../../weka/gui/treevisualizer/Edge.html" title="class in weka.gui.treevisualizer">Edge</A> <B>getChild</B>(int i)</PRE><DL><DD>Get the Edge for the child number 'i'.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The child number to get.<DT><B>Returns:</B><DD>The child Edge or NULL if it doesn't exist.</DL></DD></DL><HR><A NAME="addChild(weka.gui.treevisualizer.Edge)"><!-- --></A><H3>addChild</H3><PRE>public void <B>addChild</B>(<A HREF="../../../weka/gui/treevisualizer/Edge.html" title="class in weka.gui.treevisualizer">Edge</A> v)</PRE><DL><DD>Set the value of children.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - Value to assign to children.</DL></DD></DL><HR><A NAME="getGCount(weka.gui.treevisualizer.Node, int)"><!-- --></A><H3>getGCount</H3><PRE>public static int <B>getGCount</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> r, int n)</PRE><DL><DD>Recursively finds the number of visible groups of siblings there are.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - The current Node upto.<DD><CODE>n</CODE> - The current number of groups there are.<DT><B>Returns:</B><DD>The number of groups found so far.</DL></DD></DL><HR><A NAME="getTotalGCount(weka.gui.treevisualizer.Node, int)"><!-- --></A><H3>getTotalGCount</H3><PRE>public static int <B>getTotalGCount</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> r, int n)</PRE><DL><DD>Recursively finds the total number of groups of siblings there are.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - The current Node upto.<DD><CODE>n</CODE> - The current number of groups there are.<DT><B>Returns:</B><DD>The number of groups found so far.</DL></DD></DL><HR><A NAME="getCount(weka.gui.treevisualizer.Node, int)"><!-- --></A><H3>getCount</H3><PRE>public static int <B>getCount</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> r, int n)</PRE><DL><DD>Recursively finds the number of visible nodes there are (this may accidentally count some of the invis nodes).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - The current Node upto.<DD><CODE>n</CODE> - The current number nodes there are.<DT><B>Returns:</B><DD>The number of nodes found so far.</DL></DD></DL><HR><A NAME="getTotalCount(weka.gui.treevisualizer.Node, int)"><!-- --></A><H3>getTotalCount</H3><PRE>public static int <B>getTotalCount</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> r, int n)</PRE><DL><DD>Recursively finds the total number of nodes there are.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - The current Node upto.<DD><CODE>n</CODE> - The current number nodes there are.<DT><B>Returns:</B><DD>The number of nodes found so far.</DL></DD></DL><HR><A NAME="getHeight(weka.gui.treevisualizer.Node, int)"><!-- --></A><H3>getHeight</H3><PRE>public static int <B>getHeight</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> r, int l)</PRE><DL><DD>Recursively finds the number of visible levels there are.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - The current Node upto.<DD><CODE>l</CODE> - The curent level.<DT><B>Returns:</B><DD>The max number of levels found so far.</DL></DD></DL><HR><A NAME="getTotalHeight(weka.gui.treevisualizer.Node, int)"><!-- --></A><H3>getTotalHeight</H3><PRE>public static int <B>getTotalHeight</B>(<A HREF="../../../weka/gui/treevisualizer/Node.html" title="class in weka.gui.treevisualizer">Node</A> r, int l)</PRE><DL><DD>Recursively finds the total number of levels there are.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - The current Node upto.<DD><CODE>l</CODE> - The curent level.<DT><B>Returns:</B><DD>The max number of levels found so far.</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/treevisualizer/NamedColor.html" title="class in weka.gui.treevisualizer"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/treevisualizer/NodePlace.html" title="interface in weka.gui.treevisualizer"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?weka/gui/treevisualizer/Node.html" target="_top"><B>FRAMES</B></A> <A HREF="Node.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 + -