|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|