qnx.fuse.ui.text.ReturnKeyType

ReturnKeyType

Constants | Examples


Packageqnx.fuse.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.

If the text of the return key doesn't fit in the button, an icon is shown.



Class information:
BlackBerry 10 Version:   10.0.0

View the examples

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

CONNECT


public static const CONNECT:String = enter.connect

The Connect key.

DEFAULT


public static const DEFAULT:String = enter.default

The default key (Return).

DONE


public static const DONE:String = enter.done

The Done key.

GO


public static const GO:String = enter.go

The Go key.

JOIN


public static const JOIN:String = enter.join

The Join key.

NEXT


public static const NEXT:String = enter.next

The Next key.

SEARCH


public static const SEARCH:String = enter.search

The Search key.

SEND


public static const SEND:String = enter.send

The Send key.

SUBMIT


public static const SUBMIT:String = enter.submit

The Submit key.

Examples

The following listing creates a keyboard with a GO return key:
var firstInput:TextInput = new TextInput();
firstInput.returnKeyLabel = ReturnKeyType.GO;
firstInput.width = 200;
addChild(firstInput);
     




comments powered by Disqus