View Javadoc

1   // %1856096278:hoplugins.teamAnalyzer.ui%
2   package hoplugins.teamAnalyzer.ui;
3   
4   import java.awt.Color;
5   
6   
7   /***
8    * TODO Missing Class Documentation
9    *
10   * @author TODO Author Name
11   */
12  public class UIColors {
13      //~ Static fields/initializers -----------------------------------------------------------------
14  
15      /*** TODO Missing Parameter Documentation */
16      public static Color SelectedRowColor = new Color(235, 235, 235);
17  
18      /*** TODO Missing Parameter Documentation */
19      public static Color RecapRowColor = new Color(220, 220, 255);
20  
21      //~ Methods ------------------------------------------------------------------------------------
22  
23      /***
24       * TODO Missing Method Documentation
25       *
26       * @param type TODO Missing Method Parameter Documentation
27       *
28       * @return TODO Missing Return Method Documentation
29       */
30      public static Color getColor4Matchtyp(int type) {
31          if (type == 1) {
32              return new Color(255, 255, 200);
33          } else if (type == 2) {
34              return new Color(255, 200, 200);
35          } else if (type == 3) {
36              return new Color(200, 255, 200);
37          }
38  
39          return Color.white;
40      }
41  }