CloneSet1036


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
32210.988class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1281025
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/JFreeChart.java
232660
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/Plot.java
Next
Last
Clone Instance
1
Line Count
28
Source Line
1025
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/JFreeChart.java

/**
 * Returns the background image alignment. Alignment constants are defined
 * in the <code>org.jfree.ui.Align</code> class in the JCommon class
 * library.
 *
 * @return The alignment.
 *
 * @see #setBackgroundImageAlignment(int)
 */
public int getBackgroundImageAlignment() {
  return this.backgroundImageAlignment;
}

/**
 * Sets the background alignment.  Alignment options are defined by the
 * {@link org.jfree.ui.Align} class.
 *
 * @param alignment  the alignment.
 *
 * @see #getBackgroundImageAlignment()
 */
public void setBackgroundImageAlignment(int alignment) {
  if (this.backgroundImageAlignment != alignment) {
    this.backgroundImageAlignment = alignment;
    fireChartChanged();
  }
}

/**
 * Returns the alpha-transparency for the chart's background image.
 *
 * @return The alpha-transparency.
 *
 * @see #setBackgroundImageAlpha(float)
 */
public float getBackgroundImageAlpha() {
  return this.backgroundImageAlpha;
}


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

/**
 * Returns the background image alignment. Alignment constants are defined
 * in the <code>org.jfree.ui.Align</code> class in the JCommon class
 * library.
 *
 * @return The alignment.
 *
 * @see #setBackgroundImageAlignment(int)
 */
public int getBackgroundImageAlignment() {
  return this.backgroundImageAlignment;
}

/**
 * Sets the alignment for the background image and sends a
 * {@link PlotChangeEvent} to all registered listeners.  Alignment options
 * are defined by the {@link org.jfree.ui.Align} class in the JCommon
 * class library.
 *
 * @param alignment  the alignment.
 *
 * @see #getBackgroundImageAlignment()
 */
public void setBackgroundImageAlignment(int alignment) {
  if (this.backgroundImageAlignment != alignment) {
    this.backgroundImageAlignment = alignment;
    fireChangeEvent();
  }
}

/**
 * Returns the alpha transparency used to draw the background image.  This
 * is a value in the range 0.0f to 1.0f, where 0.0f is fully transparent
 * and 1.0f is fully opaque.
 *
 * @return The alpha transparency.
 *
 * @see #setBackgroundImageAlpha(float)
 */
public float getBackgroundImageAlpha() {
  return this.backgroundImageAlpha;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns the background image alignment. Alignment constants are defined
     * in the <code>org.jfree.ui.Align</code> class in the JCommon class
     * library.
     *
     * @return The alignment.
     *
     * @see #setBackgroundImageAlignment(int)
     */
public int getBackgroundImageAlignment() {
  return this.backgroundImageAlignment;
}

/**
     * Sets the alignment for the background image and sends a
     * {@link PlotChangeEvent} to all registered listeners.  Alignment options
     * are defined by the {@link org.jfree.ui.Align} class in the JCommon
     * class library.
     *
     * @param alignment  the alignment.
     *
     * @see #getBackgroundImageAlignment()
     */
/**
     * Sets the background alignment.  Alignment options are defined by the
     * {@link org.jfree.ui.Align} class.
     *
     * @param alignment  the alignment.
     *
     * @see #getBackgroundImageAlignment()
     */
public void setBackgroundImageAlignment(int alignment) {
  if (this.backgroundImageAlignment != alignment) {
    this.backgroundImageAlignment = alignment;
     [[#variable18e58040]]();
  }
}

/**
     * Returns the alpha transparency used to draw the background image.  This
     * is a value in the range 0.0f to 1.0f, where 0.0f is fully transparent
     * and 1.0f is fully opaque.
     *
     * @return The alpha transparency.
     *
     * @see #setBackgroundImageAlpha(float)
     */
/**
     * Returns the alpha-transparency for the chart's background image.
     *
     * @return The alpha-transparency.
     *
     * @see #setBackgroundImageAlpha(float)
     */
public float getBackgroundImageAlpha() {
  return this.backgroundImageAlpha;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e58040]]
fireChartChanged 
12[[#18e58040]]
fireChangeEvent