Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 3 | 0.960 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 94 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/builders/I15dPanelBuilder.java |
2 | 15 | 143 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/builders/I15dPanelBuilder.java |
| |||||
// Adding Labels and Separators ***************************************** /** * Adds an internationalized (i15d) textual label to the form using the * specified constraints. * * @param resourceKey the resource key for the label's text * @param constraints the label's cell constraints * @return the added label */ public final JLabel addI15dLabel(String resourceKey, CellConstraints constraints) { return addLabel(getI15dString(resourceKey), constraints); } /** * Adds an internationalized (i15d) textual label to the form using the * specified constraints. * * @param resourceKey the resource key for the label's text * @param encodedConstraints a string representation for the constraints * @return the added label */ public final JLabel addI15dLabel(String resourceKey, String encodedConstraints) { return addI15dLabel(resourceKey, new CellConstraints(encodedConstraints)); } |
| |||||
/** * Adds a title to the form using the specified constraints. * * @param resourceKey the resource key for the separator title * @param constraints the separator's cell constraints * @return the added title label */ public final JLabel addI15dTitle(String resourceKey, CellConstraints constraints) { return addTitle(getI15dString(resourceKey), constraints); } /** * Adds a title to the form using the specified constraints. * * @param resourceKey the resource key for the separator titel * @param encodedConstraints a string representation for the constraints * @return the added title label */ public final JLabel add15dTitle(String resourceKey, String encodedConstraints) { return addI15dTitle(resourceKey, new CellConstraints(encodedConstraints)); } |
| |||
// Adding Labels and Separators ***************************************** /** * Adds an internationalized (i15d) textual label to the form using the * specified constraints. * * @param resourceKey the resource key for the label's text * @param constraints the label's cell constraints * @return the added label */ /** * Adds a title to the form using the specified constraints. * * @param resourceKey the resource key for the separator title * @param constraints the separator's cell constraints * @return the added title label */ public final JLabel [[#variable1cc7a140]](String resourceKey, CellConstraints constraints) { return [[#variable1cc7a060]](getI15dString(resourceKey), constraints); } /** * Adds an internationalized (i15d) textual label to the form using the * specified constraints. * * @param resourceKey the resource key for the label's text * @param encodedConstraints a string representation for the constraints * @return the added label */ /** * Adds a title to the form using the specified constraints. * * @param resourceKey the resource key for the separator titel * @param encodedConstraints a string representation for the constraints * @return the added title label */ public final JLabel [[#variable1cc7a040]](String resourceKey, String encodedConstraints) { return [[#variable1cc7a140]](resourceKey, new CellConstraints(encodedConstraints)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc7a140]] | addI15dLabel |
1 | 2 | [[#1cc7a140]] | addI15dTitle |
2 | 1 | [[#1cc7a060]] | addLabel |
2 | 2 | [[#1cc7a060]] | addTitle |
3 | 1 | [[#1cc7a040]] | addI15dLabel |
3 | 2 | [[#1cc7a040]] | add15dTitle |