CloneSet446


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
49210.968class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
153681
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/PiePlot.java
249514
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/SpiderWebPlot.java
Next
Last
Clone Instance
1
Line Count
53
Source Line
681
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/PiePlot.java

/**
 * Returns the direction in which the pie sections are drawn (clockwise or 
 * anti-clockwise).
 *
 * @return The direction (never <code>null</code>).
 * 
 * @see #setDirection(Rotation)
 */
public Rotation getDirection() {
  return this.direction;
}

/**
 * Sets the direction in which the pie sections are drawn and sends a 
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param direction  the direction (<code>null</code> not permitted).
 * 
 * @see #getDirection()
 */
public void setDirection(Rotation direction) {
  if (direction == null) {
    throw new IllegalArgumentException("Null \'direction\' argument.");
  }
  this.direction = direction;
  fireChangeEvent();
}

/**
 * Returns the interior gap, measured as a percentage of the available 
 * drawing space.
 *
 * @return The gap (as a percentage of the available drawing space).
 * 
 * @see #setInteriorGap(double)
 */
public double getInteriorGap() {
  return this.interiorGap;
}

/**
 * Sets the interior gap and sends a {@link PlotChangeEvent} to all 
 * registered listeners.  This controls the space between the edges of the 
 * pie plot and the plot area itself (the region where the section labels 
 * appear).
 *
 * @param percent  the gap (as a percentage of the available drawing space).
 * 
 * @see #getInteriorGap()
 */
public void setInteriorGap(double percent) {
  if ((percent < 0.0) || (percent > MAX_INTERIOR_GAP)) {
    throw new IllegalArgumentException("Invalid \'percent\' (" + percent + ") argument.");
  }
  if (this.interiorGap != percent) {
    this.interiorGap = percent;
    fireChangeEvent();
  }
}


First
Previous
Clone Instance
2
Line Count
49
Source Line
514
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/SpiderWebPlot.java

/**
 * Returns the direction in which the radar axes are drawn
 * (clockwise or anti-clockwise).
 *
 * @return The direction (never <code>null</code>).
 *
 * @see #setDirection(Rotation)
 */
public Rotation getDirection() {
  return this.direction;
}

/**
 * Sets the direction in which the radar axes are drawn and sends a
 * {@link PlotChangeEvent} to all registered listeners.
 *
 * @param direction  the direction (<code>null</code> not permitted).
 *
 * @see #getDirection()
 */
public void setDirection(Rotation direction) {
  if (direction == null) {
    throw new IllegalArgumentException("Null \'direction\' argument.");
  }
  this.direction = direction;
  fireChangeEvent();
}

/**
 * Returns the interior gap, measured as a percentage of the available
 * drawing space.
 *
 * @return The gap (as a percentage of the available drawing space).
 *
 * @see #setInteriorGap(double)
 */
public double getInteriorGap() {
  return this.interiorGap;
}

/**
 * Sets the interior gap and sends a {@link PlotChangeEvent} to all
 * registered listeners. This controls the space between the edges of the
 * plot and the plot area itself (the region where the axis labels appear).
 *
 * @param percent  the gap (as a percentage of the available drawing space).
 *
 * @see #getInteriorGap()
 */
public void setInteriorGap(double percent) {
  if ((percent < 0.0) || (percent > MAX_INTERIOR_GAP)) {
    throw new IllegalArgumentException("Percentage outside valid range.");
  }
  if (this.interiorGap != percent) {
    this.interiorGap = percent;
    fireChangeEvent();
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns the direction in which the radar axes are drawn
     * (clockwise or anti-clockwise).
     *
     * @return The direction (never <code>null</code>).
     *
     * @see #setDirection(Rotation)
     */
/**
     * Returns the direction in which the pie sections are drawn (clockwise or 
     * anti-clockwise).
     *
     * @return The direction (never <code>null</code>).
     * 
     * @see #setDirection(Rotation)
     */
public Rotation getDirection() {
  return this.direction;
}

/**
     * Sets the direction in which the radar axes are drawn and sends a
     * {@link PlotChangeEvent} to all registered listeners.
     *
     * @param direction  the direction (<code>null</code> not permitted).
     *
     * @see #getDirection()
     */
/**
     * Sets the direction in which the pie sections are drawn and sends a 
     * {@link PlotChangeEvent} to all registered listeners.
     *
     * @param direction  the direction (<code>null</code> not permitted).
     * 
     * @see #getDirection()
     */
public void setDirection(Rotation direction) {
  if (direction == null) {
    throw new IllegalArgumentException("Null \'direction\' argument.");
  }
  this.direction = direction;
  fireChangeEvent();
}

/**
     * Returns the interior gap, measured as a percentage of the available
     * drawing space.
     *
     * @return The gap (as a percentage of the available drawing space).
     *
     * @see #setInteriorGap(double)
     */
/**
     * Returns the interior gap, measured as a percentage of the available 
     * drawing space.
     *
     * @return The gap (as a percentage of the available drawing space).
     * 
     * @see #setInteriorGap(double)
     */
public double getInteriorGap() {
  return this.interiorGap;
}

/**
     * Sets the interior gap and sends a {@link PlotChangeEvent} to all
     * registered listeners. This controls the space between the edges of the
     * plot and the plot area itself (the region where the axis labels appear).
     *
     * @param percent  the gap (as a percentage of the available drawing space).
     *
     * @see #getInteriorGap()
     */
/**
     * Sets the interior gap and sends a {@link PlotChangeEvent} to all 
     * registered listeners.  This controls the space between the edges of the 
     * pie plot and the plot area itself (the region where the section labels 
     * appear).
     *
     * @param percent  the gap (as a percentage of the available drawing space).
     * 
     * @see #getInteriorGap()
     */
public void setInteriorGap(double percent) {
  if ((percent < 0.0) || (percent > MAX_INTERIOR_GAP)) {
    throw new IllegalArgumentException( [[#variable1a9b3000]]);
  }
  if (this.interiorGap != percent) {
    this.interiorGap = percent;
    fireChangeEvent();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9b3000]]
"Invalid \'percent\' (" + percent + ") argument." 
12[[#1a9b3000]]
"Percentage outside valid range."