Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.959 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 370 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/Axis.java |
2 | 9 | 610 | 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 )); } } |
| |||||
/** * 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 )); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18eb0d20]] | setLabelFont |
1 | 2 | [[#18eb0d20]] | setTickLabelFont |
2 | 1 | [[#18eb0ca0]] | labelFont |
2 | 2 | [[#18eb0ca0]] | tickLabelFont |