CloneSet1295


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.954method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17523
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MeterPlot.java
27799
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/ThermometerPlot.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
523
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MeterPlot.java

/**
 * Sets the tick label paint and sends a {@link PlotChangeEvent} to all 
 * registered listeners.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 * 
 * @see #getTickLabelPaint()
 */
public void setTickLabelPaint(Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null \'paint\' argument.");
  }
  if ( !this.tickLabelPaint.equals(paint)) {
    this.tickLabelPaint = paint;
    fireChangeEvent();
  }
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
799
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/ThermometerPlot.java

/**
 * Sets the paint used to display the current value and sends a 
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param paint  the new paint (<code>null</code> not permitted).
 * 
 * @see #getValuePaint()
 */
public void setValuePaint(Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null \'paint\' argument.");
  }
  if ( !this.valuePaint.equals(paint)) {
    this.valuePaint = paint;
    fireChangeEvent();
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets the tick label paint and sends a {@link PlotChangeEvent} to all 
     * registered listeners.
     *
     * @param paint  the paint (<code>null</code> not permitted).
     * 
     * @see #getTickLabelPaint()
     */
/**
     * Sets the paint used to display the current value and sends a 
     * {@link PlotChangeEvent} to all registered listeners.
     *
     * @param paint  the new paint (<code>null</code> not permitted).
     * 
     * @see #getValuePaint()
     */
public void [[#variable18f15720]](Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null \'paint\' argument.");
  }
  if ( !this. [[#variable18f156c0]].equals(paint)) {
    this. [[#variable18f156c0]]= paint;
    fireChangeEvent();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18f15720]]
setTickLabelPaint 
12[[#18f15720]]
setValuePaint 
21[[#18f156c0]]
tickLabelPaint 
22[[#18f156c0]]
valuePaint