KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SnowMailClient > keyboard > RussianMap


1 package SnowMailClient.keyboard;
2
3 import java.util.*;
4
5 public final class RussianMap extends KeyboardMap
6 {
7
8   public RussianMap()
9   {
10     super("Russian keys", 8);
11
12     this.keys.add(new KeyboardKey( "CYRILLIC LETTER A", 0x0410, 0x0430, "A" ));
13     this.keys.add(new KeyboardKey( "CYRILLIC LETTER BE", 0x0411, 0x0431, "B" ));
14     this.keys.add(new KeyboardKey( "CYRILLIC LETTER VE", 0x0412, 0x0432, "V" ));
15
16     this.keys.add(new KeyboardKey( "CYRILLIC LETTER GHE", 0x0413, 0x0433, "G" ));
17     this.keys.add(new KeyboardKey( "CYRILLIC LETTER DE", 0x0414, 0x0434, "D" ));
18     this.keys.add(new KeyboardKey( "CYRILLIC LETTER IE", 0x0415, 0x0435, "IE" ));
19
20     this.keys.add(new KeyboardKey( "CYRILLIC LETTER IO", 0x0401, 0x0451, "IO" ));
21     this.keys.add(new KeyboardKey( "CYRILLIC LETTER ZHE", 0x0416, 0x0436, "J" ));
22     this.keys.add(new KeyboardKey( "CYRILLIC LETTER ZE", 0x0417, 0x0437, "Z" ));
23
24     this.keys.add(new KeyboardKey( "CYRILLIC LETTER I", 0x0418, 0x0438, "I" ));
25     this.keys.add(new KeyboardKey( "CYRILLIC LETTER SHORT I", 0x0419, 0x0439, "IS" ));
26     this.keys.add(new KeyboardKey( "CYRILLIC LETTER KA", 0x041A, 0x043A, "K" ));
27
28     this.keys.add(new KeyboardKey( "CYRILLIC LETTER EL", 0x041B, 0x043B, "L" ));
29     this.keys.add(new KeyboardKey( "CYRILLIC LETTER EM", 0x041C, 0x043C, "M" ));
30     this.keys.add(new KeyboardKey( "CYRILLIC LETTER EN", 0x041D, 0x043D, "N" ));
31
32     this.keys.add(new KeyboardKey( "CYRILLIC LETTER O", 0x041E, 0x043E, "O" ));
33     this.keys.add(new KeyboardKey( "CYRILLIC LETTER PE", 0x041F, 0x043F, "P" ));
34     this.keys.add(new KeyboardKey( "CYRILLIC LETTER ER", 0x0420, 0x0440, "R" ));
35
36     this.keys.add(new KeyboardKey( "CYRILLIC LETTER ES", 0x0421, 0x0441, "C" ));
37     this.keys.add(new KeyboardKey( "CYRILLIC LETTER TE", 0x0422, 0x0442, "T" ));
38     this.keys.add(new KeyboardKey( "CYRILLIC LETTER U", 0x0423, 0x0443, "U" ));
39
40     this.keys.add(new KeyboardKey( "CYRILLIC LETTER EF", 0x0424, 0x0444, "F" ));
41     this.keys.add(new KeyboardKey( "CYRILLIC LETTER HA", 0x0425, 0x0445, "X" ));
42     this.keys.add(new KeyboardKey( "CYRILLIC LETTER TSE", 0x0426, 0x0446, "TS" ));
43
44     this.keys.add(new KeyboardKey( "CYRILLIC LETTER CHE", 0x0427, 0x0447, "CH" ));
45     this.keys.add(new KeyboardKey( "CYRILLIC LETTER SHA", 0x0428, 0x0448, "SH" ));
46     this.keys.add(new KeyboardKey( "CYRILLIC LETTER SSH", 0x0429, 0x0449, "SSH" ));
47
48     this.keys.add(new KeyboardKey( "CYRILLIC LETTER HARD SIGN", 0x042A, 0x044A ));
49     this.keys.add(new KeyboardKey( "CYRILLIC LETTER YERU", 0x042B, 0x044B ));
50     this.keys.add(new KeyboardKey( "CYRILLIC LETTER SOFT SIGH", 0x042C, 0x044C ));
51
52     this.keys.add(new KeyboardKey( "CYRILLIC LETTER E", 0x042D, 0x044D, "E-" ));
53     this.keys.add(new KeyboardKey( "CYRILLIC LETTER YU", 0x042E, 0x044E, "OU" ));
54     this.keys.add(new KeyboardKey( "CYRILLIC LETTER YA", 0x042F, 0x044F, "IA" ));
55
56     //this.keys.add(new KeyboardKey( "SPACE", 0x0020, " " ));
57
this.keys.add(new KeyboardKey( "COMBINING ACCUTE ACCENT", 0x0301, "'" ));
58
59   } // Constructor
60

61
62   public String JavaDoc getCharset() { return "iso-8859-1"; }
63
64 } // RussianMap
Popular Tags