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

📄 pielabeldistributor.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ============ FIELD DETAIL =========== --><!-- ========= 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="PieLabelDistributor(int)"><!-- --></A><H3>PieLabelDistributor</H3><PRE>public <B>PieLabelDistributor</B>(int&nbsp;labelCount)</PRE><DL><DD>Creates a new distributor.<P><DT><B>Parameters:</B><DD><CODE>labelCount</CODE> - the number of labels.</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="getPieLabelRecord(int)"><!-- --></A><H3>getPieLabelRecord</H3><PRE>public <A HREF="../../../../org/jfree/chart/plot/PieLabelRecord.html" title="class in org.jfree.chart.plot">PieLabelRecord</A> <B>getPieLabelRecord</B>(int&nbsp;index)</PRE><DL><DD>Returns a label record from the list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Returns:</B><DD>the label record.</DL></DD></DL><HR><A NAME="addPieLabelRecord(org.jfree.chart.plot.PieLabelRecord)"><!-- --></A><H3>addPieLabelRecord</H3><PRE>public void <B>addPieLabelRecord</B>(<A HREF="../../../../org/jfree/chart/plot/PieLabelRecord.html" title="class in org.jfree.chart.plot">PieLabelRecord</A>&nbsp;record)</PRE><DL><DD>Adds a label record.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>record</CODE> - the label record.</DL></DD></DL><HR><A NAME="getItemCount()"><!-- --></A><H3>getItemCount</H3><PRE>public int <B>getItemCount</B>()</PRE><DL><DD>Returns the number of items in the list.<P><DD><DL><DT><B>Returns:</B><DD>the item count.</DL></DD></DL><HR><A NAME="distributeLabels(double, double)"><!-- --></A><H3>distributeLabels</H3><PRE>public void <B>distributeLabels</B>(double&nbsp;minY,                             double&nbsp;height)</PRE><DL><DD>Distributes the labels.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>minY</CODE> - the minimum y-coordinate in Java2D-space.<DD><CODE>height</CODE> - the height.</DL></DD></DL><HR><A NAME="adjustInwards()"><!-- --></A><H3>adjustInwards</H3><PRE>protected void <B>adjustInwards</B>()</PRE><DL><DD>Adjusts the y-coordinate for the labels in towards the center in an attempt to fix  overlapping.<P><DD><DL></DL></DD></DL><HR><A NAME="adjustDownwards(double, double)"><!-- --></A><H3>adjustDownwards</H3><PRE>protected void <B>adjustDownwards</B>(double&nbsp;minY,                               double&nbsp;height)</PRE><DL><DD>Any labels that are overlapping are moved down in an attempt to eliminate the overlaps.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>minY</CODE> - the minimum y value (in Java2D coordinate space).<DD><CODE>height</CODE> - the height available for all labels.</DL></DD></DL><HR><A NAME="adjustUpwards(double, double)"><!-- --></A><H3>adjustUpwards</H3><PRE>protected void <B>adjustUpwards</B>(double&nbsp;minY,                             double&nbsp;height)</PRE><DL><DD>Any labels that are overlapping are moved up in an attempt to eliminate the overlaps.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>minY</CODE> - the minimum y value (in Java2D coordinate space).<DD><CODE>height</CODE> - the height available for all labels.</DL></DD></DL><HR><A NAME="spreadEvenly(double, double)"><!-- --></A><H3>spreadEvenly</H3><PRE>protected void <B>spreadEvenly</B>(double&nbsp;minY,                            double&nbsp;height)</PRE><DL><DD>Labels are spaced evenly in the available space in an attempt to eliminate the overlaps.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>minY</CODE> - the minimum y value (in Java2D coordinate space).<DD><CODE>height</CODE> - the height available for all labels.</DL></DD></DL><HR><A NAME="sort()"><!-- --></A><H3>sort</H3><PRE>public void <B>sort</B>()</PRE><DL><DD>Sorts the label records into ascending order by y-value.<P><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string containing a description of the object for debugging purposes.<P><DD><DL><DT><B>Returns:</B><DD>a string.</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="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</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="../../../../org/jfree/chart/plot/MultiplePiePlot.html" title="class in org.jfree.chart.plot"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/plot/PieLabelRecord.html" title="class in org.jfree.chart.plot"><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="PieLabelDistributor.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;FIELD&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;FIELD&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 + -