📄 piesectionentity.html
字号:
</TR></TABLE><A NAME="PieSectionEntity(java.awt.Shape, org.jfree.data.general.PieDataset, int, int, java.lang.Comparable, java.lang.String, java.lang.String)"><!-- --></A><H3>PieSectionEntity</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.95"><B>PieSectionEntity</B></A>(java.awt.Shape area, <A HREF="../../../../org/jfree/data/general/PieDataset.html" title="interface in org.jfree.data.general">PieDataset</A> dataset, int pieIndex, int sectionIndex, java.lang.Comparable sectionKey, java.lang.String toolTipText, java.lang.String urlText)</PRE><DL><DD>Creates a new pie section entity.<P><DL><DT><B>Parameters:</B><DD><CODE>area</CODE> - the area.<DD><CODE>dataset</CODE> - the pie dataset.<DD><CODE>pieIndex</CODE> - the pie index (zero-based).<DD><CODE>sectionIndex</CODE> - the section index (zero-based).<DD><CODE>sectionKey</CODE> - the section key.<DD><CODE>toolTipText</CODE> - the tool tip text.<DD><CODE>urlText</CODE> - the URL text for HTML image maps.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getDataset()"><!-- --></A><H3>getDataset</H3><PRE>public <A HREF="../../../../org/jfree/data/general/PieDataset.html" title="interface in org.jfree.data.general">PieDataset</A> <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.114"><B>getDataset</B></A>()</PRE><DL><DD>Returns the datset this entity refers to.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The dataset.</DL></DD></DL><HR><A NAME="setDataset(org.jfree.data.general.PieDataset)"><!-- --></A><H3>setDataset</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.123"><B>setDataset</B></A>(<A HREF="../../../../org/jfree/data/general/PieDataset.html" title="interface in org.jfree.data.general">PieDataset</A> dataset)</PRE><DL><DD>Sets the datset this entity refers to.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataset</CODE> - the dataset.</DL></DD></DL><HR><A NAME="getPieIndex()"><!-- --></A><H3>getPieIndex</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.134"><B>getPieIndex</B></A>()</PRE><DL><DD>Returns the pie index. For a regular pie chart, the section index is 0. For a pie chart containing multiple pie plots, the pie index is the row or column index from which the pie data is extracted.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The pie index.</DL></DD></DL><HR><A NAME="setPieIndex(int)"><!-- --></A><H3>setPieIndex</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.143"><B>setPieIndex</B></A>(int index)</PRE><DL><DD>Sets the pie index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the new index value.</DL></DD></DL><HR><A NAME="getSectionIndex()"><!-- --></A><H3>getSectionIndex</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.152"><B>getSectionIndex</B></A>()</PRE><DL><DD>Returns the section index.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The section index.</DL></DD></DL><HR><A NAME="setSectionIndex(int)"><!-- --></A><H3>setSectionIndex</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.161"><B>setSectionIndex</B></A>(int index)</PRE><DL><DD>Sets the section index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the section index.</DL></DD></DL><HR><A NAME="getSectionKey()"><!-- --></A><H3>getSectionKey</H3><PRE>public java.lang.Comparable <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.170"><B>getSectionKey</B></A>()</PRE><DL><DD>Returns the section key.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The section key.</DL></DD></DL><HR><A NAME="setSectionKey(java.lang.Comparable)"><!-- --></A><H3>setSectionKey</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.179"><B>setSectionKey</B></A>(java.lang.Comparable key)</PRE><DL><DD>Sets the section key.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the section key.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <A HREF="../../../../src-html/org/jfree/chart/entity/PieSectionEntity.html#line.188"><B>toString</B></A>()</PRE><DL><DD>Returns a string representing the entity.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/entity/ChartEntity.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/entity/ChartEntity.html" title="class in org.jfree.chart.entity">ChartEntity</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A string representing the entity.</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="class-use/PieSectionEntity.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-files/index-1.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/entity/LegendItemEntity.html" title="class in org.jfree.chart.entity"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/entity/StandardEntityCollection.html" title="class in org.jfree.chart.entity"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/chart/entity/PieSectionEntity.html" target="_top"><B>FRAMES</B></A> <A HREF="PieSectionEntity.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 + -