public class AxisEntity extends ChartEntity
Axis
belonging to a
chart.Constructor and Description |
---|
AxisEntity(java.awt.Shape area,
Axis axis)
Creates a new axis entity.
|
AxisEntity(java.awt.Shape area,
Axis axis,
java.lang.String toolTipText)
Creates a new axis entity.
|
AxisEntity(java.awt.Shape area,
Axis axis,
java.lang.String toolTipText,
java.lang.String urlText)
Creates a new axis 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.
|
Axis |
getAxis()
Returns the axis 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, setURLText
public AxisEntity(java.awt.Shape area, Axis axis)
area
- the area (null
not permitted).axis
- the axis (null
not permitted).public AxisEntity(java.awt.Shape area, Axis axis, java.lang.String toolTipText)
area
- the area (null
not permitted).axis
- the axis (null
not permitted).toolTipText
- the tool tip text (null
permitted).public AxisEntity(java.awt.Shape area, Axis axis, java.lang.String toolTipText, java.lang.String urlText)
area
- the area (null
not permitted).axis
- the axis (null
not permitted).toolTipText
- the tool tip text (null
permitted).urlText
- the URL text for HTML image maps (null
permitted).public Axis getAxis()
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.