Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 13
Registered: ‎09-15-2009
My Device: Not Specified

Exactly what do enter, escape, hide, close do?

I'm sure this exists somewhere, but having trouble locating it. I want to be sure that I understand exactly what is the default behavior of the enter and escape keys and the close and hide menu items, as implemented by Screen and included subclasses. So I'm looking for where the functionality comes from and what it does when triggered.

 

Is there a document for this already? Or could someone fill in the blanks?

 

 

  • escape key - dispatched from Screen.keyCharUnhandled calls onClose on the screen.
  • enter key - dispatched from MainScreen.keyCharUnhandled and calls ??
  • close menu item - added to the menu by MainScreen.makeMenu and calls onClose on the screen
  • hide menu item - added by MainScreen.makeMenu and calls ??
 
 
Thanks