public abstract class

ValueTick

extends Tick
java.lang.Object
   ↳ org.jfree.chart.axis.Tick
     ↳ org.jfree.chart.axis.ValueTick
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

A value tick.

Summary

Public Constructors
ValueTick(double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new value tick.
ValueTick(TickType tickType, double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new value tick.
Public Methods
boolean equals(Object obj)
Tests this tick for equality with an arbitrary object.
TickType getTickType()
Returns the tick type (major or minor).
double getValue()
Returns the value.
[Expand]
Inherited Methods
From class org.jfree.chart.axis.Tick
From class java.lang.Object

Public Constructors

public ValueTick (double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)

Creates a new value tick.

Parameters
value the value.
label the label.
textAnchor the part of the label that is aligned to the anchor point.
rotationAnchor defines the rotation point relative to the label.
angle the rotation angle (in radians).

public ValueTick (TickType tickType, double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)

Creates a new value tick.

Parameters
tickType the tick type (major or minor).
value the value.
label the label.
textAnchor the part of the label that is aligned to the anchor point.
rotationAnchor defines the rotation point relative to the label.
angle the rotation angle (in radians).

Public Methods

public boolean equals (Object obj)

Tests this tick for equality with an arbitrary object.

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

public TickType getTickType ()

Returns the tick type (major or minor).

Returns
  • The tick type.

public double getValue ()

Returns the value.

Returns
  • The value.