Documentation of 'org.jfree.chart.axis.CategoryTick' Java class
CategoryTick
org.jfree.chart.axis

Class CategoryTick

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class CategoryTick
    extends Tick
    A tick for a CategoryAxis.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      CategoryTick(java.lang.Comparable category, org.jfree.text.TextBlock label, org.jfree.text.TextBlockAnchor labelAnchor, org.jfree.ui.TextAnchor rotationAnchor, double angle)
      Creates a new tick.
    • Constructor Detail

      • CategoryTick

        public CategoryTick(java.lang.Comparable category,
                            org.jfree.text.TextBlock label,
                            org.jfree.text.TextBlockAnchor labelAnchor,
                            org.jfree.ui.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

      • getCategory

        public java.lang.Comparable getCategory()
        Returns the category.
        Returns:
        The category.
      • getLabel

        public org.jfree.text.TextBlock getLabel()
        Returns the label.
        Returns:
        The label.
      • getLabelAnchor

        public org.jfree.text.TextBlockAnchor getLabelAnchor()
        Returns the label anchor.
        Returns:
        The label anchor.
      • equals

        public boolean equals(java.lang.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 java.lang.Object
        Returns:
        A hash code.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.