org.jfree.chart.axis
Class DateTick
- Cloneable, Serializable
DateTick(Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)- Creates a new date tick.
|
boolean | equals(Object obj)- Tests this tick for equality with an arbitrary object.
|
Date | getDate()- Returns the date.
|
int | hashCode()- Returns a hash code for this object.
|
DateTick
public DateTick(Date date,
String label,
TextAnchor textAnchor,
TextAnchor rotationAnchor,
double angle) Creates a new date tick.
date - the date.label - the label.textAnchor - the part of the label that is aligned to the anchor
point.rotationAnchor - defines the rotation point relative to the text.angle - the rotation angle (in radians).
equals
public boolean equals(Object obj)
Tests this tick for equality with an arbitrary object.
- equals in interface ValueTick
obj - the object to test (null permitted).
getDate
public Date getDate()
Returns the date.
hashCode
public int hashCode()
Returns a hash code for this object.