From 78a23f8634a9a651697d8f4d4c69e37af256a326 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 30 Aug 2024 17:29:28 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-132184=20&=20REPORT-132446=20fix:?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tabledata/tabledatapane/EmbeddedTableDataPane.java | 6 ++++-- .../style/series/VanChartAbstractPlotSeriesPane.java | 3 ++- .../com/fr/van/chart/pie/RadiusCardLayoutPane.java | 10 ++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/EmbeddedTableDataPane.java b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/EmbeddedTableDataPane.java index 984d170343..487cce3d9e 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/EmbeddedTableDataPane.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/EmbeddedTableDataPane.java @@ -22,6 +22,7 @@ import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; import javax.swing.table.DefaultTableCellRenderer; import javax.swing.table.TableCellEditor; +import javax.swing.table.TableCellRenderer; import javax.swing.table.TableColumn; import java.awt.BorderLayout; import java.awt.Color; @@ -69,8 +70,9 @@ public class EmbeddedTableDataPane extends AbstractTableDataPane { } + public UIButtonGroup getRadiusType() { + return radiusType; + } + + public VanChartCardLayoutPane getCardPane() { + return cardPane; + } + @Override protected String title4PopupWindow() { return null; @@ -97,6 +105,7 @@ public class RadiusCardLayoutPane extends BasicBeanPane { radius.setValue(vanChartRadius.getRadius()); //设置card显示界面 cardPane.updatePane(radiusType.getSelectedIndex() == 0 ? "auto" : "fixed"); + cardPane.setVisible(radiusType.getSelectedIndex() != 0); } } @@ -108,6 +117,7 @@ public class RadiusCardLayoutPane extends BasicBeanPane { vanChartRadius.setRadiusType(radiusType.getSelectedIndex() == 0 ? RadiusType.AUTO : RadiusType.FIXED); vanChartRadius.setRadius((int) radius.getValue()); cardPane.updatePane(radiusType.getSelectedIndex() == 0 ? "auto" : "fixed"); + cardPane.setVisible(radiusType.getSelectedIndex() != 0); } }