org.microemu.device.swt
Class SwtInputMethod
java.lang.Object
org.microemu.device.InputMethod
org.microemu.device.impl.InputMethodImpl
org.microemu.device.swt.SwtInputMethod
- All Implemented Interfaces:
- java.lang.Runnable
public class SwtInputMethod
- extends org.microemu.device.impl.InputMethodImpl
| Fields inherited from class org.microemu.device.impl.InputMethodImpl |
lastButton, lastButtonCharIndex, resetKey |
| Fields inherited from class org.microemu.device.InputMethod |
INPUT_123, INPUT_ABC_LOWER, INPUT_ABC_UPPER, INPUT_NONE, inputMethodListener, maxSize |
| Methods inherited from class org.microemu.device.impl.InputMethodImpl |
dispose, filterConstraints, filterInputMode, insertText, pointerDragged, pointerPressed, pointerReleased, run, setInputMethodListener |
| Methods inherited from class org.microemu.device.InputMethod |
getInputMode, removeInputMethodListener, setInputMode, setMaxSize, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwtInputMethod
public SwtInputMethod()
getGameAction
public int getGameAction(int keyCode)
- Specified by:
getGameAction in class org.microemu.device.InputMethod
getKeyCode
public int getKeyCode(int gameAction)
- Specified by:
getKeyCode in class org.microemu.device.InputMethod
getKeyName
public java.lang.String getKeyName(int keyCode)
throws java.lang.IllegalArgumentException
- Specified by:
getKeyName in class org.microemu.device.InputMethod
- Throws:
java.lang.IllegalArgumentException
keyPressed
public void keyPressed(org.eclipse.swt.events.KeyEvent ev)
keyReleased
public void keyReleased(org.eclipse.swt.events.KeyEvent ev)
mousePressed
public void mousePressed(org.eclipse.swt.events.KeyEvent ev)
mouseReleased
public void mouseReleased(int keyCode)
getButton
public SwtButton getButton(org.eclipse.swt.events.KeyEvent ev)
Copyright © 2001-2007 MicroEmulator Team. All Rights Reserved.