public class

NumberTick

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

Class Overview

A numerical tick.

Summary

Public Constructors
NumberTick(Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick.
NumberTick(TickType tickType, double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick.
Public Methods
Number getNumber()
Returns the number.
[Expand]
Inherited Methods
From class org.jfree.chart.axis.ValueTick
From class org.jfree.chart.axis.Tick
From class java.lang.Object

Public Constructors

public NumberTick (Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)

Creates a new tick.

Parameters
number the number (null not permitted).
label the label.
textAnchor the part of the label that is aligned with the anchor point.
rotationAnchor defines the rotation point relative to the text.
angle the rotation angle (in radians).

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

Creates a new tick.

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

Public Methods

public Number getNumber ()

Returns the number.

Returns
  • The number.