- java.lang.Object
-
- java.lang.Enum<MatrixFont8x11>
-
- eu.hansolo.tilesfx.chart.MatrixFont8x11
-
- All Implemented Interfaces:
MatrixFont,java.io.Serializable,java.lang.Comparable<MatrixFont8x11>
public enum MatrixFont8x11 extends java.lang.Enum<MatrixFont8x11> implements MatrixFont
Created by hansolo on 24.03.17.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Field Summary
Fields Modifier and Type Field Description static int[][]ASCII_32_126
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getCharacter(char CHAR)intgetCharacterHeight()intgetCharacterWidth()static MatrixFont8x11valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MatrixFont8x11[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final MatrixFont8x11 INSTANCE
-
-
Method Detail
-
values
public static MatrixFont8x11[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MatrixFont8x11 c : MatrixFont8x11.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatrixFont8x11 valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCharacterWidth
public int getCharacterWidth()
- Specified by:
getCharacterWidthin interfaceMatrixFont
-
getCharacterHeight
public int getCharacterHeight()
- Specified by:
getCharacterHeightin interfaceMatrixFont
-
getCharacter
public int[] getCharacter(char CHAR)
- Specified by:
getCharacterin interfaceMatrixFont
-
-