org.netbeans.microedition.svg.input
Class TextInputHandler
java.lang.Object
org.netbeans.microedition.svg.input.InputHandler
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextInputHandler
public TextInputHandler(javax.microedition.lcdui.Display display)
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)