From 28c9e9d3864f628048877bf9b5999082e9db6689 Mon Sep 17 00:00:00 2001 From: renekton Date: Tue, 22 Oct 2024 18:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fine/theme/light/ui/FineTableHeaderUI.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/designer-base/src/main/java/com/fine/theme/light/ui/FineTableHeaderUI.java b/designer-base/src/main/java/com/fine/theme/light/ui/FineTableHeaderUI.java index c5a9244561..da6a4c9c5e 100644 --- a/designer-base/src/main/java/com/fine/theme/light/ui/FineTableHeaderUI.java +++ b/designer-base/src/main/java/com/fine/theme/light/ui/FineTableHeaderUI.java @@ -84,6 +84,12 @@ public class FineTableHeaderUI extends FlatTableHeaderUI { setHorizontalAlignment(SwingConstants.LEFT); } + /** + * 是否选中修改背景 + * @param isSelected 被选中 + * @param columnClass 列类型 + * @return 是否修改 + */ public boolean checkSelected(boolean isSelected, Class columnClass) { return isSelected && columnClass != Boolean.class; }