blob: f02227e2687889080d6feb3f212b9a8d3523c3b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package NET.worlds.scape;
public class KeyCharEvent extends KeyEvent {
public KeyCharEvent(int time, WObject target, char key) {
super(time, null, target, key);
}
@Override
public boolean deliver(Object o) {
return o instanceof KeyCharHandler && ((KeyCharHandler)o).handle(this) ? true : super.deliver(o);
}
}
|