public class

AxisEntity

extends ChartEntity
java.lang.Object
   ↳ org.jfree.chart.entity.ChartEntity
     ↳ org.jfree.chart.entity.AxisEntity

Class Overview

A class that captures information about an Axis of a chart.

Summary

Public Constructors
AxisEntity(Shape area, Axis axis)
Creates a new axis entity.
AxisEntity(Shape area, Axis axis, String toolTipText)
Creates a new axis entity.
AxisEntity(Shape area, Axis axis, String toolTipText, String urlText)
Creates a new axis entity.
Public Methods
Object clone()
Returns a clone of the entity.
boolean equals(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.
String toString()
Returns a string representation of the chart entity, useful for debugging.
[Expand]
Inherited Methods
From class org.jfree.chart.entity.ChartEntity
From class java.lang.Object

Public Constructors

public AxisEntity (Shape area, Axis axis)

Creates a new axis entity.

Parameters
area the area (null not permitted).
axis the axis (null not permitted).

public AxisEntity (Shape area, Axis axis, String toolTipText)

Creates a new axis entity.

Parameters
area the area (null not permitted).
axis the axis (null not permitted).
toolTipText the tool tip text (null permitted).

public AxisEntity (Shape area, Axis axis, String toolTipText, String urlText)

Creates a new axis entity.

Parameters
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 Methods

public Object clone ()

Returns a clone of the entity.

Returns
  • A clone.
Throws
CloneNotSupportedException if there is a problem cloning the entity.

public boolean equals (Object obj)

Tests the entity for equality with an arbitrary object.

Parameters
obj the object to test against (null permitted).
Returns
  • A boolean.

public Axis getAxis ()

Returns the axis that occupies the entity area.

Returns
  • The axis (never null).

public int hashCode ()

Returns a hash code for this instance.

Returns
  • A hash code.

public String toString ()

Returns a string representation of the chart entity, useful for debugging.

Returns
  • A string.