Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 5 | 3 | 0.958 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 430 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultAxisEditor.java |
2 | 6 | 243 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultChartEditor.java |
3 | 7 | 251 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultNumberAxisEditor.java |
4 | 8 | 475 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java |
5 | 7 | 505 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java |
| |||||
/** * Allows the user the opportunity to change the outline paint. */ private void attemptModifyLabelPaint() { Color c; c = JColorChooser.showDialog(this, localizationResources.getString("Label_Color"), Color.blue); if (c != null) { this.labelPaintSample.setPaint(c); } } |
| |||||
/** * Allows the user the opportunity to select a new background paint. Uses * JColorChooser, so we are only allowing a subset of all Paint objects to * be selected (fix later). */ private void attemptModifyBackgroundPaint() { Color c; c = JColorChooser.showDialog(this, localizationResources.getString("Background_Color"), Color.blue); if (c != null) { this.background.setPaint(c); } } |
| |||||
/** * Handle a grid paint selection. */ private void attemptGridPaintSelection() { Color c; c = JColorChooser.showDialog(this, localizationResources.getString("Grid_Color"), Color.blue); if (c != null) { this.gridPaintSample.setPaint(c); } } |
| |||||
/** * Allow the user to change the background paint. */ private void attemptBackgroundPaintSelection() { Color c; c = JColorChooser.showDialog(this, localizationResources.getString("Background_Color"), Color.blue); if (c != null) { this.backgroundPaintSample.setPaint(c); } } |
| |||||
/** * Allow the user to change the outline paint. We use JColorChooser, so * the user can only choose colors (a subset of all possible paints). */ private void attemptOutlinePaintSelection() { Color c; c = JColorChooser.showDialog(this, localizationResources.getString("Outline_Color"), Color.blue); if (c != null) { this.outlinePaintSample.setPaint(c); } } |
| |||
/** * Allows the user the opportunity to change the outline paint. */ /** * Allows the user the opportunity to select a new background paint. Uses * JColorChooser, so we are only allowing a subset of all Paint objects to * be selected (fix later). */ /** * Handle a grid paint selection. */ /** * Allow the user to change the outline paint. We use JColorChooser, so * the user can only choose colors (a subset of all possible paints). */ /** * Allow the user to change the background paint. */ private void [[#variable1a9717c0]]() { Color c; c = JColorChooser.showDialog(this, localizationResources.getString( [[#variable1a971840]]), Color.blue); if (c != null) { this. [[#variable1a9717e0]].setPaint(c); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a9717c0]] | attemptModifyLabelPaint |
1 | 2 | [[#1a9717c0]] | attemptModifyBackgroundPaint |
1 | 3 | [[#1a9717c0]] | attemptGridPaintSelection |
1 | 4 | [[#1a9717c0]] | attemptBackgroundPaintSelection |
1 | 5 | [[#1a9717c0]] | attemptOutlinePaintSelection |
2 | 1 | [[#1a971840]] | "Label_Color" |
2 | 2 | [[#1a971840]] | "Background_Color" |
2 | 3 | [[#1a971840]] | "Grid_Color" |
2 | 4 | [[#1a971840]] | "Background_Color" |
2 | 5 | [[#1a971840]] | "Outline_Color" |
3 | 1 | [[#1a9717e0]] | labelPaintSample |
3 | 2 | [[#1a9717e0]] | background |
3 | 3 | [[#1a9717e0]] | gridPaintSample |
3 | 4 | [[#1a9717e0]] | backgroundPaintSample |
3 | 5 | [[#1a9717e0]] | outlinePaintSample |