From 4b21a8958afa331e41ce6667dcf81cbfb937b933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=B2=B3?= <445798420@qq.com> Date: Thu, 10 Oct 2019 16:30:41 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-1167=20=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9&=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/design/chart/DefaultOtherPane.java | 4 ++-- .../api/design/chart/DefaultTypePane.java | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/fanruan/api/design/chart/DefaultOtherPane.java b/src/main/java/com/fanruan/api/design/chart/DefaultOtherPane.java index 940b9f1..ee3df6d 100644 --- a/src/main/java/com/fanruan/api/design/chart/DefaultOtherPane.java +++ b/src/main/java/com/fanruan/api/design/chart/DefaultOtherPane.java @@ -36,7 +36,7 @@ public class DefaultOtherPane extends BaseOtherPane * 根据图表对象属性还原面板选项 */ @Override - public void populate(BaseChartWithData ob) { + public void populate(T ob) { if (ob.getNameJavaScriptGroup() == null) { ob.setNameJavaScriptGroup(new NameJavaScriptGroup()); } @@ -54,7 +54,7 @@ public class DefaultOtherPane extends BaseOtherPane * 根据面板选项更新图表对象属性 */ @Override - public void update(BaseChartWithData ob) { + public void update(T ob) { if (hyperLinkPane != null) { hyperLinkPane.update(ob.getNameJavaScriptGroup()); } diff --git a/src/main/java/com/fanruan/api/design/chart/DefaultTypePane.java b/src/main/java/com/fanruan/api/design/chart/DefaultTypePane.java index 298225a..a981eba 100644 --- a/src/main/java/com/fanruan/api/design/chart/DefaultTypePane.java +++ b/src/main/java/com/fanruan/api/design/chart/DefaultTypePane.java @@ -110,20 +110,4 @@ public class DefaultTypePane extends AbstractChartT protected Component[][] getPaneComponents(JPanel typePane) { return super.getPaneComponents(typePane); } - - //TODO 已经在父类中加了默认实现,jar包更新后直接删除 - @Override - protected String[] getTypeLayoutPath() { - return new String[0]; - } - - @Override - protected String[] getTypeLayoutTipName() { - return new String[0]; - } - - @Override - protected String getPlotTypeID() { - return null; - } }