CloneSet1144


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

/**
 * Sets the font for the axis label and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param font  the font (<code>null</code> not permitted).
 *
 * @see #getLabelFont()
 */
public void setLabelFont(Font font) {
  if (font == null) {
    throw new IllegalArgumentException("Null \'font\' argument.");
  }
  if ( !this.labelFont.equals(font)) {
    this.labelFont = font;
    notifyListeners(new AxisChangeEvent(this ));
  }
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
610
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/Axis.java

/**
 * Sets the font for the tick labels and sends an {@link AxisChangeEvent}
 * to all registered listeners.
 *
 * @param font  the font (<code>null</code> not allowed).
 *
 * @see #getTickLabelFont()
 */
public void setTickLabelFont(Font font) {
  if (font == null) {
    throw new IllegalArgumentException("Null \'font\' argument.");
  }
  if ( !this.tickLabelFont.equals(font)) {
    this.tickLabelFont = font;
    notifyListeners(new AxisChangeEvent(this ));
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets the font for the tick labels and sends an {@link AxisChangeEvent}
     * to all registered listeners.
     *
     * @param font  the font (<code>null</code> not allowed).
     *
     * @see #getTickLabelFont()
     */
/**
     * Sets the font for the axis label and sends an {@link AxisChangeEvent}
     * to all registered listeners.
     *
     * @param font  the font (<code>null</code> not permitted).
     *
     * @see #getLabelFont()
     */
public void [[#variable18eb0d20]](Font font) {
  if (font == null) {
    throw new IllegalArgumentException("Null \'font\' argument.");
  }
  if ( !this. [[#variable18eb0ca0]].equals(font)) {
    this. [[#variable18eb0ca0]]= font;
    notifyListeners(new AxisChangeEvent(this ));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18eb0d20]]
setLabelFont 
12[[#18eb0d20]]
setTickLabelFont 
21[[#18eb0ca0]]
labelFont 
22[[#18eb0ca0]]
tickLabelFont