|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.entity.ChartEntity
A class that captures information about some component of a chart (a bar, line etc).
Constructor Summary | |
ChartEntity(java.awt.Shape area)
Creates a new chart entity. |
|
ChartEntity(java.awt.Shape area,
java.lang.String toolTipText)
Creates a new chart entity. |
|
ChartEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText)
Creates a new 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. |
java.awt.Shape |
getArea()
Returns the area occupied by the entity (in Java 2D space). |
java.lang.String |
getImageMapAreaTag(ToolTipTagFragmentGenerator toolTipTagFragmentGenerator,
URLTagFragmentGenerator urlTagFragmentGenerator)
Returns an HTML image map tag for this entity. |
java.lang.String |
getShapeCoords()
Returns the shape coordinates as a string. |
java.lang.String |
getShapeType()
Returns a string describing the entity area. |
java.lang.String |
getToolTipText()
Returns the tool tip text for the entity. |
java.lang.String |
getURLText()
Returns the URL text for the entity. |
void |
setArea(java.awt.Shape area)
Sets the area for the entity. |
void |
setToolTipText(java.lang.String text)
Sets the tool tip text. |
void |
setURLText(java.lang.String text)
Sets the URL text. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChartEntity(java.awt.Shape area)
area
- the area (null
not permitted).public ChartEntity(java.awt.Shape area, java.lang.String toolTipText)
area
- the area (null
not permitted).toolTipText
- the tool tip text (null
permitted).public ChartEntity(java.awt.Shape area, java.lang.String toolTipText, java.lang.String urlText)
area
- the area (null
not permitted).toolTipText
- the tool tip text (null
permitted).urlText
- the URL text for HTML image maps (null
permitted).Method Detail |
public java.awt.Shape getArea()
null
).public void setArea(java.awt.Shape area)
This class conveys information about chart entities back to a client. Setting this area doesn't change the entity (which has already been drawn).
area
- the area (null
not permitted).public java.lang.String getToolTipText()
null
).public void setToolTipText(java.lang.String text)
text
- the text (null
permitted).public java.lang.String getURLText()
null
).public void setURLText(java.lang.String text)
text
- the text (null
permitted).public java.lang.String getShapeType()
null
).public java.lang.String getShapeCoords()
null
).public java.lang.String getImageMapAreaTag(ToolTipTagFragmentGenerator toolTipTagFragmentGenerator, URLTagFragmentGenerator urlTagFragmentGenerator)
XHTML 1.0
compliant.
toolTipTagFragmentGenerator
- the generator for tooltip fragment.urlTagFragmentGenerator
- the generator for the URL fragment.
public boolean equals(java.lang.Object obj)
obj
- the object to test against (null
permitted).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- if there is a problem cloning the
entity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |