org.microemu.device.impl
Class InputMethodImpl

java.lang.Object
  extended by org.microemu.device.InputMethod
      extended by org.microemu.device.impl.InputMethodImpl
All Implemented Interfaces:
java.lang.Runnable

public abstract class InputMethodImpl
extends org.microemu.device.InputMethod
implements java.lang.Runnable


Field Summary
protected  Button lastButton
           
protected  int lastButtonCharIndex
           
protected  boolean resetKey
           
 
Fields inherited from class org.microemu.device.InputMethod
INPUT_123, INPUT_ABC_LOWER, INPUT_ABC_UPPER, INPUT_NONE, inputMethodListener, maxSize
 
Constructor Summary
InputMethodImpl()
           
 
Method Summary
 void dispose()
           
protected  char[] filterConstraints(char[] chars)
           
protected  char[] filterInputMode(char[] chars)
           
protected  void insertText(java.lang.String str)
           
 void pointerDragged(int x, int y)
           
 void pointerPressed(int x, int y)
           
 void pointerReleased(int x, int y)
           
 void run()
           
 void setInputMethodListener(org.microemu.device.InputMethodListener l)
           
 
Methods inherited from class org.microemu.device.InputMethod
getGameAction, getInputMode, getKeyCode, getKeyName, removeInputMethodListener, setInputMode, setMaxSize, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resetKey

protected boolean resetKey

lastButton

protected Button lastButton

lastButtonCharIndex

protected int lastButtonCharIndex
Constructor Detail

InputMethodImpl

public InputMethodImpl()
Method Detail

dispose

public void dispose()
Specified by:
dispose in class org.microemu.device.InputMethod

run

public void run()
Specified by:
run in interface java.lang.Runnable

setInputMethodListener

public void setInputMethodListener(org.microemu.device.InputMethodListener l)
Overrides:
setInputMethodListener in class org.microemu.device.InputMethod

pointerPressed

public void pointerPressed(int x,
                           int y)

pointerReleased

public void pointerReleased(int x,
                            int y)

pointerDragged

public void pointerDragged(int x,
                           int y)

insertText

protected void insertText(java.lang.String str)

filterConstraints

protected char[] filterConstraints(char[] chars)

filterInputMode

protected char[] filterInputMode(char[] chars)


Copyright © 2001-2009 MicroEmulator Team. All Rights Reserved.