CloneSet1220


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116305
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYAreaRenderer.java
218209
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYAreaRenderer2.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
305
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYAreaRenderer.java

/**
 * Returns the shape used to represent an area in the legend.
 * 
 * @return The legend area (never <code>null</code>).
 */
public Shape getLegendArea() {
  return this.legendArea;
}

/**
 * Sets the shape used as an area in each legend item and sends a 
 * {@link RendererChangeEvent} to all registered listeners.
 * 
 * @param area  the area (<code>null</code> not permitted).
 */
public void setLegendArea(Shape area) {
  if (area == null) {
    throw new IllegalArgumentException("Null \'area\' argument.");
  }
  this.legendArea = area;
  fireChangeEvent();
}


First
Previous
Clone Instance
2
Line Count
18
Source Line
209
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYAreaRenderer2.java

/**
 * Returns the shape used to represent an area in the legend.
 * 
 * @return The legend area (never <code>null</code>).
 * 
 * @see #setLegendArea(Shape)
 */
public Shape getLegendArea() {
  return this.legendArea;
}

/**
 * Sets the shape used as an area in each legend item and sends a 
 * {@link RendererChangeEvent} to all registered listeners.
 * 
 * @param area  the area (<code>null</code> not permitted).
 * 
 * @see #getLegendArea()
 */
public void setLegendArea(Shape area) {
  if (area == null) {
    throw new IllegalArgumentException("Null \'area\' argument.");
  }
  this.legendArea = area;
  fireChangeEvent();
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns the shape used to represent an area in the legend.
     * 
     * @return The legend area (never <code>null</code>).
     */
/**
     * Returns the shape used to represent an area in the legend.
     * 
     * @return The legend area (never <code>null</code>).
     * 
     * @see #setLegendArea(Shape)
     */
public Shape getLegendArea() {
  return this.legendArea;
}

/**
     * Sets the shape used as an area in each legend item and sends a 
     * {@link RendererChangeEvent} to all registered listeners.
     * 
     * @param area  the area (<code>null</code> not permitted).
     */
/**
     * Sets the shape used as an area in each legend item and sends a 
     * {@link RendererChangeEvent} to all registered listeners.
     * 
     * @param area  the area (<code>null</code> not permitted).
     * 
     * @see #getLegendArea()
     */
public void setLegendArea(Shape area) {
  if (area == null) {
    throw new IllegalArgumentException("Null \'area\' argument.");
  }
  this.legendArea = area;
  fireChangeEvent();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None