
com.googlecode.lanterna.Symbols Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lanterna Show documentation
Show all versions of lanterna Show documentation
Java library for creating text-based terminal GUIs
/*
* This file is part of lanterna (https://github.com/mabe02/lanterna).
*
* lanterna is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Copyright (C) 2010-2020 Martin Berglund
*/
package com.googlecode.lanterna;
/**
* Some text graphics, taken from http://en.wikipedia.org/wiki/Codepage_437 but converted to its UTF-8 counterpart.
* This class it mostly here to help out with building text GUIs when you don't have a handy Unicode chart available.
* Previously this class was known as ACS, which was taken from ncurses (meaning "Alternative Character Set").
* @author martin
*/
public class Symbols {
private Symbols() {}
/**
* ☺
*/
public static final char FACE_WHITE = 0x263A;
/**
* ☻
*/
public static final char FACE_BLACK = 0x263B;
/**
* ♥
*/
public static final char HEART = 0x2665;
/**
* ♣
*/
public static final char CLUB = 0x2663;
/**
* ♦
*/
public static final char DIAMOND = 0x2666;
/**
* ♠
*/
public static final char SPADES = 0x2660;
/**
* •
*/
public static final char BULLET = 0x2022;
/**
* ◘
*/
public static final char INVERSE_BULLET = 0x25d8;
/**
* ○
*/
public static final char WHITE_CIRCLE = 0x25cb;
/**
* ◙
*/
public static final char INVERSE_WHITE_CIRCLE = 0x25d9;
/**
* ■
*/
public static final char SOLID_SQUARE = 0x25A0;
/**
* ▪
*/
public static final char SOLID_SQUARE_SMALL = 0x25AA;
/**
* □
*/
public static final char OUTLINED_SQUARE = 0x25A1;
/**
* ▫
*/
public static final char OUTLINED_SQUARE_SMALL = 0x25AB;
/**
* ♀
*/
public static final char FEMALE = 0x2640;
/**
* ♂
*/
public static final char MALE = 0x2642;
/**
* ↑
*/
public static final char ARROW_UP = 0x2191;
/**
* ↓
*/
public static final char ARROW_DOWN = 0x2193;
/**
* →
*/
public static final char ARROW_RIGHT = 0x2192;
/**
* ←
*/
public static final char ARROW_LEFT = 0x2190;
/**
* █
*/
public static final char BLOCK_SOLID = 0x2588;
/**
* ▓
*/
public static final char BLOCK_DENSE = 0x2593;
/**
* ▒
*/
public static final char BLOCK_MIDDLE = 0x2592;
/**
* ░
*/
public static final char BLOCK_SPARSE = 0x2591;
/**
* ►
*/
public static final char TRIANGLE_RIGHT_POINTING_BLACK = 0x25BA;
/**
* ◄
*/
public static final char TRIANGLE_LEFT_POINTING_BLACK = 0x25C4;
/**
* ▲
*/
public static final char TRIANGLE_UP_POINTING_BLACK = 0x25B2;
/**
* ▼
*/
public static final char TRIANGLE_DOWN_POINTING_BLACK = 0x25BC;
/**
* ⏴
*/
public static final char TRIANGLE_RIGHT_POINTING_MEDIUM_BLACK = 0x23F4;
/**
* ⏵
*/
public static final char TRIANGLE_LEFT_POINTING_MEDIUM_BLACK = 0x23F5;
/**
* ⏶
*/
public static final char TRIANGLE_UP_POINTING_MEDIUM_BLACK = 0x23F6;
/**
* ⏷
*/
public static final char TRIANGLE_DOWN_POINTING_MEDIUM_BLACK = 0x23F7;
/**
* ─
*/
public static final char SINGLE_LINE_HORIZONTAL = 0x2500;
/**
* ━
*/
public static final char BOLD_SINGLE_LINE_HORIZONTAL = 0x2501;
/**
* ╾
*/
public static final char BOLD_TO_NORMAL_SINGLE_LINE_HORIZONTAL = 0x257E;
/**
* ╼
*/
public static final char BOLD_FROM_NORMAL_SINGLE_LINE_HORIZONTAL = 0x257C;
/**
* ═
*/
public static final char DOUBLE_LINE_HORIZONTAL = 0x2550;
/**
* │
*/
public static final char SINGLE_LINE_VERTICAL = 0x2502;
/**
* ┃
*/
public static final char BOLD_SINGLE_LINE_VERTICAL = 0x2503;
/**
* ╿
*/
public static final char BOLD_TO_NORMAL_SINGLE_LINE_VERTICAL = 0x257F;
/**
* ╽
*/
public static final char BOLD_FROM_NORMAL_SINGLE_LINE_VERTICAL = 0x257D;
/**
* ║
*/
public static final char DOUBLE_LINE_VERTICAL = 0x2551;
/**
* ┌
*/
public static final char SINGLE_LINE_TOP_LEFT_CORNER = 0x250C;
/**
* ╔
*/
public static final char DOUBLE_LINE_TOP_LEFT_CORNER = 0x2554;
/**
* ┐
*/
public static final char SINGLE_LINE_TOP_RIGHT_CORNER = 0x2510;
/**
* ╗
*/
public static final char DOUBLE_LINE_TOP_RIGHT_CORNER = 0x2557;
/**
* └
*/
public static final char SINGLE_LINE_BOTTOM_LEFT_CORNER = 0x2514;
/**
* ╚
*/
public static final char DOUBLE_LINE_BOTTOM_LEFT_CORNER = 0x255A;
/**
* ┘
*/
public static final char SINGLE_LINE_BOTTOM_RIGHT_CORNER = 0x2518;
/**
* ╝
*/
public static final char DOUBLE_LINE_BOTTOM_RIGHT_CORNER = 0x255D;
/**
* ┼
*/
public static final char SINGLE_LINE_CROSS = 0x253C;
/**
* ╬
*/
public static final char DOUBLE_LINE_CROSS = 0x256C;
/**
* ╪
*/
public static final char DOUBLE_LINE_HORIZONTAL_SINGLE_LINE_CROSS = 0x256A;
/**
* ╫
*/
public static final char DOUBLE_LINE_VERTICAL_SINGLE_LINE_CROSS = 0x256B;
/**
* ┴
*/
public static final char SINGLE_LINE_T_UP = 0x2534;
/**
* ┬
*/
public static final char SINGLE_LINE_T_DOWN = 0x252C;
/**
* ├
*/
public static final char SINGLE_LINE_T_RIGHT = 0x251c;
/**
* ┤
*/
public static final char SINGLE_LINE_T_LEFT = 0x2524;
/**
* ╨
*/
public static final char SINGLE_LINE_T_DOUBLE_UP = 0x2568;
/**
* ╥
*/
public static final char SINGLE_LINE_T_DOUBLE_DOWN = 0x2565;
/**
* ╞
*/
public static final char SINGLE_LINE_T_DOUBLE_RIGHT = 0x255E;
/**
* ╡
*/
public static final char SINGLE_LINE_T_DOUBLE_LEFT = 0x2561;
/**
* ╩
*/
public static final char DOUBLE_LINE_T_UP = 0x2569;
/**
* ╦
*/
public static final char DOUBLE_LINE_T_DOWN = 0x2566;
/**
* ╠
*/
public static final char DOUBLE_LINE_T_RIGHT = 0x2560;
/**
* ╣
*/
public static final char DOUBLE_LINE_T_LEFT = 0x2563;
/**
* ╧
*/
public static final char DOUBLE_LINE_T_SINGLE_UP = 0x2567;
/**
* ╤
*/
public static final char DOUBLE_LINE_T_SINGLE_DOWN = 0x2564;
/**
* ╟
*/
public static final char DOUBLE_LINE_T_SINGLE_RIGHT = 0x255F;
/**
* ╢
*/
public static final char DOUBLE_LINE_T_SINGLE_LEFT = 0x2562;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy