KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SnowMailClient > keyboard > PolishMap


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

24
25   public String JavaDoc getCharset() { return "iso-8859-2"; }
26
27 }
Popular Tags