public class TitleEntity extends ChartEntity
| Constructor and Description |
|---|
TitleEntity(java.awt.Shape area,
Title title)
Creates a new chart entity.
|
TitleEntity(java.awt.Shape area,
Title title,
java.lang.String toolTipText)
Creates a new chart entity.
|
TitleEntity(java.awt.Shape area,
Title title,
java.lang.String toolTipText,
java.lang.String urlText)
Creates a new entity.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Title |
getTitle()
Returns the title that occupies the entity area.
|
int |
hashCode()
Returns a hash code for this instance.
|
java.lang.String |
toString()
Returns a string representation of the chart entity, useful for
debugging.
|
getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLTextpublic TitleEntity(java.awt.Shape area,
Title title)
area - the area (null not permitted).title - the title (null not permitted).public TitleEntity(java.awt.Shape area,
Title title,
java.lang.String toolTipText)
area - the area (null not permitted).title - the title (null not permitted).toolTipText - the tool tip text (null permitted).public TitleEntity(java.awt.Shape area,
Title title,
java.lang.String toolTipText,
java.lang.String urlText)
area - the area (null not permitted).title - the title (null not permitted).toolTipText - the tool tip text (null permitted).urlText - the URL text for HTML image maps (null
permitted).public Title getTitle()
null).public java.lang.String toString()
toString in class ChartEntitypublic boolean equals(java.lang.Object obj)
equals in class ChartEntityobj - the object to test against (null permitted).public int hashCode()
hashCode in class ChartEntitypublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface PublicCloneableclone in class ChartEntityjava.lang.CloneNotSupportedException - if there is a problem cloning the
entity.