📄 standardpieitemlabelgenerator.html
字号:
<A NAME="DEFAULT_TOOLTIP_FORMAT"><!-- --></A><H3>DEFAULT_TOOLTIP_FORMAT</H3><PRE>public static final java.lang.String <B>DEFAULT_TOOLTIP_FORMAT</B></PRE><DL><DD>The default tooltip format.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.labels.StandardPieItemLabelGenerator.DEFAULT_TOOLTIP_FORMAT">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_SECTION_LABEL_FORMAT"><!-- --></A><H3>DEFAULT_SECTION_LABEL_FORMAT</H3><PRE>public static final java.lang.String <B>DEFAULT_SECTION_LABEL_FORMAT</B></PRE><DL><DD>The default section label format.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.labels.StandardPieItemLabelGenerator.DEFAULT_SECTION_LABEL_FORMAT">Constant Field Values</A></DL></DL><!-- ========= 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="StandardPieItemLabelGenerator()"><!-- --></A><H3>StandardPieItemLabelGenerator</H3><PRE>public <B>StandardPieItemLabelGenerator</B>()</PRE><DL><DD>Creates an item label generator using default number formatters.<P></DL><HR><A NAME="StandardPieItemLabelGenerator(java.lang.String)"><!-- --></A><H3>StandardPieItemLabelGenerator</H3><PRE>public <B>StandardPieItemLabelGenerator</B>(java.lang.String labelFormat)</PRE><DL><DD>Creates an item label generator.<P><DT><B>Parameters:</B><DD><CODE>labelFormat</CODE> - the label format.</DL><HR><A NAME="StandardPieItemLabelGenerator(java.lang.String, java.text.NumberFormat, java.text.NumberFormat)"><!-- --></A><H3>StandardPieItemLabelGenerator</H3><PRE>public <B>StandardPieItemLabelGenerator</B>(java.lang.String labelFormat, java.text.NumberFormat numberFormat, java.text.NumberFormat percentFormat)</PRE><DL><DD>Creates an item label generator using the specified number formatters.<P><DT><B>Parameters:</B><DD><CODE>labelFormat</CODE> - the label format string (<code>null</code> not permitted).<DD><CODE>numberFormat</CODE> - the format object for the values (<code>null</code> not permitted).<DD><CODE>percentFormat</CODE> - the format object for the percentages (<code>null</code> not permitted).</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="getNumberFormat()"><!-- --></A><H3>getNumberFormat</H3><PRE>public java.text.NumberFormat <B>getNumberFormat</B>()</PRE><DL><DD>Returns the number formatter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The formatter (never <code>null</code>).</DL></DD></DL><HR><A NAME="getPercentFormat()"><!-- --></A><H3>getPercentFormat</H3><PRE>public java.text.NumberFormat <B>getPercentFormat</B>()</PRE><DL><DD>Returns the percent formatter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The formatter (never <code>null</code>).</DL></DD></DL><HR><A NAME="generateSectionLabel(org.jfree.data.PieDataset, java.lang.Comparable)"><!-- --></A><H3>generateSectionLabel</H3><PRE>public java.lang.String <B>generateSectionLabel</B>(<A HREF="../../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> dataset, java.lang.Comparable key)</PRE><DL><DD>Generates a label for a pie section.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/labels/PieSectionLabelGenerator.html#generateSectionLabel(org.jfree.data.PieDataset, java.lang.Comparable)">generateSectionLabel</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/labels/PieSectionLabelGenerator.html" title="interface in org.jfree.chart.labels">PieSectionLabelGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset (<code>null</code> not permitted).<DD><CODE>key</CODE> - the section key (<code>null</code> not permitted).<DT><B>Returns:</B><DD>The label (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="generateToolTip(org.jfree.data.PieDataset, java.lang.Comparable)"><!-- --></A><H3>generateToolTip</H3><PRE>public java.lang.String <B>generateToolTip</B>(<A HREF="../../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> dataset, java.lang.Comparable key)</PRE><DL><DD>Generates a tool tip text item for one section in a pie chart.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/labels/PieToolTipGenerator.html#generateToolTip(org.jfree.data.PieDataset, java.lang.Comparable)">generateToolTip</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/labels/PieToolTipGenerator.html" title="interface in org.jfree.chart.labels">PieToolTipGenerator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset (<code>null</code> not permitted).<DD><CODE>key</CODE> - the section key (<code>null</code> not permitted).<DT><B>Returns:</B><DD>The tool tip text (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="createItemArray(org.jfree.data.PieDataset, java.lang.Comparable)"><!-- --></A><H3>createItemArray</H3><PRE>protected java.lang.Object[] <B>createItemArray</B>(<A HREF="../../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data">PieDataset</A> dataset, java.lang.Comparable key)</PRE><DL><DD>Creates the array of items that can be passed to the <CODE>MessageFormat</CODE> class for creating labels.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset (<code>null</code> not permitted).<DD><CODE>key</CODE> - the key.<DT><B>Returns:</B><DD>The items (never <code>null</code>).</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Tests the generator for equality with an arbitrary object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to test against (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns an independent copy of the generator.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - should not happen.</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/labels/StandardContourToolTipGenerator.html" title="class in org.jfree.chart.labels"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/labels/StandardXYLabelGenerator.html" title="class in org.jfree.chart.labels"><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="StandardPieItemLabelGenerator.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 | <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 + -