Skip to content

Package: NcNodeConstants

NcNodeConstants

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 15
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
100%
M: 0 C: 1
100%

Coverage

1: package networkconfigurator.item;
2:
3: import java.awt.Color;
4:
5: /**
6: * Constants for the fli4l network configurator.
7: *
8: * @author Erik Arand
9: */
10: public final class NcNodeConstants {
11:         /**
12:          * the constants.
13:          */
14:         private NcNodeConstants() {
15:                 super();
16:         }
17:
18:         /**
19:          * Standard Name for adding a network adapter node.
20:          */
21:         static final String NETWORK_ADAPTER = "Network Adapter";
22:         /**
23:          * Standard Name for adding a internet node.
24:          */
25:         static final String INTERNET = "Internet";
26:         /**
27:          * Standard Name for adding a host node.
28:          */
29:         static final String HOST = "Host";
30:         /**
31:          * Standard Name for adding a router node.
32:          */
33:         static final String ROUTER = "Router";
34:         /**
35:          * Standard Name for adding a configurable Router Node.
36:          */
37:         static final String CONFIGROUTER = "Configurable Router";
38:         /**
39:          * Standard Name for adding a switch node.
40:          */
41:         static final String SWITCH = "Switch";
42:         /**
43:          * Standard path for icons.
44:          */
45:         public static final String PACKAGE_ICONS = "icons" + System.getProperty("file.separator");
46:         /**
47:          * String for adding a slot.
48:          */
49:         static final String ADD_SLOT = "Add slot";
50:         /**
51:          * String for adding a adapter.
52:          */
53:         static final String ADD_NETWORK_ADAPTER = "Add network adapter";
54:         /**
55:          * String for delete.
56:          */
57:         static final String DELETE = "Delete";
58:         /**
59:          * String for connect.
60:          */
61:         static final String CONNECT = "Connect";
62:         /**
63:          * String for rename.
64:          */
65:         static final String RENAME = "Rename";
66:         /**
67:          * int represents 55.
68:          */
69:         static final int NUMBER_SECONDARY = 55;
70:         /**
71:          * int represents 40.
72:          */
73:         static final int NUMBER_PRIMARY = 40;
74:         /**
75:          * String for ipv4.
76:          */
77:         static final String IPV4_TEXT = "IPv4: ";
78:         /**
79:          * String for ipv6.
80:          */
81:         static final String IPV6_TEXT = "IPv6: ";
82:         /**
83:          * the color blue.
84:          */
85:         static final Color BLUE = Color.blue;
86:         /**
87:          * the color red.
88:          */
89:         static final Color RED = Color.red;
90:         /**
91:          * Radius constans.
92:          */
93:         public static final int RADIUS = 15;
94:         /**
95:          * Title for the panel.
96:          */
97:         public static final String CONNECTION_TYPE = "Connection Type";
98:         /**
99:          * text for popup.
100:          */
101:         public static final String CHOOSE_A_CONNECTION_TYPE = "Choose a connection type.";
102: }