|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.entity.ChartEntity
org.jfree.chart.entity.PieSectionEntity
public class PieSectionEntity
A chart entity that represents one section within a pie plot.
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. |
Methods inherited from class org.jfree.chart.entity.ChartEntity |
---|
clone, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PieSectionEntity(Shape area, PieDataset dataset, int pieIndex, int sectionIndex, Comparable sectionKey, String toolTipText, String urlText)
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.Method Detail |
---|
public PieDataset getDataset()
setDataset(PieDataset)
public void setDataset(PieDataset dataset)
dataset
- the dataset.getDataset()
public int getPieIndex()
setPieIndex(int)
public void setPieIndex(int index)
index
- the new index value.getPieIndex()
public int getSectionIndex()
setSectionIndex(int)
public void setSectionIndex(int index)
index
- the section index.getSectionIndex()
public Comparable getSectionKey()
setSectionKey(Comparable)
public void setSectionKey(Comparable key)
key
- the section key.getSectionKey()
public boolean equals(Object obj)
equals
in class ChartEntity
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class ChartEntity
public String toString()
toString
in class ChartEntity
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |