ab4e010904181a150972ce553742918af70ba91b
[jvcard.git] / Symbols.java
1 /*
2 * This file is part of lanterna (http://code.google.com/p/lanterna/).
3 *
4 * lanterna is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Copyright (C) 2010-2015 Martin
18 */
19
20 package com.googlecode.lanterna;
21
22 /**
23 * Some text graphics, taken from http://en.wikipedia.org/wiki/Codepage_437 but converted to its UTF-8 counterpart.
24 * This class it mostly here to help out with building text GUIs when you don't have a handy Unicode chart available.
25 * Previously this class was known as ACS, which was taken from ncurses (meaning "Alternative Character Set").
26 * @author martin
27 */
28 public class Symbols {
29 private Symbols() {}
30
31 /**
32 * ☺
33 */
34 public static final char FACE_WHITE = 0x263A;
35 /**
36 * ☻
37 */
38 public static final char FACE_BLACK = 0x263B;
39 /**
40 * ♥
41 */
42 public static final char HEART = 0x2665;
43 /**
44 * ♣
45 */
46 public static final char CLUB = 0x2663;
47 /**
48 * ♦
49 */
50 public static final char DIAMOND = 0x2666;
51 /**
52 * ♠
53 */
54 public static final char SPADES = 0x2660;
55 /**
56 * •
57 */
58 public static final char BULLET = 0x2022;
59 /**
60 * ◘
61 */
62 public static final char INVERSE_BULLET = 0x25d8;
63 /**
64 * ○
65 */
66 public static final char WHITE_CIRCLE = 0x25cb;
67 /**
68 * ◙
69 */
70 public static final char INVERSE_WHITE_CIRCLE = 0x25d9;
71
72 /**
73 * ■
74 */
75 public static final char SOLID_SQUARE = 0x25A0;
76 /**
77 * ▪
78 */
79 public static final char SOLID_SQUARE_SMALL = 0x25AA;
80 /**
81 * □
82 */
83 public static final char OUTLINED_SQUARE = 0x25A1;
84 /**
85 * ▫
86 */
87 public static final char OUTLINED_SQUARE_SMALL = 0x25AB;
88
89 /**
90 * ♀
91 */
92 public static final char FEMALE = 0x2640;
93 /**
94 * ♂
95 */
96 public static final char MALE = 0x2642;
97
98 /**
99 * ↑
100 */
101 public static final char ARROW_UP = 0x2191;
102 /**
103 * ↓
104 */
105 public static final char ARROW_DOWN = 0x2193;
106 /**
107 * →
108 */
109 public static final char ARROW_RIGHT = 0x2192;
110 /**
111 * ←
112 */
113 public static final char ARROW_LEFT = 0x2190;
114
115 /**
116 * █
117 */
118 public static final char BLOCK_SOLID = 0x2588;
119 /**
120 * ▓
121 */
122 public static final char BLOCK_DENSE = 0x2593;
123 /**
124 * ▒
125 */
126 public static final char BLOCK_MIDDLE = 0x2592;
127 /**
128 * ░
129 */
130 public static final char BLOCK_SPARSE = 0x2591;
131
132 /**
133 * ⏴
134 */
135 public static final char TRIANGLE_RIGHT_POINTING_MEDIUM_BLACK = 0x23F4;
136 /**
137 * ⏵
138 */
139 public static final char TRIANGLE_LEFT_POINTING_MEDIUM_BLACK = 0x23F5;
140 /**
141 * ⏶
142 */
143 public static final char TRIANGLE_UP_POINTING_MEDIUM_BLACK = 0x23F6;
144 /**
145 * ⏷
146 */
147 public static final char TRIANGLE_DOWN_POINTING_MEDIUM_BLACK = 0x23F7;
148
149
150 /**
151 * ─
152 */
153 public static final char SINGLE_LINE_HORIZONTAL = 0x2500;
154 /**
155 * ━
156 */
157 public static final char BOLD_SINGLE_LINE_HORIZONTAL = 0x2501;
158 /**
159 * ╾
160 */
161 public static final char BOLD_TO_NORMAL_SINGLE_LINE_HORIZONTAL = 0x257E;
162 /**
163 * ╼
164 */
165 public static final char BOLD_FROM_NORMAL_SINGLE_LINE_HORIZONTAL = 0x257C;
166 /**
167 * ═
168 */
169 public static final char DOUBLE_LINE_HORIZONTAL = 0x2550;
170 /**
171 * │
172 */
173 public static final char SINGLE_LINE_VERTICAL = 0x2502;
174 /**
175 * ┃
176 */
177 public static final char BOLD_SINGLE_LINE_VERTICAL = 0x2503;
178 /**
179 * ╿
180 */
181 public static final char BOLD_TO_NORMAL_SINGLE_LINE_VERTICAL = 0x257F;
182 /**
183 * ╽
184 */
185 public static final char BOLD_FROM_NORMAL_SINGLE_LINE_VERTICAL = 0x257D;
186 /**
187 * ║
188 */
189 public static final char DOUBLE_LINE_VERTICAL = 0x2551;
190
191 /**
192 * ┌
193 */
194 public static final char SINGLE_LINE_TOP_LEFT_CORNER = 0x250C;
195 /**
196 * ╔
197 */
198 public static final char DOUBLE_LINE_TOP_LEFT_CORNER = 0x2554;
199 /**
200 * ┐
201 */
202 public static final char SINGLE_LINE_TOP_RIGHT_CORNER = 0x2510;
203 /**
204 * ╗
205 */
206 public static final char DOUBLE_LINE_TOP_RIGHT_CORNER = 0x2557;
207
208 /**
209 * └
210 */
211 public static final char SINGLE_LINE_BOTTOM_LEFT_CORNER = 0x2514;
212 /**
213 * ╚
214 */
215 public static final char DOUBLE_LINE_BOTTOM_LEFT_CORNER = 0x255A;
216 /**
217 * ┘
218 */
219 public static final char SINGLE_LINE_BOTTOM_RIGHT_CORNER = 0x2518;
220 /**
221 * ╝
222 */
223 public static final char DOUBLE_LINE_BOTTOM_RIGHT_CORNER = 0x255D;
224
225 /**
226 * ┼
227 */
228 public static final char SINGLE_LINE_CROSS = 0x253C;
229 /**
230 * ╬
231 */
232 public static final char DOUBLE_LINE_CROSS = 0x256C;
233 /**
234 * ╪
235 */
236 public static final char DOUBLE_LINE_HORIZONTAL_SINGLE_LINE_CROSS = 0x256A;
237 /**
238 * ╫
239 */
240 public static final char DOUBLE_LINE_VERTICAL_SINGLE_LINE_CROSS = 0x256B;
241
242 /**
243 * ┴
244 */
245 public static final char SINGLE_LINE_T_UP = 0x2534;
246 /**
247 * ┬
248 */
249 public static final char SINGLE_LINE_T_DOWN = 0x252C;
250 /**
251 * ├
252 */
253 public static final char SINGLE_LINE_T_RIGHT = 0x251c;
254 /**
255 * ┤
256 */
257 public static final char SINGLE_LINE_T_LEFT = 0x2524;
258
259 /**
260 * ╨
261 */
262 public static final char SINGLE_LINE_T_DOUBLE_UP = 0x2568;
263 /**
264 * ╥
265 */
266 public static final char SINGLE_LINE_T_DOUBLE_DOWN = 0x2565;
267 /**
268 * ╞
269 */
270 public static final char SINGLE_LINE_T_DOUBLE_RIGHT = 0x255E;
271 /**
272 * ╡
273 */
274 public static final char SINGLE_LINE_T_DOUBLE_LEFT = 0x2561;
275
276 /**
277 * ╩
278 */
279 public static final char DOUBLE_LINE_T_UP = 0x2569;
280 /**
281 * ╦
282 */
283 public static final char DOUBLE_LINE_T_DOWN = 0x2566;
284 /**
285 * ╠
286 */
287 public static final char DOUBLE_LINE_T_RIGHT = 0x2560;
288 /**
289 * ╣
290 */
291 public static final char DOUBLE_LINE_T_LEFT = 0x2563;
292
293 /**
294 * ╧
295 */
296 public static final char DOUBLE_LINE_T_SINGLE_UP = 0x2567;
297 /**
298 * ╤
299 */
300 public static final char DOUBLE_LINE_T_SINGLE_DOWN = 0x2564;
301 /**
302 * ╟
303 */
304 public static final char DOUBLE_LINE_T_SINGLE_RIGHT = 0x255F;
305 /**
306 * ╢
307 */
308 public static final char DOUBLE_LINE_T_SINGLE_LEFT = 0x2562;
309 }