CloneSet218


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
60230.989class_body_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
160854
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java
261642
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java
Next
Last
Clone Instance
1
Line Count
60
Source Line
854
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java

/**
 * Returns the flag that determines whether or not zooming is enabled for
 * the domain axis.
 *
 * @return A boolean.
 */
public boolean isDomainZoomable() {
  return this.domainZoomable;
}

/**
 * Sets the flag that controls whether or not zooming is enable for the
 * domain axis.  A check is made to ensure that the current plot supports
 * zooming for the domain values.
 *
 * @param flag  <code>true</code> enables zooming if possible.
 */
public void setDomainZoomable(boolean flag) {
  if (flag) {
    Plot plot = this.chart.getPlot();
    if (plot instanceof Zoomable) {
      Zoomable z = (Zoomable) plot;
      this.domainZoomable = flag && (z.isDomainZoomable());
    }
  }
  else {
    this.domainZoomable = false;
  }
}

/**
 * Returns the flag that determines whether or not zooming is enabled for
 * the range axis.
 *
 * @return A boolean.
 */
public boolean isRangeZoomable() {
  return this.rangeZoomable;
}

/**
 * A flag that controls mouse-based zooming on the vertical axis.
 *
 * @param flag  <code>true</code> enables zooming.
 */
public void setRangeZoomable(boolean flag) {
  if (flag) {
    Plot plot = this.chart.getPlot();
    if (plot instanceof Zoomable) {
      Zoomable z = (Zoomable) plot;
      this.rangeZoomable = flag && (z.isRangeZoomable());
    }
  }
  else {
    this.rangeZoomable = false;
  }
}

/**
 * Returns the flag that controls whether or not the zoom rectangle is
 * filled when drawn.
 *
 * @return A boolean.
 */
public boolean getFillZoomRectangle() {
  return this.fillZoomRectangle;
}


First
Previous
Clone Instance
2
Line Count
61
Source Line
642
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java

/**
 * Returns the flag that determines whether or not zooming is enabled for 
 * the domain axis.
 * 
 * @return A boolean.
 */
public boolean isDomainZoomable() {
  return this.domainZoomable;
}

/**
 * Sets the flag that controls whether or not zooming is enable for the 
 * domain axis.  A check is made to ensure that the current plot supports
 * zooming for the domain values.
 *
 * @param flag  <code>true</code> enables zooming if possible.
 */
public void setDomainZoomable(boolean flag) {
  if (flag) {
    Plot plot = this.chart.getPlot();
    if (plot instanceof Zoomable) {
      Zoomable z = (Zoomable) plot;
      this.domainZoomable = flag && (z.isDomainZoomable());
    }
  }
  else {
    this.domainZoomable = false;
  }
}

/**
 * Returns the flag that determines whether or not zooming is enabled for 
 * the range axis.
 * 
 * @return A boolean.
 */
public boolean isRangeZoomable() {
  return this.rangeZoomable;
}

/**
 * A flag that controls mouse-based zooming on the vertical axis.
 *
 * @param flag  <code>true</code> enables zooming.
 */
public void setRangeZoomable(boolean flag) {
  if (flag) {
    Plot plot = this.chart.getPlot();
    if (plot instanceof Zoomable) {
      Zoomable z = (Zoomable) plot;
      this.rangeZoomable = flag && (z.isRangeZoomable());
    }
  }
  else {
    this.rangeZoomable = false;
  }
}

/**
 * Returns the zoom in factor.
 * 
 * @return The zoom in factor.
 * 
 * @see #setZoomInFactor(double)
 */
public double getZoomInFactor() {
  return this.zoomInFactor;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Returns the flag that determines whether or not zooming is enabled for
     * the domain axis.
     *
     * @return A boolean.
     */
/**
     * Returns the flag that determines whether or not zooming is enabled for 
     * the domain axis.
     * 
     * @return A boolean.
     */
public boolean isDomainZoomable() {
  return this.domainZoomable;
}

/**
     * Sets the flag that controls whether or not zooming is enable for the
     * domain axis.  A check is made to ensure that the current plot supports
     * zooming for the domain values.
     *
     * @param flag  <code>true</code> enables zooming if possible.
     */
/**
     * Sets the flag that controls whether or not zooming is enable for the 
     * domain axis.  A check is made to ensure that the current plot supports
     * zooming for the domain values.
     *
     * @param flag  <code>true</code> enables zooming if possible.
     */
public void setDomainZoomable(boolean flag) {
  if (flag) {
    Plot plot = this.chart.getPlot();
    if (plot instanceof Zoomable) {
      Zoomable z = (Zoomable) plot;
      this.domainZoomable = flag && (z.isDomainZoomable());
    }
  }
  else {
    this.domainZoomable = false;
  }
}

/**
     * Returns the flag that determines whether or not zooming is enabled for
     * the range axis.
     *
     * @return A boolean.
     */
/**
     * Returns the flag that determines whether or not zooming is enabled for 
     * the range axis.
     * 
     * @return A boolean.
     */
public boolean isRangeZoomable() {
  return this.rangeZoomable;
}

/**
     * A flag that controls mouse-based zooming on the vertical axis.
     *
     * @param flag  <code>true</code> enables zooming.
     */
/**
     * A flag that controls mouse-based zooming on the vertical axis.
     *
     * @param flag  <code>true</code> enables zooming.
     */
public void setRangeZoomable(boolean flag) {
  if (flag) {
    Plot plot = this.chart.getPlot();
    if (plot instanceof Zoomable) {
      Zoomable z = (Zoomable) plot;
      this.rangeZoomable = flag && (z.isRangeZoomable());
    }
  }
  else {
    this.rangeZoomable = false;
  }
}

/**
     * Returns the flag that controls whether or not the zoom rectangle is
     * filled when drawn.
     *
     * @return A boolean.
     */
/**
     * Returns the zoom in factor.
     * 
     * @return The zoom in factor.
     * 
     * @see #setZoomInFactor(double)
     */
public [[#variable1a8413e0]]  [[#variable1a8465e0]]() {
  return this. [[#variable1a8465c0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a8413e0]]
boolean 
12[[#1a8413e0]]
double 
21[[#1a8465e0]]
getFillZoomRectangle 
22[[#1a8465e0]]
getZoomInFactor 
31[[#1a8465c0]]
fillZoomRectangle 
32[[#1a8465c0]]
zoomInFactor