2 * Copyright (c) 2018. Developed by Hedgecode.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.hedgecode.chess.ascii;
20 * ASCII chess diagram board types.
22 * @author Dmitry Samoshin aka gotty
24 public enum ASCIIBoardType {
27 ASCII.HYPHEN_LINE, ASCII.HYPHEN_LINE, ASCII.HYPHEN_LINE,
28 ASCII.HYPHEN_SEP, ASCII.HYPHEN_SEP, ASCII.EMPTY, ASCII.EMPTY
32 ASCII.DOT_LINE, null, ASCII.DOT_LINE,
33 null, ASCII.DOT_EDGE, ASCII.DOT_EMPTY, ASCII.EMPTY
37 ASCII.TIGHT_LINE, null, null,
38 ASCII.TIGHT_SEP, ASCII.TIGHT_SEP, ASCII.TIGHT_EMPTY, ASCII.TIGHT_EMPTY
42 ASCII.CP866_HEADER, ASCII.CP866_LINE, ASCII.CP866_FOOTER,
43 ASCII.CP866_SEP, ASCII.CP866_EDGE, ASCII.EMPTY, ASCII.EMPTY
46 private String header;
48 private String footer;
49 private String separator;
55 String header, String line, String footer,
56 String separator, String edge,
57 char empty, char space
62 this.separator = separator;
68 public String getHeader() {
72 public String getLine() {
76 public String getFooter() {
80 public String getSeparator() {
84 public String getEdge() {
88 public char getEmpty() {
92 public char getSpace() {