Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
MatrixConstants.java
1 
16 package net.squiz.matrix.core;
17 
18 import java.awt.Color;
19 import java.awt.Font;
20 
21 public interface MatrixConstants {
22 
24  public static final int ARCHIVED = 1;
26  public static final int UNDER_CONSTRUCTION = 2;
28  public static final int PENDING_APPROVAL = 4;
30  public static final int APPROVED = 8;
32  public static final int LIVE = 16;
34  public static final int LIVE_APPROVAL = 32;
36  public static final int EDITING = 64;
38  public static final int EDITING_APPROVAL = 128;
40  public static final int EDITING_APPROVED = 256;
41 
43  public static final Color ARCHIVED_COLOUR = new Color(0xC2B0A0);
45  public static final Color UNDER_CONSTRUCTION_COLOUR = new Color(0xAACCDD);
47  public static final Color PENDING_APPROVAL_COLOUR = new Color(0xDCD2E6);
49  public static final Color APPROVED_COLOUR = new Color(0xF4D425);
51  public static final Color LIVE_COLOUR = new Color(0xDBF18A);
53  public static final Color LIVE_APPROVAL_COLOUR = new Color(0x50D000);
55  public static final Color EDITING_COLOUR = new Color(0xF25C86);
57  public static final Color EDITING_APPROVAL_COLOUR = new Color(0xCC7CC7);
59  public static final Color EDITING_APPROVED_COLOUR = new Color(0xFF9A00);
61  public static final Color UNKNOWN_STATUS_COLOUR = Color.white;
62 
64  public static final Font PLAIN_FONT_10 = new Font("plain_font_10", Font.PLAIN, 10);
65  public static final Font PLAIN_FONT_11 = new Font("plain_font_11", Font.PLAIN, 11);
66  public static final Font PLAIN_FONT_12 = new Font("plain_font_12", Font.PLAIN, 12);
67 
68  //{{{ LINK TYPES
69 
70  public static final int LINK_TYPE_1 = 1;
71 
72  public static final int LINK_TYPE_2 = 2;
73 
74  public static final int LINK_TYPE_3 = 3;
75 
76 
77 }