CloneSet 115

# CloneSet115

Previous CloneSet | Next CloneSet | Back to Main Report

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

Clone Abstraction | Parameter Bindings

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

1

62

209

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

2

61

354

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

Next
Last

Clone Instance
1

Line Count
62

Source Line
209

Source File

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

    /**
     * Creates a legend item with a filled shape.  The shape is not outlined,
     * and no line is visible.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     */
    public LegendItem(String label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    true, shape,
                                                                /* shape filled = */
                                                                true, fillPaint,
                                                                                /* shape outlined */
                                                                                false, Color.black, UNUSED_STROKE,
                                                                                                                  /* line visible */
                                                                                                                  false, UNUSED_SHAPE, UNUSED_STROKE, Color.black);
    }

    /**
     * Creates a legend item with a filled and outlined shape.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     * @param outlineStroke  the outline stroke (<code>null</code> not
     *                       permitted).
     * @param outlinePaint  the outline paint (<code>null</code> not
     *                      permitted).
     */
    public LegendItem(String label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint, Stroke outlineStroke, Paint outlinePaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    true, shape,
                                                                /* shape filled = */
                                                                true, fillPaint,
                                                                                /* shape outlined = */
                                                                                true, outlinePaint, outlineStroke,
                                                                                                                  /* line visible */
                                                                                                                  false, UNUSED_SHAPE, UNUSED_STROKE, Color.black);
    }

    /**
     * Creates a legend item using a line.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param line  the line (<code>null</code> not permitted).
     * @param lineStroke  the line stroke (<code>null</code> not permitted).
     * @param linePaint  the line paint (<code>null</code> not permitted).
     */
    public LegendItem(String label, String description, String toolTipText, String urlText, Shape line, Stroke lineStroke, Paint linePaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    false, UNUSED_SHAPE,
                                                                        /* shape filled = */
                                                                        false, Color.black,
                                                                                           /* shape outlined = */
                                                                                           false, Color.black, UNUSED_STROKE,
                                                                                                                             /* line visible = */
                                                                                                                             true, line, lineStroke, linePaint);
    }

First
Previous

Clone Instance
2

Line Count
61

Source Line
354

Source File

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

    /**
     * Creates a legend item with a filled shape.  The shape is not outlined,
     * and no line is visible.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     */
    public LegendItem(AttributedString label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    true, shape,
                                                                /* shape filled = */
                                                                true, fillPaint,
                                                                                /* shape outlined = */
                                                                                false, Color.black, UNUSED_STROKE,
                                                                                                                  /* line visible = */
                                                                                                                  false, UNUSED_SHAPE, UNUSED_STROKE, Color.black);
    }

    /**
     * Creates a legend item with a filled and outlined shape.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param shape  the shape (<code>null</code> not permitted).
     * @param fillPaint  the paint used to fill the shape (<code>null</code>
     *                   not permitted).
     * @param outlineStroke  the outline stroke (<code>null</code> not
     *                       permitted).
     * @param outlinePaint  the outline paint (<code>null</code> not
     *                      permitted).
     */
    public LegendItem(AttributedString label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint, Stroke outlineStroke, Paint outlinePaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    true, shape,
                                                                /* shape filled = */
                                                                true, fillPaint,
                                                                                /* shape outlined = */
                                                                                true, outlinePaint, outlineStroke,
                                                                                                                  /* line visible = */
                                                                                                                  false, UNUSED_SHAPE, UNUSED_STROKE, Color.black);
    }

    /**
     * Creates a legend item using a line.
     *
     * @param label  the label (<code>null</code> not permitted).
     * @param description  the description (<code>null</code> permitted).
     * @param toolTipText  the tool tip text (<code>null</code> permitted).
     * @param urlText  the URL text (<code>null</code> permitted).
     * @param line  the line (<code>null</code> not permitted).
     * @param lineStroke  the line stroke (<code>null</code> not permitted).
     * @param linePaint  the line paint (<code>null</code> not permitted).
     */
    public LegendItem(AttributedString label, String description, String toolTipText, String urlText, Shape line, Stroke lineStroke, Paint linePaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    false, UNUSED_SHAPE,
                                                                        /* shape filled = */
                                                                        false, Color.black,
                                                                                           /* shape outlined = */
                                                                                           false, Color.black, UNUSED_STROKE,
                                                                                                                             /* line visible = */
                                                                                                                             true, line, lineStroke, linePaint);
    }

