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