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 shortaLower caps Astatic shortAupper caps Astatic shortExp_0Exp_0static shortExp_1Exp_1static shortExp_2Exp_2static shortExp_3Exp_3static shortExp_4Exp_4static shortExp_5Exp_5static shortExp_6Exp_6static shortExp_7Exp_7static shortExp_8Exp_8static shortExp_9Exp_9static shortExp_MinusExponent Minusstatic @Nullable String[]Font_To_DisplayConvert CASIO Font Character into a Java string.static shortFractionFractionstatic shortHex_0Hex_0static shortHex_1Hex_1static shortHex_2Hex_2static shortHex_3Hex_3static shortHex_4Hex_4static shortHex_5Hex_5static shortHex_6Hex_6static shortHex_7Hex_7static shortHex_8Hex_8static shortHex_9Hex_9static shortHex_AHex_Astatic shortHex_BHex_Bstatic shortHex_CHex_Cstatic shortHex_DHex_Dstatic shortHex_EHex_Estatic shortHex_FHex_Fstatic shortMerge_SpaceMerge_Spacestatic shortMiddle_DotMiddle_Dot — different from Alpha.Middle_Dotstatic shortSmall_ASmall A for ARstatic shortSmall_RSmall R for ARstatic shortSpaceSpacestatic shortStep_00 character for the 4 digits 7 segment displaystatic shortStep_11 character for the 4 digits 7 segment displaystatic shortStep_22 character for the 4 digits 7 segment displaystatic shortStep_33 character for the 4 digits 7 segment displaystatic shortStep_44 character for the 4 digits 7 segment displaystatic shortStep_55 character for the 4 digits 7 segment displaystatic shortStep_66 character for the 4 digits 7 segment displaystatic shortStep_77 character for the 4 digits 7 segment displaystatic shortStep_88 character for the 4 digits 7 segment displaystatic shortStep_99 character for the 4 digits 7 segment displaystatic shortStep_MinusMinus character for the 4 digits 7 segment displaystatic shortStep_SpaceSpace character for the 4 digits 7 segment display
-
Constructor Summary
Constructors Modifier Constructor Description privateFont()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static shortAlpha_To_Font(short Alpha)convert an alpha code to a font code point.static shortFont_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
-
-