Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.964 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 361 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/LegendTitle.java |
2 | 6 | 306 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/PaintScaleLegend.java |
| |||||
/** * Sets the item paint. * * @param paint the paint (<code>null</code> not permitted). */ public void setItemPaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null \'paint\' argument."); } this.itemPaint = paint; notifyListeners(new TitleChangeEvent(this )); } |
| |||||
/** * Sets the paint used to draw the outline of the paint strip, and sends * a {@link TitleChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). * * @see #getStripOutlinePaint() */ public void setStripOutlinePaint(Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null \'paint\' argument."); } this.stripOutlinePaint = paint; notifyListeners(new TitleChangeEvent(this )); } |
| |||
/** * Sets the item paint. * * @param paint the paint (<code>null</code> not permitted). */ /** * Sets the paint used to draw the outline of the paint strip, and sends * a {@link TitleChangeEvent} to all registered listeners. * * @param paint the paint (<code>null</code> not permitted). * * @see #getStripOutlinePaint() */ public void [[#variable18fa1280]](Paint paint) { if (paint == null) { throw new IllegalArgumentException("Null \'paint\' argument."); } this. [[#variable18fa11a0]]= paint; notifyListeners(new TitleChangeEvent(this )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18fa1280]] | setItemPaint |
1 | 2 | [[#18fa1280]] | setStripOutlinePaint |
2 | 1 | [[#18fa11a0]] | itemPaint |
2 | 2 | [[#18fa11a0]] | stripOutlinePaint |