📄 pielabeldistributor.html
字号:
<!-- ============ 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 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 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> 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 minY, double 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 minY, double 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 minY, double 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 minY, double 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> </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> </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="../../../../org/jfree/chart/plot/MultiplePiePlot.html" title="class in org.jfree.chart.plot"><B>PREV CLASS</B></A> <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> <A HREF="PieLabelDistributor.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 + -