Class DateTick

    • Constructor Summary

      Constructors 
      Constructor Description
      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.
    • Constructor Detail

      • DateTick

        public 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.
        Parameters:
        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).
      • DateTick

        public 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.
        Parameters:
        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).
        Since:
        1.0.12
    • Method Detail

      • getDate

        public java.util.Date getDate()
        Returns the date.
        Returns:
        The date.
      • equals

        public boolean equals​(java.lang.Object obj)
        Tests this tick for equality with an arbitrary object.
        Overrides:
        equals in class ValueTick
        Parameters:
        obj - the object to test (null permitted).
        Returns:
        A boolean.
      • hashCode

        public int hashCode()
        Returns a hash code for this object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        A hash code.