|
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.JFreeChartEntity
public class JFreeChartEntity
A class that captures information about an entire chart.
Constructor Summary | |
---|---|
JFreeChartEntity(Shape area,
JFreeChart chart)
Creates a new chart entity. |
|
JFreeChartEntity(Shape area,
JFreeChart chart,
String toolTipText)
Creates a new chart entity. |
|
JFreeChartEntity(Shape area,
JFreeChart chart,
String toolTipText,
String urlText)
Creates a new chart entity. |
Method Summary | |
---|---|
Object |
clone()
Returns a clone of the entity. |
boolean |
equals(Object obj)
Tests the entity for equality with an arbitrary object. |
JFreeChart |
getChart()
Returns the chart that occupies the entity area. |
int |
hashCode()
Returns a hash code for this instance. |
String |
toString()
Returns a string representation of the chart entity, useful for debugging. |
Methods inherited from class org.jfree.chart.entity.ChartEntity |
---|
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 JFreeChartEntity(Shape area, JFreeChart chart)
area
- the area (null
not permitted).chart
- the chart (null
not permitted).public JFreeChartEntity(Shape area, JFreeChart chart, String toolTipText)
area
- the area (null
not permitted).chart
- the chart (null
not permitted).toolTipText
- the tool tip text (null
permitted).public JFreeChartEntity(Shape area, JFreeChart chart, String toolTipText, String urlText)
area
- the area (null
not permitted).chart
- the chart (null
not permitted).toolTipText
- the tool tip text (null
permitted).urlText
- the URL text for HTML image maps (null
permitted).Method Detail |
---|
public JFreeChart getChart()
null
).public String toString()
toString
in class ChartEntity
public boolean equals(Object obj)
equals
in class ChartEntity
obj
- the object to test against (null
permitted).
public int hashCode()
hashCode
in class ChartEntity
public Object clone() throws CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class ChartEntity
CloneNotSupportedException
- if there is a problem cloning the
entity.
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |