Class Font
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Font
-
public final class Font extends Object
The FX-603P used a font which is different from alpha codes. This class converts one to the other. The font contains the following:
- $A0…$DF: Katakana «http://en.wikipedia.org/wiki/Katakana»
-
-
Field Summary
Fields Modifier and Type Field Description static short
a
Lower caps Astatic short
A
upper caps Astatic short
Exp_0
Exp_0static short
Exp_1
Exp_1static short
Exp_2
Exp_2static short
Exp_3
Exp_3static short
Exp_4
Exp_4static short
Exp_5
Exp_5static short
Exp_6
Exp_6static short
Exp_7
Exp_7static short
Exp_8
Exp_8static short
Exp_9
Exp_9static short
Exp_Minus
Exponent Minusstatic @Nullable String[]
Font_To_Display
Convert CASIO Font Character into a Java string.static short
Fraction
Fractionstatic short
Hex_0
Hex_0static short
Hex_1
Hex_1static short
Hex_2
Hex_2static short
Hex_3
Hex_3static short
Hex_4
Hex_4static short
Hex_5
Hex_5static short
Hex_6
Hex_6static short
Hex_7
Hex_7static short
Hex_8
Hex_8static short
Hex_9
Hex_9static short
Hex_A
Hex_Astatic short
Hex_B
Hex_Bstatic short
Hex_C
Hex_Cstatic short
Hex_D
Hex_Dstatic short
Hex_E
Hex_Estatic short
Hex_F
Hex_Fstatic short
Merge_Space
Merge_Spacestatic short
Middle_Dot
Middle_Dot — different from Alpha.Middle_Dotstatic short
Small_A
Small A for ARstatic short
Small_R
Small R for ARstatic short
Space
Spacestatic short
Step_0
0 character for the 4 digits 7 segment displaystatic short
Step_1
1 character for the 4 digits 7 segment displaystatic short
Step_2
2 character for the 4 digits 7 segment displaystatic short
Step_3
3 character for the 4 digits 7 segment displaystatic short
Step_4
4 character for the 4 digits 7 segment displaystatic short
Step_5
5 character for the 4 digits 7 segment displaystatic short
Step_6
6 character for the 4 digits 7 segment displaystatic short
Step_7
7 character for the 4 digits 7 segment displaystatic short
Step_8
8 character for the 4 digits 7 segment displaystatic short
Step_9
9 character for the 4 digits 7 segment displaystatic short
Step_Minus
Minus character for the 4 digits 7 segment displaystatic short
Step_Space
Space character for the 4 digits 7 segment display
-
Constructor Summary
Constructors Modifier Constructor Description private
Font()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static short
Alpha_To_Font(short Alpha)
convert an alpha code to a font code point.static short
Font_To_Alpha(short Character)
convert an alpha code to a font code point.
-
-
-
Field Detail
-
A
public static final short A
upper caps A
- See Also:
- Constant Field Values
-
Exp_0
public static final short Exp_0
Exp_0
- See Also:
- Constant Field Values
-
Exp_1
public static final short Exp_1
Exp_1
- See Also:
- Constant Field Values
-
Exp_2
public static final short Exp_2
Exp_2
- See Also:
- Constant Field Values
-
Exp_3
public static final short Exp_3
Exp_3
- See Also:
- Constant Field Values
-
Exp_4
public static final short Exp_4
Exp_4
- See Also:
- Constant Field Values
-
Exp_5
public static final short Exp_5
Exp_5
- See Also:
- Constant Field Values
-
Exp_6
public static final short Exp_6
Exp_6
- See Also:
- Constant Field Values
-
Exp_7
public static final short Exp_7
Exp_7
- See Also:
- Constant Field Values
-
Exp_8
public static final short Exp_8
Exp_8
- See Also:
- Constant Field Values
-
Exp_9
public static final short Exp_9
Exp_9
- See Also:
- Constant Field Values
-
Exp_Minus
public static final short Exp_Minus
Exponent Minus
- See Also:
- Constant Field Values
-
Font_To_Display
@Nullable public static final @Nullable String[] Font_To_Display
Convert CASIO Font Character into a Java string. Note that this are font codes. For converting alpha code use the functions provided in interface.
-
Fraction
public static final short Fraction
Fraction
- See Also:
- Constant Field Values
-
Hex_0
public static final short Hex_0
Hex_0
- See Also:
- Constant Field Values
-
Hex_1
public static final short Hex_1
Hex_1
- See Also:
- Constant Field Values
-
Hex_2
public static final short Hex_2
Hex_2
- See Also:
- Constant Field Values
-
Hex_3
public static final short Hex_3
Hex_3
- See Also:
- Constant Field Values
-
Hex_4
public static final short Hex_4
Hex_4
- See Also:
- Constant Field Values
-
Hex_5
public static final short Hex_5
Hex_5
- See Also:
- Constant Field Values
-
Hex_6
public static final short Hex_6
Hex_6
- See Also:
- Constant Field Values
-
Hex_7
public static final short Hex_7
Hex_7
- See Also:
- Constant Field Values
-
Hex_8
public static final short Hex_8
Hex_8
- See Also:
- Constant Field Values
-
Hex_9
public static final short Hex_9
Hex_9
- See Also:
- Constant Field Values
-
Hex_A
public static final short Hex_A
Hex_A
- See Also:
- Constant Field Values
-
Hex_B
public static final short Hex_B
Hex_B
- See Also:
- Constant Field Values
-
Hex_C
public static final short Hex_C
Hex_C
- See Also:
- Constant Field Values
-
Hex_D
public static final short Hex_D
Hex_D
- See Also:
- Constant Field Values
-
Hex_E
public static final short Hex_E
Hex_E
- See Also:
- Constant Field Values
-
Hex_F
public static final short Hex_F
Hex_F
- See Also:
- Constant Field Values
-
Merge_Space
public static final short Merge_Space
Merge_Space
- See Also:
- Constant Field Values
-
Middle_Dot
public static final short Middle_Dot
Middle_Dot — different from Alpha.Middle_Dot
- See Also:
- Constant Field Values
-
Small_A
public static final short Small_A
Small A for AR
- See Also:
- Constant Field Values
-
Small_R
public static final short Small_R
Small R for AR
- See Also:
- Constant Field Values
-
Space
public static final short Space
Space
- See Also:
- Constant Field Values
-
Step_0
public static final short Step_0
0 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_1
public static final short Step_1
1 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_2
public static final short Step_2
2 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_3
public static final short Step_3
3 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_4
public static final short Step_4
4 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_5
public static final short Step_5
5 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_6
public static final short Step_6
6 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_7
public static final short Step_7
7 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_8
public static final short Step_8
8 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_9
public static final short Step_9
9 character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_Minus
public static final short Step_Minus
Minus character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
Step_Space
public static final short Step_Space
Space character for the 4 digits 7 segment display
- See Also:
- Constant Field Values
-
a
public static final short a
Lower caps A
- See Also:
- Constant Field Values
-
-
Method Detail
-
Alpha_To_Font
public static short Alpha_To_Font(short Alpha)
convert an alpha code to a font code point. The specially here is that there are only 128 alpha codes which can be displayed (that is, are not ar00 … ar1f, etc) where a and a+128 being the same code. The first 128 alpha codes match the font codes.
However, there are 256 font codes and those from 128…255 are used for internal special characters.
- Parameters:
Alpha
- alpha character- Returns:
- font character
-
Font_To_Alpha
public static short Font_To_Alpha(short Character)
convert an alpha code to a font code point. The specially here is that there are only 128 alpha codes which can be displayed (that is, are not ar00 … ar1f, etc) where a and a+128 being the same code. The first 128 alpha codes match the font codes.
However, there are 256 font codes and those from 128…255 are used for internal special characters.
- Parameters:
Character
- alpha character- Returns:
- font character
-
-