Colors.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.core.statistiche.constants;

  21. import java.awt.Color;

  22. /**    
  23.  * Colors
  24.  *
  25.  * @author Poli Andrea (poli@link.it)
  26.  * @author $Author$
  27.  * @version $Rev$, $Date$
  28.  */
  29. public class Colors {

  30.     public static final String CODE_FAULT_APPLICATIVO = org.openspcoop2.core.transazioni.constants.Colors.CODE_FAULT_APPLICATIVO;
  31.     public static final String CODE_ERROR = org.openspcoop2.core.transazioni.constants.Colors.CODE_ERROR;
  32.     public static final String CODE_OK = org.openspcoop2.core.transazioni.constants.Colors.CODE_OK;
  33.     public static final String CODE_TOTALE = "3B83B7";
  34.     public static final String CODE_BANDA_COMPLESSIVA = "3B83B7";
  35.     public static final String CODE_BANDA_INTERNA = "FF8F52";
  36.     public static final String CODE_BANDA_ESTERNA = "95B964";
  37.     public static final String CODE_LATENZA_TOTALE = "3B83B7";
  38.     public static final String CODE_LATENZA_SERVIZIO = "FF8F52";
  39.     public static final String CODE_LATENZA_PORTA = "95B964";
  40.     public static final String CODE_WHITE = "FFFFFF";
  41.    
  42.     public static final String CSS_COLOR_FAULT_APPLICATIVO = org.openspcoop2.core.transazioni.constants.Colors.CSS_COLOR_FAULT_APPLICATIVO;
  43.     public static final String CSS_COLOR_ERROR = org.openspcoop2.core.transazioni.constants.Colors.CSS_COLOR_ERROR;
  44.     public static final String CSS_COLOR_OK = org.openspcoop2.core.transazioni.constants.Colors.CSS_COLOR_OK;
  45.     public static final String CSS_COLOR_TOTALE = "#"+CODE_TOTALE;
  46.     public static final String CSS_COLOR_BANDA_COMPLESSIVA = "#"+ CODE_BANDA_COMPLESSIVA;
  47.     public static final String CSS_COLOR_BANDA_INTERNA = "#"+ CODE_BANDA_INTERNA;
  48.     public static final String CSS_COLOR_BANDA_ESTERNA = "#"+ CODE_BANDA_ESTERNA;
  49.     public static final String CSS_COLOR_LATENZA_TOTALE = "#"+CODE_LATENZA_TOTALE;
  50.     public static final String CSS_COLOR_LATENZA_SERVIZIO = "#"+CODE_LATENZA_SERVIZIO;
  51.     public static final String CSS_COLOR_LATENZA_PORTA = "#"+CODE_LATENZA_PORTA;
  52.     public static final String CSS_COLOR_WHITE = "#"+CODE_WHITE;
  53.    
  54.     public static final Color COLOR_FAULT_APPLICATIVO = org.openspcoop2.core.transazioni.constants.Colors.COLOR_FAULT_APPLICATIVO;
  55.     public static final Color COLOR_ERROR = org.openspcoop2.core.transazioni.constants.Colors.COLOR_ERROR;
  56.     public static final Color COLOR_OK = org.openspcoop2.core.transazioni.constants.Colors.COLOR_OK;
  57.     public static final Color COLOR_TOTALE = Color.decode(CSS_COLOR_TOTALE);
  58.     public static final Color COLOR_LATENZA_TOTALE = Color.decode(CSS_COLOR_LATENZA_TOTALE);
  59.     public static final Color COLOR_LATENZA_SERVIZIO = Color.decode(CSS_COLOR_LATENZA_SERVIZIO);
  60.     public static final Color COLOR_LATENZA_PORTA = Color.decode(CSS_COLOR_LATENZA_PORTA);
  61.    
  62. }