org.jfree.chart.entity
public class PieSectionEntity extends ChartEntity implements Serializable
Constructor Summary | |
---|---|
PieSectionEntity(Shape area, PieDataset dataset, int pieIndex, int sectionIndex, Comparable sectionKey, String toolTipText, String urlText)
Creates a new pie section entity.
|
Method Summary | |
---|---|
boolean | equals(Object obj)
Tests this entity for equality with an arbitrary object.
|
PieDataset | getDataset()
Returns the dataset this entity refers to.
|
int | getPieIndex()
Returns the pie index. |
int | getSectionIndex()
Returns the section index.
|
Comparable | getSectionKey()
Returns the section key.
|
int | hashCode()
Returns a hash code for this instance.
|
void | setDataset(PieDataset dataset)
Sets the dataset this entity refers to.
|
void | setPieIndex(int index)
Sets the pie index.
|
void | setSectionIndex(int index)
Sets the section index.
|
void | setSectionKey(Comparable key)
Sets the section key.
|
String | toString()
Returns a string representing the entity.
|
Parameters: 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.
Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: The dataset.
See Also: setDataset
Returns: The pie index.
See Also: PieSectionEntity
Returns: The section index.
See Also: PieSectionEntity
Returns: The section key.
See Also: setSectionKey
Returns: A hash code.
Parameters: dataset the dataset.
See Also: getDataset
Parameters: index the new index value.
See Also: getPieIndex
Parameters: index the section index.
See Also: getSectionIndex
Parameters: key the section key.
See Also: getSectionKey
Returns: A string representing the entity.