|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.axis.Tick org.jfree.chart.axis.ValueTick org.jfree.chart.axis.DateTick
public class DateTick
A tick used by the DateAxis
class.
Constructor Summary | |
---|---|
DateTick(java.util.Date date,
java.lang.String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new date tick. |
|
DateTick(TickType tickType,
java.util.Date date,
java.lang.String label,
org.jfree.ui.TextAnchor textAnchor,
org.jfree.ui.TextAnchor rotationAnchor,
double angle)
Creates a new date tick. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this tick for equality with an arbitrary object. |
java.util.Date |
getDate()
Returns the date. |
int |
hashCode()
Returns a hash code for this object. |
Methods inherited from class org.jfree.chart.axis.ValueTick |
---|
getTickType, getValue |
Methods inherited from class org.jfree.chart.axis.Tick |
---|
clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DateTick(java.util.Date date, java.lang.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, java.util.Date date, java.lang.String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
tickType
- the tick type.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).Method Detail |
---|
public java.util.Date getDate()
public boolean equals(java.lang.Object obj)
equals
in class ValueTick
obj
- the object to test (null
permitted).
public int hashCode()
hashCode
in class java.lang.Object
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |