From ed8b98823c31ed4e913f1fa49af79fef2396e88d Mon Sep 17 00:00:00 2001 From: Yvan Date: Thu, 24 Dec 2020 15:26:31 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-42238=20=E3=80=9010.0.13=E3=80=91JDK11?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8=E5=9B=BE=E6=A0=87=E6=A8=A1=E7=B3=8A?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BC=98=E5=8C=96=20No.12:=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E8=AF=AF=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/base/svg/IconType.java | 62 ------------------- 1 file changed, 62 deletions(-) delete mode 100644 designer-base/src/main/java/com/fr/base/svg/IconType.java diff --git a/designer-base/src/main/java/com/fr/base/svg/IconType.java b/designer-base/src/main/java/com/fr/base/svg/IconType.java deleted file mode 100644 index 7df9a09540..0000000000 --- a/designer-base/src/main/java/com/fr/base/svg/IconType.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.fr.base.svg; - -import com.fr.stable.StringUtils; - -/** - * @author Yvan - * @version 10.0 - * Created by Yvan on 2020/12/22 - */ -public enum IconType { - - /** - * png图片转化的Icon - */ - PNG(".png", 0), - /** - * svg图片转化的normalIcon - */ - NORMAL_SVG("_normal", 1), - /** - * SVG图片转化的disabledIcon - */ - DISABLED_SVG("_disabled", 2), - /** - * SVG图片转化的selectedIcon - */ - SELECTED_SVG("_selected", 3); - - private String iconType; - private int iconCode; - - IconType(String iconType, int iconCode) { - this.iconType = iconType; - this.iconCode = iconCode; - } - - public String getIconType() { - return iconType; - } - - public void setIconType(String iconType) { - this.iconType = iconType; - } - - public int getIconCode() { - return iconCode; - } - - public void setIconCode(int iconCode) { - this.iconCode = iconCode; - } - - public static String getIconType(int iconCode) { - for (IconType iconType : IconType.values()) { - if (iconType.getIconCode() == iconCode) { - return iconType.getIconType(); - } - } - return StringUtils.EMPTY; - } - -}