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 | 316 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/LegendTitle.java |
2 | 6 | 383 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/LegendTitle.java |
| |||||
/** * Sets the padding that will be applied to each item graphic in the * legend and sends a {@link TitleChangeEvent} to all registered listeners. * * @param padding the padding (<code>null</code> not permitted). */ public void setLegendItemGraphicPadding(RectangleInsets padding) { if (padding == null) { throw new IllegalArgumentException("Null \'padding\' argument."); } this.legendItemGraphicPadding = padding; notifyListeners(new TitleChangeEvent(this )); } |
| |||||
/** * Sets the padding used for the item labels in the legend. * * @param padding the padding (<code>null</code> not permitted). */ public void setItemLabelPadding(RectangleInsets padding) { if (padding == null) { throw new IllegalArgumentException("Null \'padding\' argument."); } this.itemLabelPadding = padding; notifyListeners(new TitleChangeEvent(this )); } |
| |||
/** * Sets the padding used for the item labels in the legend. * * @param padding the padding (<code>null</code> not permitted). */ /** * Sets the padding that will be applied to each item graphic in the * legend and sends a {@link TitleChangeEvent} to all registered listeners. * * @param padding the padding (<code>null</code> not permitted). */ public void [[#variable18fa0660]](RectangleInsets padding) { if (padding == null) { throw new IllegalArgumentException("Null \'padding\' argument."); } this. [[#variable18fa0520]]= padding; notifyListeners(new TitleChangeEvent(this )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18fa0660]] | setLegendItemGraphicPadding |
1 | 2 | [[#18fa0660]] | setItemLabelPadding |
2 | 1 | [[#18fa0520]] | legendItemGraphicPadding |
2 | 2 | [[#18fa0520]] | itemLabelPadding |