CloneSet 108

# CloneSet108

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
174 | 2 | 0 | 1.000 | class_body_declarations[16]

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

174

167

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryPointerAnnotation.java

2

174

172

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/XYPointerAnnotation.java

Next
Last

Clone Instance
1

Line Count
174

Source Line
167

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryPointerAnnotation.java

    /**
     * Returns the angle of the arrow.
     *
     * @return The angle (in radians).
     *
     * @see #setAngle(double)
     */
    public double getAngle() {
      return this.angle;
    }

    /**
     * Sets the angle of the arrow.
     *
     * @param angle  the angle (in radians).
     *
     * @see #getAngle()
     */
    public void setAngle(double angle) {
      this.angle = angle;
    }

    /**
     * Returns the tip radius.
     *
     * @return The tip radius (in Java2D units).
     *
     * @see #setTipRadius(double)
     */
    public double getTipRadius() {
      return this.tipRadius;
    }

    /**
     * Sets the tip radius.
     *
     * @param radius  the radius (in Java2D units).
     *
     * @see #getTipRadius()
     */
    public void setTipRadius(double radius) {
      this.tipRadius = radius;
    }

    /**
     * Returns the base radius.
     *
     * @return The base radius (in Java2D units).
     *
     * @see #setBaseRadius(double)
     */
    public double getBaseRadius() {
      return this.baseRadius;
    }

    /**
     * Sets the base radius.
     *
     * @param radius  the radius (in Java2D units).
     *
     * @see #getBaseRadius()
     */
    public void setBaseRadius(double radius) {
      this.baseRadius = radius;
    }

    /**
     * Returns the label offset.
     *
     * @return The label offset (in Java2D units).
     *
     * @see #setLabelOffset(double)
     */
    public double getLabelOffset() {
      return this.labelOffset;
    }

    /**
     * Sets the label offset (from the arrow base, continuing in a straight
     * line, in Java2D units).
     *
     * @param offset  the offset (in Java2D units).
     *
     * @see #getLabelOffset()
     */
    public void setLabelOffset(double offset) {
      this.labelOffset = offset;
    }

    /**
     * Returns the arrow length.
     *
     * @return The arrow length.
     *
     * @see #setArrowLength(double)
     */
    public double getArrowLength() {
      return this.arrowLength;
    }

    /**
     * Sets the arrow length.
     *
     * @param length  the length.
     *
     * @see #getArrowLength()
     */
    public void setArrowLength(double length) {
      this.arrowLength = length;
    }

    /**
     * Returns the arrow width.
     *
     * @return The arrow width (in Java2D units).
     *
     * @see #setArrowWidth(double)
     */
    public double getArrowWidth() {
      return this.arrowWidth;
    }

    /**
     * Sets the arrow width.
     *
     * @param width  the width (in Java2D units).
     *
     * @see #getArrowWidth()
     */
    public void setArrowWidth(double width) {
      this.arrowWidth = width;
    }

    /**
     * Returns the stroke used to draw the arrow line.
     *
     * @return The arrow stroke (never <code>null</code>).
     *
     * @see #setArrowStroke(Stroke)
     */
    public Stroke getArrowStroke() {
      return this.arrowStroke;
    }

    /**
     * Sets the stroke used to draw the arrow line.
     *
     * @param stroke  the stroke (<code>null</code> not permitted).
     *
     * @see #getArrowStroke()
     */
    public void setArrowStroke(Stroke stroke) {
      if (stroke == null) {
        throw new IllegalArgumentException("Null \'stroke\' not permitted.");
      }
      this.arrowStroke = stroke;
    }

    /**
     * Returns the paint used for the arrow.
     *
     * @return The arrow paint (never <code>null</code>).
     *
     * @see #setArrowPaint(Paint)
     */
    public Paint getArrowPaint() {
      return this.arrowPaint;
    }

    /**
     * Sets the paint used for the arrow.
     *
     * @param paint  the arrow paint (<code>null</code> not permitted).
     *
     * @see #getArrowPaint()
     */
    public void setArrowPaint(Paint paint) {
      if (paint == null) {
        throw new IllegalArgumentException("Null \'paint\' argument.");
      }
      this.arrowPaint = paint;
    }

