|
|
@ -51,7 +51,7 @@ public class UINameableListCellRenderer extends |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
editButton.setIcon(listControlPane.isNewStyle() ? UIConstants.LIST_EDIT_ICON : UIConstants.CPT_ICON); |
|
|
|
editButton.setIcon(listControlPane.isNewStyle() ? UIConstants.LIST_EDIT_ICON : UIConstants.CPT_ICON); |
|
|
|
editButton.setBorder(BorderFactory.createMatteBorder(0, 0, 0, 1, BORDER_COLOR)); |
|
|
|
editButton.setBorder(BorderFactory.createMatteBorder(0, 0, 0, 1, UIConstants.LIST_ITEM_SPLIT_LINE)); |
|
|
|
editButton.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
|
editButton.setHorizontalAlignment(SwingConstants.CENTER); |
|
|
|
label = new UILabel(); |
|
|
|
label = new UILabel(); |
|
|
|
label.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
|
label.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
@ -62,7 +62,7 @@ public class UINameableListCellRenderer extends |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private Border getNoFocusBorder() { |
|
|
|
private Border getNoFocusBorder() { |
|
|
|
return BorderFactory.createMatteBorder(0, 0, 1, 0, BORDER_COLOR); |
|
|
|
return BorderFactory.createMatteBorder(0, 0, 1, 0, UIConstants.LIST_ITEM_SPLIT_LINE); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void setText(String t) { |
|
|
|
private void setText(String t) { |
|
|
|