CloneSet1092


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
129203
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialTextAnnotation.java
226187
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialValueIndicator.java
Next
Last
Clone Instance
1
Line Count
29
Source Line
203
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialTextAnnotation.java

/**
 * Returns the angle used to calculate the anchor point.
 * 
 * @return The angle (in degrees).
 * 
 * @see #setAngle(double)
 * @see #getRadius()
 */
public double getAngle() {
  return this.angle;
}

/**
 * Sets the angle used to calculate the anchor point and sends a 
 * {@link DialLayerChangeEvent} to all registered listeners.
 * 
 * @param angle  the angle (in degrees).
 * 
 * @see #getAngle()
 * @see #setRadius(double)
 */
public void setAngle(double angle) {
  this.angle = angle;
  notifyListeners(new DialLayerChangeEvent(this ));
}

/**
 * Returns the radius used to calculate the anchor point.  This is 
 * specified as a percentage relative to the dial's framing rectangle.
 * 
 * @return The radius.
 * 
 * @see #setRadius(double)
 * @see #getAngle()
 */
public double getRadius() {
  return this.radius;
}


First
Previous
Clone Instance
2
Line Count
26
Source Line
187
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialValueIndicator.java

/**
 * Returns the angle for the anchor point.  The angle is specified in 
 * degrees using the same orientation as Java's <code>Arc2D</code> class.
 * 
 * @return The angle (in degrees).
 * 
 * @see #setAngle(double)
 */
public double getAngle() {
  return this.angle;
}

/**
 * Sets the angle for the anchor point and sends a 
 * {@link DialLayerChangeEvent} to all registered listeners.
 * 
 * @param angle  the angle (in degrees).
 * 
 * @see #getAngle()
 */
public void setAngle(double angle) {
  this.angle = angle;
  notifyListeners(new DialLayerChangeEvent(this ));
}

/**
 * Returns the radius.
 * 
 * @return The radius.
 * 
 * @see #setRadius(double)
 */
public double getRadius() {
  return this.radius;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns the angle for the anchor point.  The angle is specified in 
     * degrees using the same orientation as Java's <code>Arc2D</code> class.
     * 
     * @return The angle (in degrees).
     * 
     * @see #setAngle(double)
     */
/**
     * Returns the angle used to calculate the anchor point.
     * 
     * @return The angle (in degrees).
     * 
     * @see #setAngle(double)
     * @see #getRadius()
     */
public double getAngle() {
  return this.angle;
}

/**
     * Sets the angle for the anchor point and sends a 
     * {@link DialLayerChangeEvent} to all registered listeners.
     * 
     * @param angle  the angle (in degrees).
     * 
     * @see #getAngle()
     */
/**
     * Sets the angle used to calculate the anchor point and sends a 
     * {@link DialLayerChangeEvent} to all registered listeners.
     * 
     * @param angle  the angle (in degrees).
     * 
     * @see #getAngle()
     * @see #setRadius(double)
     */
public void setAngle(double angle) {
  this.angle = angle;
  notifyListeners(new DialLayerChangeEvent(this ));
}

/**
     * Returns the radius.
     * 
     * @return The radius.
     * 
     * @see #setRadius(double)
     */
/**
     * Returns the radius used to calculate the anchor point.  This is 
     * specified as a percentage relative to the dial's framing rectangle.
     * 
     * @return The radius.
     * 
     * @see #setRadius(double)
     * @see #getAngle()
     */
public double getRadius() {
  return this.radius;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None