port to forestry 4.2

This commit is contained in:
marcin212 committed 2016-10-20 02:56:31 +02:00
1 parent dbc5c1a564
commit f969f63b66
3697 files changed
+78372

No files matched your search

@@ -0,0 +1,55 @@
//
// Decompiled by Procyon v0.5.30
//
package binnie.craftgui.events;
import binnie.craftgui.core.IWidget;
public abstract class EventKey extends Event
{
char character;
int key;
public EventKey(final IWidget origin, final char character, final int key) {
super(origin);
this.character = character;
this.key = key;
}
public char getCharacter() {
return this.character;
}
public int getKey() {
return this.key;
}
public static class Down extends EventKey
{
public Down(final IWidget origin, final char character, final int key) {
super(origin, character, key);
}
public abstract static class Handler extends EventHandler<Down>
{
public Handler() {
super(Down.class);
}
}
}
public static class Up extends EventKey
{
public Up(final IWidget origin, final char character, final int key) {
super(origin, character, key);
}
public abstract static class Handler extends EventHandler<Up>
{
public Handler() {
super(Up.class);
}
}
}
}