First
Previous

Clone Instance
2

Line Count
174

Source Line
172

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/XYPointerAnnotation.java

    /**
     * Returns the angle of the arrow.
     *
     * @return The angle (in radians).
     *
     * @see #setAngle(double)
     */
    public double getAngle() {
      return this.angle;
    }

    /**
     * Sets the angle of the arrow.
     *
     * @param angle  the angle (in radians).
     *
     * @see #getAngle()
     */
    public void setAngle(double angle) {
      this.angle = angle;
    }

    /**
     * Returns the tip radius.
     *
     * @return The tip radius (in Java2D units).
     *
     * @see #setTipRadius(double)
     */
    public double getTipRadius() {
      return this.tipRadius;
    }

    /**
     * Sets the tip radius.
     *
     * @param radius  the radius (in Java2D units).
     *
     * @see #getTipRadius()
     */
    public void setTipRadius(double radius) {
      this.tipRadius = radius;
    }

    /**
     * Returns the base radius.
     *
     * @return The base radius (in Java2D units).
     *
     * @see #setBaseRadius(double)
     */
    public double getBaseRadius() {
      return this.baseRadius;
    }

    /**
     * Sets the base radius.
     *
     * @param radius  the radius (in Java2D units).
     *
     * @see #getBaseRadius()
     */
    public void setBaseRadius(double radius) {
      this.baseRadius = radius;
    }

    /**
     * Returns the label offset.
     *
     * @return The label offset (in Java2D units).
     *
     * @see #setLabelOffset(double)
     */
    public double getLabelOffset() {
      return this.labelOffset;
    }

    /**
     * Sets the label offset (from the arrow base, continuing in a straight
     * line, in Java2D units).
     *
     * @param offset  the offset (in Java2D units).
     *
     * @see #getLabelOffset()
     */
    public void setLabelOffset(double offset) {
      this.labelOffset = offset;
    }

    /**
     * Returns the arrow length.
     *
     * @return The arrow length.
     *
     * @see #setArrowLength(double)
     */
    public double getArrowLength() {
      return this.arrowLength;
    }

    /**
     * Sets the arrow length.
     *
     * @param length  the length.
     *
     * @see #getArrowLength()
     */
    public void setArrowLength(double length) {
      this.arrowLength = length;
    }

    /**
     * Returns the arrow width.
     *
     * @return The arrow width (in Java2D units).
     *
     * @see #setArrowWidth(double)
     */
    public double getArrowWidth() {
      return this.arrowWidth;
    }

    /**
     * Sets the arrow width.
     *
     * @param width  the width (in Java2D units).
     *
     * @see #getArrowWidth()
     */
    public void setArrowWidth(double width) {
      this.arrowWidth = width;
    }

    /**
     * Returns the stroke used to draw the arrow line.
     *
     * @return The arrow stroke (never <code>null</code>).
     *
     * @see #setArrowStroke(Stroke)
     */
    public Stroke getArrowStroke() {
      return this.arrowStroke;
    }

    /**
     * Sets the stroke used to draw the arrow line.
     *
     * @param stroke  the stroke (<code>null</code> not permitted).
     *
     * @see #getArrowStroke()
     */
    public void setArrowStroke(Stroke stroke) {
      if (stroke == null) {
        throw new IllegalArgumentException("Null \'stroke\' not permitted.");
      }
      this.arrowStroke = stroke;
    }

    /**
     * Returns the paint used for the arrow.
     *
     * @return The arrow paint (never <code>null</code>).
     *
     * @see #setArrowPaint(Paint)
     */
    public Paint getArrowPaint() {
      return this.arrowPaint;
    }

    /**
     * Sets the paint used for the arrow.
     *
     * @param paint  the arrow paint (<code>null</code> not permitted).
     *
     * @see #getArrowPaint()
     */
    public void setArrowPaint(Paint paint) {
      if (paint == null) {
        throw new IllegalArgumentException("Null \'paint\' argument.");
      }
      this.arrowPaint = paint;
    }

