Packageqnx.ui.text
Classpublic class ReturnKeyType
InheritanceReturnKeyType Inheritance Object

The 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

KeyboardType


Public Constants
 ConstantDefined 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
Constant Detail
CONNECTConstant
public static const CONNECT:String = enter.connect

The Connect key.

DEFAULTConstant 
public static const DEFAULT:String = enter.default

The default key (Return).

DONEConstant 
public static const DONE:String = enter.done

The Done key.

GOConstant 
public static const GO:String = enter.go

The Go key.

JOINConstant 
public static const JOIN:String = enter.join

The Join key.

NEXTConstant 
public static const NEXT:String = enter.next

The Next key.

SEARCHConstant 
public static const SEARCH:String = enter.search

The Search key.

SENDConstant 
public static const SEND:String = enter.send

The Send key.

SUBMITConstant 
public static const SUBMIT:String = enter.submit

The Submit key.