CloneSet 1036

# CloneSet1036

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
32 | 2 | 1 | 0.988 | class_body_declarations[3]

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

28

1025

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/JFreeChart.java

2

32

660

    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 Abstraction | Parameter Count: 1 | Parameter 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
--- | --- | --- | ---

1

1

`[[#18e58040]]`

    fireChartChanged

1

2

`[[#18e58040]]`

    fireChangeEvent