KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SnowMailClient > keyboard > HiraganaMap


1 package SnowMailClient.keyboard;
2
3 public final class HiraganaMap extends KeyboardMap
4 {
5
6   public HiraganaMap()
7   {
8      super("Hiragana keys", 5);
9
10      this.keys.add(new KeyboardKey("Polish A", 0x0104, 0x0105, "a,"));
11      this.keys.add(new KeyboardKey("Polish C", 0x0106, 0x0107, "c'"));
12      this.keys.add(new KeyboardKey("Polish E", 0x0118, 0x0119, "e,"));
13      this.keys.add(new KeyboardKey("Polish L", 0x0141, 0x0142, "l-"));
14      this.keys.add(new KeyboardKey("Polish N", 0x0143, 0x0144, "n'"));
15      this.keys.add(new KeyboardKey("Polish O", 0x00D3, 0x00F3, "o'"));
16      this.keys.add(new KeyboardKey("Polish S", 0x015A, 0x015B, "s'"));
17      this.keys.add(new KeyboardKey("Polish Z", 0x0179, 0x017A, "z'"));
18   } // Constructor
19

20
21   public String JavaDoc getCharset() { return "utf-8"; }
22
23 }
24
Popular Tags