public class XYItemEntity extends ChartEntity
XYPlot
.Constructor and Description |
---|
XYItemEntity(Shape area,
XYDataset dataset,
int series,
int item,
String toolTipText,
String urlText)
Creates a new entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests the entity for equality with an arbitrary object.
|
XYDataset |
getDataset()
Returns the dataset this entity refers to.
|
int |
getItem()
Returns the item index.
|
int |
getSeriesIndex()
Returns the series index.
|
void |
setDataset(XYDataset dataset)
Sets the dataset this entity refers to.
|
void |
setItem(int item)
Sets the item index.
|
void |
setSeriesIndex(int series)
Sets the series index.
|
String |
toString()
Returns a string representation of this instance, useful for debugging
purposes.
|
clone, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, hashCode, setArea, setToolTipText, setURLText
public XYItemEntity(Shape area, XYDataset dataset, int series, int item, String toolTipText, String urlText)
area
- the area.dataset
- the dataset.series
- the series (zero-based index).item
- the item (zero-based index).toolTipText
- the tool tip text.urlText
- the URL text for HTML image maps.public XYDataset getDataset()
public void setDataset(XYDataset dataset)
dataset
- the dataset.public int getSeriesIndex()
public void setSeriesIndex(int series)
series
- the series index (zero-based).public int getItem()
public void setItem(int item)
item
- the item index (zero-based).public boolean equals(Object obj)
equals
in class ChartEntity
obj
- the object (null
permitted).public String toString()
toString
in class ChartEntity
Jas4pp 1.5 © Java Analysis Studio for Particle Physics