Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.device.applet
Class AppletInputMethod  view AppletInputMethod download AppletInputMethod.java

java.lang.Object
  extended bycom.barteo.emulator.device.InputMethod
      extended bycom.barteo.emulator.device.applet.AppletInputMethod
All Implemented Interfaces:
java.lang.Runnable

public class AppletInputMethod
extends com.barteo.emulator.device.InputMethod
implements java.lang.Runnable


Field Summary
private  boolean cancel
           
private  AppletButton lastButton
           
private  int lastButtonCharIndex
           
private  boolean resetKey
           
private  java.lang.Thread t
           
 
Fields inherited from class com.barteo.emulator.device.InputMethod
caret, constraints, INPUT_123, INPUT_ABC_LOWER, INPUT_ABC_UPPER, INPUT_NONE, inputMethodListener, maxSize, text
 
Constructor Summary
AppletInputMethod()
           
 
Method Summary
private  boolean commonKeyPressed(int keyCode)
           
(package private)  void dispose()
           
private  char[] filterConstraints(char[] chars)
           
private  char[] filterInputMode(char[] chars)
           
 void keyboardKeyPressed(java.awt.event.KeyEvent ev)
           
 void keyboardKeyReleased(java.awt.event.KeyEvent ev)
           
 void keyPressed(int keyCode)
           
 void keyReleased(int keyCode)
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class com.barteo.emulator.device.InputMethod
getInputMode, removeInputMethodListener, setConstraints, setInputMethodListener, setInputMode, setMaxSize, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastButtonCharIndex

private int lastButtonCharIndex

lastButton

private AppletButton lastButton

resetKey

private boolean resetKey

t

private java.lang.Thread t

cancel

private boolean cancel
Constructor Detail

AppletInputMethod

public AppletInputMethod()
Method Detail

dispose

void dispose()

commonKeyPressed

private boolean commonKeyPressed(int keyCode)

keyboardKeyPressed

public void keyboardKeyPressed(java.awt.event.KeyEvent ev)

keyPressed

public void keyPressed(int keyCode)

keyboardKeyReleased

public void keyboardKeyReleased(java.awt.event.KeyEvent ev)

keyReleased

public void keyReleased(int keyCode)

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable

filterConstraints

private char[] filterConstraints(char[] chars)

filterInputMode

private char[] filterInputMode(char[] chars)