Class CategoryTick

    • Constructor Detail

      • CategoryTick

        public CategoryTick​(Comparable<?> category,
                            TextBlock label,
                            TextBlockAnchor labelAnchor,
                            TextAnchor rotationAnchor,
                            double angle)
        Creates a new tick.
        Parameters:
        category - the category.
        label - the label.
        labelAnchor - the label anchor.
        rotationAnchor - the rotation anchor.
        angle - the rotation angle (in radians).
    • Method Detail

      • equals

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

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