Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.981 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 1012 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java |
2 | 10 | 1028 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java |
| |||||
/** * Restores the auto-range calculation on the domain axis. */ public void restoreAutoDomainBounds() { Plot p = this.chart.getPlot(); if (p instanceof Zoomable) { Zoomable z = (Zoomable) p; // we need to guard against this.zoomPoint being null org.eclipse.swt.graphics.Point zp = (this.zoomPoint != null ? this.zoomPoint: new org.eclipse.swt.graphics.Point(0, 0)); z.zoomDomainAxes(0.0, this.info.getPlotInfo(), SWTUtils.toAwtPoint(zp)); } } |
| |||||
/** * Restores the auto-range calculation on the range axis. */ public void restoreAutoRangeBounds() { Plot p = this.chart.getPlot(); if (p instanceof ValueAxisPlot) { Zoomable z = (Zoomable) p; // we need to guard against this.zoomPoint being null org.eclipse.swt.graphics.Point zp = (this.zoomPoint != null ? this.zoomPoint: new org.eclipse.swt.graphics.Point(0, 0)); z.zoomRangeAxes(0.0, this.info.getPlotInfo(), SWTUtils.toAwtPoint(zp)); } } |
| |||
/** * Restores the auto-range calculation on the range axis. */ /** * Restores the auto-range calculation on the domain axis. */ public void [[#variable1a9e06c0]]() { Plot p = this.chart.getPlot(); if (p instanceof [[#variable1a9e0660]]) { Zoomable z = (Zoomable) p; // we need to guard against this.zoomPoint being null org.eclipse.swt.graphics.Point zp = (this.zoomPoint != null ? this.zoomPoint: new org.eclipse.swt.graphics.Point(0, 0)); z. [[#variable1a9e0600]](0.0, this.info.getPlotInfo(), SWTUtils.toAwtPoint(zp)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a9e06c0]] | restoreAutoDomainBounds |
1 | 2 | [[#1a9e06c0]] | restoreAutoRangeBounds |
2 | 1 | [[#1a9e0660]] | Zoomable |
2 | 2 | [[#1a9e0660]] | ValueAxisPlot |
3 | 1 | [[#1a9e0600]] | zoomDomainAxes |
3 | 2 | [[#1a9e0600]] | zoomRangeAxes |