org.netbeans.microedition.svg.input
Class TextInputHandler

java.lang.Object
  extended by org.netbeans.microedition.svg.input.InputHandler
      extended by org.netbeans.microedition.svg.input.TextInputHandler
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener
Direct Known Subclasses:
NumPadInputHandler

public class TextInputHandler
extends InputHandler
implements javax.microedition.lcdui.CommandListener


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.microedition.svg.input.InputHandler
InputHandler.CaretVisibilityListener
 
Field Summary
 
Fields inherited from class org.netbeans.microedition.svg.input.InputHandler
BACKSPACE, BUTTON_INPUT_HANDLER, caretListeners, DOWN, FIRE, LEFT, prevVisibility, RIGHT, UP
 
Constructor Summary
TextInputHandler(javax.microedition.lcdui.Display display)
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command cmd, javax.microedition.lcdui.Displayable disp)
           
protected  javax.microedition.lcdui.Display getDisplay()
           
 boolean handleKeyPress(SVGComponent comp, int keyCode)
           
 boolean handleKeyRelease(SVGComponent comp, int keyCode)
           
protected  void showTextBox(SVGComponent comp)
           
 
Methods inherited from class org.netbeans.microedition.svg.input.InputHandler
addVisibilityListener, fireCaretVisibilityChanged, removeVisibilityListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextInputHandler

public TextInputHandler(javax.microedition.lcdui.Display display)
Method Detail

handleKeyPress

public boolean handleKeyPress(SVGComponent comp,
                              int keyCode)
Specified by:
handleKeyPress in class InputHandler

handleKeyRelease

public boolean handleKeyRelease(SVGComponent comp,
                                int keyCode)
Specified by:
handleKeyRelease in class InputHandler

commandAction

public void commandAction(javax.microedition.lcdui.Command cmd,
                          javax.microedition.lcdui.Displayable disp)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

getDisplay

protected javax.microedition.lcdui.Display getDisplay()

showTextBox

protected void showTextBox(SVGComponent comp)