Clone Abstraction | Parameter Count: 1 | Parameter Bindings

    /**
         * Creates a legend item with a filled shape.  The shape is not outlined,
         * and no line is visible.
         *
         * @param label  the label (<code>null</code> not permitted).
         * @param description  the description (<code>null</code> permitted).
         * @param toolTipText  the tool tip text (<code>null</code> permitted).
         * @param urlText  the URL text (<code>null</code> permitted).
         * @param shape  the shape (<code>null</code> not permitted).
         * @param fillPaint  the paint used to fill the shape (<code>null</code>
         *                   not permitted).
         */
    public LegendItem( [[#variable1aa31660]] label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    true, shape,
                                                                /* shape filled = */
                                                                true, fillPaint,
                                                                                /* shape outlined */
                                                                                /* shape outlined = */
                                                                                false, Color.black, UNUSED_STROKE,
                                                                                                                  /* line visible */
                                                                                                                  /* line visible = */
                                                                                                                  false, UNUSED_SHAPE, UNUSED_STROKE, Color.black);
    }

    /**
         * Creates a legend item with a filled and outlined shape.
         *
         * @param label  the label (<code>null</code> not permitted).
         * @param description  the description (<code>null</code> permitted).
         * @param toolTipText  the tool tip text (<code>null</code> permitted).
         * @param urlText  the URL text (<code>null</code> permitted).
         * @param shape  the shape (<code>null</code> not permitted).
         * @param fillPaint  the paint used to fill the shape (<code>null</code>
         *                   not permitted).
         * @param outlineStroke  the outline stroke (<code>null</code> not
         *                       permitted).
         * @param outlinePaint  the outline paint (<code>null</code> not
         *                      permitted).
         */
    public LegendItem( [[#variable1aa31660]] label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint, Stroke outlineStroke, Paint outlinePaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    true, shape,
                                                                /* shape filled = */
                                                                true, fillPaint,
                                                                                /* shape outlined = */
                                                                                true, outlinePaint, outlineStroke,
                                                                                                                  /* line visible */
                                                                                                                  /* line visible = */
                                                                                                                  false, UNUSED_SHAPE, UNUSED_STROKE, Color.black);
    }

    /**
         * Creates a legend item using a line.
         *
         * @param label  the label (<code>null</code> not permitted).
         * @param description  the description (<code>null</code> permitted).
         * @param toolTipText  the tool tip text (<code>null</code> permitted).
         * @param urlText  the URL text (<code>null</code> permitted).
         * @param line  the line (<code>null</code> not permitted).
         * @param lineStroke  the line stroke (<code>null</code> not permitted).
         * @param linePaint  the line paint (<code>null</code> not permitted).
         */
    public LegendItem( [[#variable1aa31660]] label, String description, String toolTipText, String urlText, Shape line, Stroke lineStroke, Paint linePaint) {
      this(label, description, toolTipText, urlText,
                                                    /* shape visible = */
                                                    false, UNUSED_SHAPE,
                                                                        /* shape filled = */
                                                                        false, Color.black,
                                                                                           /* shape outlined = */
                                                                                           false, Color.black, UNUSED_STROKE,
                                                                                                                             /* line visible = */
                                                                                                                             true, line, lineStroke, linePaint);
    }

CloneAbstraction

Parameter Bindings
Parameter Index | Clone Instance | Parameter Name | Value
--- | --- | --- | ---

1

1

`[[#1aa31660]]`

    String

1

2

`[[#1aa31660]]`

    AttributedString