| Package | qnx.ui.text |
| Class | public class ReturnKeyType |
| Inheritance | ReturnKeyType Object |
ReturnKeyType class contains constants that
define the Enter key that will appear on the keyboard
when the user clicks in a TextInput component.
The following listing creates a URL-specific keyboard with a Join
key.
firstInput = new TextInput;
firstInput.keyboardType = KeyboardType.URL;
firstInput.returnKeyType = ReturnKeyType.JOIN;
firstInput.width = 200;
The listing above creates the following keyboard:
See also
| Constant | Defined By | ||
|---|---|---|---|
| CONNECT : String = enter.connect [static]
The Connect key. | ReturnKeyType | ||
| DEFAULT : String = enter.default [static]
The default key (Return). | ReturnKeyType | ||
| DONE : String = enter.done [static]
The Done key. | ReturnKeyType | ||
| GO : String = enter.go [static]
The Go key. | ReturnKeyType | ||
| JOIN : String = enter.join [static]
The Join key. | ReturnKeyType | ||
| NEXT : String = enter.next [static]
The Next key. | ReturnKeyType | ||
| SEARCH : String = enter.search [static]
The Search key. | ReturnKeyType | ||
| SEND : String = enter.send [static]
The Send key. | ReturnKeyType | ||
| SUBMIT : String = enter.submit [static]
The Submit key. | ReturnKeyType | ||
| CONNECT | Constant |
public static const CONNECT:String = enter.connectThe Connect key.
| DEFAULT | Constant |
public static const DEFAULT:String = enter.defaultThe default key (Return).
| DONE | Constant |
public static const DONE:String = enter.doneThe Done key.
| GO | Constant |
public static const GO:String = enter.goThe Go key.
| JOIN | Constant |
public static const JOIN:String = enter.joinThe Join key.
| NEXT | Constant |
public static const NEXT:String = enter.nextThe Next key.
| SEARCH | Constant |
public static const SEARCH:String = enter.searchThe Search key.
| SEND | Constant |
public static const SEND:String = enter.sendThe Send key.
| SUBMIT | Constant |
public static const SUBMIT:String = enter.submitThe Submit key.