Browse Source

Merge pull request #1264 in BA/design from ~HZZZ/design:release/9.0 to release/9.0

* commit '4dbcd0eb047f1ff164293db69faa5e24067b6032':
  下拉树背景
  下拉树背景
  下拉树北京
master
superman 7 years ago
parent
commit
3b84ff4c45
  1. 540
      designer_base/src/com/fr/design/roleAuthority/RoleTree.java
  2. 3
      designer_base/src/com/fr/design/roleAuthority/RolesAlreadyEditedPane.java

540
designer_base/src/com/fr/design/roleAuthority/RoleTree.java

File diff suppressed because one or more lines are too long

3
designer_base/src/com/fr/design/roleAuthority/RolesAlreadyEditedPane.java

@ -59,7 +59,6 @@ public class RolesAlreadyEditedPane extends JPanel {
// this.add(northPane, BorderLayout.NORTH); // this.add(northPane, BorderLayout.NORTH);
rolesEditedPane = new RolesEditedPane(); rolesEditedPane = new RolesEditedPane();
this.add(rolesEditedPane, BorderLayout.CENTER); this.add(rolesEditedPane, BorderLayout.CENTER);
} }
public RoleTree getRoleTree() { public RoleTree getRoleTree() {
@ -102,7 +101,7 @@ public class RolesAlreadyEditedPane extends JPanel {
// 这里新建一个Label作为render是因为JTree在动态刷新的时候,节点上render画布的的宽度不会变,会使得一部分比较长的数据显示为"..." // 这里新建一个Label作为render是因为JTree在动态刷新的时候,节点上render画布的的宽度不会变,会使得一部分比较长的数据显示为"..."
this.setBackgroundNonSelectionColor(UIConstants.NORMAL_BACKGROUND); this.setBackgroundNonSelectionColor(UIConstants.TREE_BACKGROUND);
this.setForeground(UIConstants.FONT_COLOR); this.setForeground(UIConstants.FONT_COLOR);
this.setBackgroundSelectionColor(UIConstants.FLESH_BLUE); this.setBackgroundSelectionColor(UIConstants.FLESH_BLUE);
return this; return this;

Loading…
Cancel
Save