Class DialPointer

    • Constructor Detail

      • DialPointer

        protected DialPointer()
        Creates a new DialPointer instance.
      • DialPointer

        protected DialPointer​(int datasetIndex)
        Creates a new pointer for the specified dataset.
        Parameters:
        datasetIndex - the dataset index.
    • Method Detail

      • getRadius

        public double getRadius()
        Returns the radius of the pointer, as a percentage of the dial's framing rectangle.
        Returns:
        The radius.
        See Also:
        setRadius(double)
      • setRadius

        public void setRadius​(double radius)
        Sets the radius of the pointer and sends a DialLayerChangeEvent to all registered listeners.
        Parameters:
        radius - the radius.
        See Also:
        getRadius()
      • equals

        public boolean equals​(java.lang.Object obj)
        Checks this instance for equality with an arbitrary object.
        Overrides:
        equals in class AbstractDialLayer
        Parameters:
        obj - the object (null not permitted).
        Returns:
        A boolean.
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Returns a clone of the pointer.
        Specified by:
        clone in interface org.jfree.util.PublicCloneable
        Overrides:
        clone in class AbstractDialLayer
        Returns:
        a clone.
        Throws:
        java.lang.CloneNotSupportedException - if one of the attributes cannot be cloned.