CloneSet2


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
57701.000class_body
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
157181
E:/TSE/Projects-CloneDR/columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/box/CalendarList.java
257242
E:/TSE/Projects-CloneDR/columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/search/SearchResultList.java
357223
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/search/SearchResultList.java
457157
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/contact/gui/box/ContactList.java
557244
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/tagging/TagList.java
65710
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/viewer/HeaderSeparatorBorder.java
757173
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/search/ResultList.java
Next
Last
Clone Instance
1
Line Count
57
Source Line
181
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/box/CalendarList.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified
   * position and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


Next
Previous
Clone Instance
2
Line Count
57
Source Line
242
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/calendar/src/main/java/org/columba/calendar/ui/search/SearchResultList.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified
   * position and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


Next
Previous
Clone Instance
3
Line Count
57
Source Line
223
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/search/SearchResultList.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified
   * position and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


Next
Previous
Clone Instance
4
Line Count
57
Source Line
157
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/contact/gui/box/ContactList.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified
   * position and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


Next
Previous
Clone Instance
5
Line Count
57
Source Line
244
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/tagging/TagList.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified
   * position and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


Next
Previous
Clone Instance
6
Line Count
57
Source Line
10
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/viewer/HeaderSeparatorBorder.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified position
   * and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


First
Previous
Clone Instance
7
Line Count
57
Source Line
173
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/search/ResultList.java

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
   * Paints the border for the specified component with the specified
   * position and size.
   * 
   * @param c
   *            the component for which this border is being painted
   * @param g
   *            the paint graphics
   * @param x
   *            the x position of the painted border
   * @param y
   *            the y position of the painted border
   * @param width
   *            the width of the painted border
   * @param height
   *            the height of the painted border
   */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
   * Returns the insets of the border.
   * 
   * @param c
   *            the component for which this border insets value applies
   */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
   * Reinitialize the insets parameter with this Border's current Insets.
   * 
   * @param c
   *            the component for which this border insets value applies
   * @param insets
   *            the object to be reinitialized
   */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

{
  protected Color color;

  public HeaderSeparatorBorder(Color color) {
    super();
    this.color = color;
  }

  /**
                   * Paints the border for the specified component with the specified
                   * position and size.
                   * 
                   * @param c
                   *            the component for which this border is being painted
                   * @param g
                   *            the paint graphics
                   * @param x
                   *            the x position of the painted border
                   * @param y
                   *            the y position of the painted border
                   * @param width
                   *            the width of the painted border
                   * @param height
                   *            the height of the painted border
                   */
  /**
           * Paints the border for the specified component with the specified position
           * and size.
           * 
           * @param c
           *            the component for which this border is being painted
           * @param g
           *            the paint graphics
           * @param x
           *            the x position of the painted border
           * @param y
           *            the y position of the painted border
           * @param width
           *            the width of the painted border
           * @param height
           *            the height of the painted border
           */
  public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
    Color oldColor = g.getColor();
    g.setColor(color);
    g.drawLine(x, y + height - 1, x + width - 1, y + height - 1);
    g.setColor(oldColor);
  }

  /**
                   * Returns the insets of the border.
                   * 
                   * @param c
                   *            the component for which this border insets value applies
                   */
  /**
           * Returns the insets of the border.
           * 
           * @param c
           *            the component for which this border insets value applies
           */
  public Insets getBorderInsets(Component c) {
    return new Insets(0, 0, 1, 0);
  }

  /**
                   * Reinitialize the insets parameter with this Border's current Insets.
                   * 
                   * @param c
                   *            the component for which this border insets value applies
                   * @param insets
                   *            the object to be reinitialized
                   */
  /**
           * Reinitialize the insets parameter with this Border's current Insets.
           * 
           * @param c
           *            the component for which this border insets value applies
           * @param insets
           *            the object to be reinitialized
           */
  public Insets getBorderInsets(Component c, Insets insets) {
    insets.left = insets.top = insets.right = insets.bottom = 1;
    return insets;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None