mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-23 21:49:49 +00:00
port to forestry 4.2
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user