Browse Source

增加注释

fbp/master
renekton 1 month ago
parent
commit
28c9e9d386
  1. 6
      designer-base/src/main/java/com/fine/theme/light/ui/FineTableHeaderUI.java

6
designer-base/src/main/java/com/fine/theme/light/ui/FineTableHeaderUI.java

@ -84,6 +84,12 @@ public class FineTableHeaderUI extends FlatTableHeaderUI {
setHorizontalAlignment(SwingConstants.LEFT); setHorizontalAlignment(SwingConstants.LEFT);
} }
/**
* 是否选中修改背景
* @param isSelected 被选中
* @param columnClass 列类型
* @return 是否修改
*/
public boolean checkSelected(boolean isSelected, Class columnClass) { public boolean checkSelected(boolean isSelected, Class columnClass) {
return isSelected && columnClass != Boolean.class; return isSelected && columnClass != Boolean.class;
} }

Loading…
Cancel
Save