public class PlotEntity extends ChartEntity
| Constructor and Description |
|---|
PlotEntity(Shape area,
Plot plot)
Creates a new plot entity.
|
PlotEntity(Shape area,
Plot plot,
String toolTipText)
Creates a new plot entity.
|
PlotEntity(Shape area,
Plot plot,
String toolTipText,
String urlText)
Creates a new plot entity.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Returns a clone of the entity.
|
boolean |
equals(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.
|
String |
toString()
Returns a string representation of the plot entity, useful for
debugging.
|
getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLTextpublic PlotEntity(Shape area, Plot plot)
area - the area (null not permitted).plot - the plot (null not permitted).public PlotEntity(Shape area, Plot plot, String toolTipText)
area - the area (null not permitted).plot - the plot (null not permitted).toolTipText - the tool tip text (null permitted).public PlotEntity(Shape area, Plot plot, String toolTipText, 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).public Plot getPlot()
null).public String toString()
toString in class ChartEntitypublic boolean equals(Object obj)
equals in class ChartEntityobj - the object to test against (null permitted).public int hashCode()
hashCode in class ChartEntitypublic Object clone() throws CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class ChartEntityCloneNotSupportedException - if there is a problem cloning the
entity.Copyright © 2001-2014 JFree.org. All Rights Reserved.