java.lang.Object | ||
↳ | org.jfree.chart.entity.ChartEntity | |
↳ | org.jfree.chart.entity.PieSectionEntity |
A chart entity that represents one section within a pie plot.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new pie section entity.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests this entity for equality with an arbitrary object.
| |||||||||||
Returns the dataset this entity refers to.
| |||||||||||
Returns the pie index.
| |||||||||||
Returns the section index.
| |||||||||||
Returns the section key.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
Sets the dataset this entity refers to.
| |||||||||||
Sets the pie index.
| |||||||||||
Sets the section index.
| |||||||||||
Sets the section key.
| |||||||||||
Returns a string representing the entity.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new pie section entity.
area | the area. |
---|---|
dataset | the pie dataset. |
pieIndex | the pie index (zero-based). |
sectionIndex | the section index (zero-based). |
sectionKey | the section key. |
toolTipText | the tool tip text. |
urlText | the URL text for HTML image maps. |
Tests this entity for equality with an arbitrary object.
obj | the object (null permitted). |
---|
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.
Returns a hash code for this instance.
Returns a string representing the entity.