Clone Abstraction | Parameter Count: 0 | Parameter Bindings

    /**
         * Returns the angle of the arrow.
         *
         * @return The angle (in radians).
         *
         * @see #setAngle(double)
         */
    public double getAngle() {
      return this.angle;
    }

    /**
         * Sets the angle of the arrow.
         *
         * @param angle  the angle (in radians).
         *
         * @see #getAngle()
         */
    public void setAngle(double angle) {
      this.angle = angle;
    }

    /**
         * Returns the tip radius.
         *
         * @return The tip radius (in Java2D units).
         *
         * @see #setTipRadius(double)
         */
    public double getTipRadius() {
      return this.tipRadius;
    }

    /**
         * Sets the tip radius.
         *
         * @param radius  the radius (in Java2D units).
         *
         * @see #getTipRadius()
         */
    public void setTipRadius(double radius) {
      this.tipRadius = radius;
    }

    /**
         * Returns the base radius.
         *
         * @return The base radius (in Java2D units).
         *
         * @see #setBaseRadius(double)
         */
    public double getBaseRadius() {
      return this.baseRadius;
    }

    /**
         * Sets the base radius.
         *
         * @param radius  the radius (in Java2D units).
         *
         * @see #getBaseRadius()
         */
    public void setBaseRadius(double radius) {
      this.baseRadius = radius;
    }

    /**
         * Returns the label offset.
         *
         * @return The label offset (in Java2D units).
         *
         * @see #setLabelOffset(double)
         */
    public double getLabelOffset() {
      return this.labelOffset;
    }

    /**
         * Sets the label offset (from the arrow base, continuing in a straight
         * line, in Java2D units).
         *
         * @param offset  the offset (in Java2D units).
         *
         * @see #getLabelOffset()
         */
    public void setLabelOffset(double offset) {
      this.labelOffset = offset;
    }

    /**
         * Returns the arrow length.
         *
         * @return The arrow length.
         *
         * @see #setArrowLength(double)
         */
    public double getArrowLength() {
      return this.arrowLength;
    }

    /**
         * Sets the arrow length.
         *
         * @param length  the length.
         *
         * @see #getArrowLength()
         */
    public void setArrowLength(double length) {
      this.arrowLength = length;
    }

    /**
         * Returns the arrow width.
         *
         * @return The arrow width (in Java2D units).
         *
         * @see #setArrowWidth(double)
         */
    public double getArrowWidth() {
      return this.arrowWidth;
    }

    /**
         * Sets the arrow width.
         *
         * @param width  the width (in Java2D units).
         *
         * @see #getArrowWidth()
         */
    public void setArrowWidth(double width) {
      this.arrowWidth = width;
    }

    /**
         * Returns the stroke used to draw the arrow line.
         *
         * @return The arrow stroke (never <code>null</code>).
         *
         * @see #setArrowStroke(Stroke)
         */
    public Stroke getArrowStroke() {
      return this.arrowStroke;
    }

    /**
         * Sets the stroke used to draw the arrow line.
         *
         * @param stroke  the stroke (<code>null</code> not permitted).
         *
         * @see #getArrowStroke()
         */
    public void setArrowStroke(Stroke stroke) {
      if (stroke == null) {
        throw new IllegalArgumentException("Null \'stroke\' not permitted.");
      }
      this.arrowStroke = stroke;
    }

    /**
         * Returns the paint used for the arrow.
         *
         * @return The arrow paint (never <code>null</code>).
         *
         * @see #setArrowPaint(Paint)
         */
    public Paint getArrowPaint() {
      return this.arrowPaint;
    }

    /**
         * Sets the paint used for the arrow.
         *
         * @param paint  the arrow paint (<code>null</code> not permitted).
         *
         * @see #getArrowPaint()
         */
    public void setArrowPaint(Paint paint) {
      if (paint == null) {
        throw new IllegalArgumentException("Null \'paint\' argument.");
      }
      this.arrowPaint = paint;
    }

CloneAbstraction

Parameter Bindings
Parameter Index | Clone Instance | Parameter Name | Value
--- | --- | --- | ---
None