From d38211b431e50e0ece59403208dc80d90b54aab5 Mon Sep 17 00:00:00 2001 From: besson Date: Mon, 16 Jan 2023 00:10:33 +0100 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'src/?= =?UTF-8?q?fr/sae/JSonInspector/Settings'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JSonInspector/Settings/Parameters.java | 43 ++++++++++--------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/src/fr/sae/JSonInspector/Settings/Parameters.java b/src/fr/sae/JSonInspector/Settings/Parameters.java index 9389731..df8df1c 100644 --- a/src/fr/sae/JSonInspector/Settings/Parameters.java +++ b/src/fr/sae/JSonInspector/Settings/Parameters.java @@ -1,20 +1,23 @@ -package fr.sae.JSonInspector.Settings; - -import java.awt.*; - -public class Parameters { - public static final Font FILE_FONT = new Font(Font.SANS_SERIF, Font.PLAIN, 18); - public static final String IHM_INDENTATION = " "; - public static final String CONSOLE_INDENTATION = " "; - public static final String ARRAY_CLOSING = "...]"; - public static final String OBJECT_ELEMENT_CLOSING = "...}"; - - public static final Color IHM_COLOR = new Color(70, 70, 70); - public static final Color KEY_COLOR = new Color(70, 189, 204); - public static final Color OTHER_COLOR = new Color(7, 103, 183); - public static final Color STRING_COLOR = new Color(203, 109, 80); - public static final Color NUMBER_COLOR = new Color(133, 192, 95); - public static final Color MOUSE_OVER_COLOR = new Color(60, 60, 60); - public static final Color DEFAULT_TEXT_COLOR = new Color(220, 220, 220); - public static final Color BACKGROUND_COLOR = new Color(45, 45, 45); -} +package JsonInspector.Settings; + +import java.awt.*; + + +/** + * Contient uniquement les paramètres de l'application + */ +public class Parameters { + public static final Font FILE_FONT = new Font(Font.SANS_SERIF, Font.PLAIN, 18); + public static final String IHM_INDENTATION = " "; + public static final String CONSOLE_INDENTATION = " "; + public static final String ARRAY_CLOSING = "...]"; + public static final String OBJECT_ELEMENT_CLOSING = "...}"; + + public static final Color IHM_COLOR = new Color(70, 70, 70); + public static final Color KEY_COLOR = new Color(70, 189, 204); + public static final Color OTHER_COLOR = new Color(7, 103, 183); + public static final Color STRING_COLOR = new Color(203, 109, 80); + public static final Color NUMBER_COLOR = new Color(133, 192, 95); + public static final Color DEFAULT_TEXT_COLOR = new Color(220, 220, 220); + public static final Color BACKGROUND_COLOR = new Color(45, 45, 45); +}