public class DateTick extends ValueTick
DateAxis
class.Constructor and Description |
---|
DateTick(Date date,
String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new date tick.
|
DateTick(TickType tickType,
Date date,
String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new date tick.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getTickType, getValue
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
public DateTick(Date date, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
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).public DateTick(TickType tickType, Date date, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
tickType
- the tick type (null
not permitted).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).Jas4pp 1.5 © Java Analysis Studio for Particle Physics