java.lang.Object | |
↳ | org.jfree.chart.entity.ChartEntity |
![]() |
![]() |
A class that captures information about some component of a chart (a bar, line etc).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new chart entity.
| |||||||||||
Creates a new chart entity.
| |||||||||||
Creates a new entity.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the entity.
| |||||||||||
Tests the entity for equality with an arbitrary object.
| |||||||||||
Returns the area occupied by the entity (in Java 2D space).
| |||||||||||
Returns an HTML image map tag for this entity.
| |||||||||||
Returns the shape coordinates as a string.
| |||||||||||
Returns a string describing the entity area.
| |||||||||||
Returns the tool tip text for the entity.
| |||||||||||
Returns the URL text for the entity.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
Sets the area for the entity.
| |||||||||||
Sets the tool tip text.
| |||||||||||
Sets the URL text.
| |||||||||||
Returns a string representation of the chart entity, useful for
debugging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new chart entity.
area | the area (null not permitted).
|
---|
Creates a new chart entity.
area | the area (null not permitted). |
---|---|
toolTipText | the tool tip text (null permitted).
|
Creates a new entity.
area | the area (null not permitted). |
---|---|
toolTipText | the tool tip text (null permitted). |
urlText | the URL text for HTML image maps (null
permitted).
|
Returns a clone of the entity.
CloneNotSupportedException | if there is a problem cloning the entity. |
---|
Tests the entity for equality with an arbitrary object.
obj | the object to test against (null permitted). |
---|
Returns the area occupied by the entity (in Java 2D space).
null
).
Returns an HTML image map tag for this entity. The returned fragment
should be XHTML 1.0
compliant.
toolTipTagFragmentGenerator | a generator for the HTML fragment
that will contain the tooltip text (null not permitted
if this entity contains tooltip information). |
---|---|
urlTagFragmentGenerator | a generator for the HTML fragment that
will contain the URL reference (null not permitted if
this entity has a URL). |
Returns the shape coordinates as a string.
null
).
Returns a string describing the entity area. This string is intended for use in an AREA tag when generating an image map.
null
).
Returns the tool tip text for the entity. Be aware that this text may have been generated from user supplied data, so for security reasons some form of filtering should be applied before incorporating this text into any HTML output.
null
).
Returns the URL text for the entity. Be aware that this text may have been generated from user supplied data, so some form of filtering should be applied before this "URL" is used in any output.
null
).
Returns a hash code for this instance.
Sets the area for the entity.
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).
|
---|
Sets the tool tip text.
text | the text (null permitted).
|
---|
Returns a string representation of the chart entity, useful for debugging.