src/macosx/native/sun/awt/CMenuItem.m

Print this page




 279         // or the two '.' keys...
 280         case java_awt_event_KeyEvent_VK_DECIMAL         :
 281         case java_awt_event_KeyEvent_VK_PERIOD          : macKey = '.'; break;
 282 
 283         // or the two '/' keys.
 284         case java_awt_event_KeyEvent_VK_DIVIDE          :
 285         case java_awt_event_KeyEvent_VK_SLASH           : macKey = '/'; break;
 286 
 287         case java_awt_event_KeyEvent_VK_SEMICOLON       : macKey = ';'; break;
 288         case java_awt_event_KeyEvent_VK_EQUALS          : macKey = '='; break;
 289 
 290         case java_awt_event_KeyEvent_VK_OPEN_BRACKET    : macKey = '['; break;
 291         case java_awt_event_KeyEvent_VK_BACK_SLASH      : macKey = '\\'; break;
 292         case java_awt_event_KeyEvent_VK_CLOSE_BRACKET   : macKey = ']'; break;
 293 
 294         case java_awt_event_KeyEvent_VK_MULTIPLY        : macKey = '*'; break;
 295         case java_awt_event_KeyEvent_VK_ADD             : macKey = '+'; break;
 296 
 297         case java_awt_event_KeyEvent_VK_HELP            : macKey = NSHelpFunctionKey; break;
 298         case java_awt_event_KeyEvent_VK_TAB             : macKey = NSTabCharacter; break;
 299         case java_awt_event_KeyEvent_VK_ENTER           : macKey = NSCarriageReturnCharacter; break;
 300         case java_awt_event_KeyEvent_VK_BACK_SPACE      : macKey = NSBackspaceCharacter; break;
 301         case java_awt_event_KeyEvent_VK_DELETE          : macKey = NSDeleteCharacter; break;
 302         case java_awt_event_KeyEvent_VK_CLEAR           : macKey = NSClearDisplayFunctionKey; break;
 303         case java_awt_event_KeyEvent_VK_AMPERSAND       : macKey = '&'; break;
 304         case java_awt_event_KeyEvent_VK_ASTERISK        : macKey = '*'; break;
 305         case java_awt_event_KeyEvent_VK_QUOTEDBL        : macKey = '\"'; break;
 306         case java_awt_event_KeyEvent_VK_LESS            : macKey = '<'; break;
 307         case java_awt_event_KeyEvent_VK_GREATER         : macKey = '>'; break;
 308         case java_awt_event_KeyEvent_VK_BRACELEFT       : macKey = '{'; break;
 309         case java_awt_event_KeyEvent_VK_BRACERIGHT      : macKey = '}'; break;
 310         case java_awt_event_KeyEvent_VK_AT              : macKey = '@'; break;
 311         case java_awt_event_KeyEvent_VK_COLON           : macKey = ':'; break;
 312         case java_awt_event_KeyEvent_VK_CIRCUMFLEX      : macKey = '^'; break;
 313         case java_awt_event_KeyEvent_VK_DOLLAR          : macKey = '$'; break;
 314         case java_awt_event_KeyEvent_VK_EXCLAMATION_MARK : macKey = '!'; break;
 315         case java_awt_event_KeyEvent_VK_LEFT_PARENTHESIS : macKey = '('; break;
 316         case java_awt_event_KeyEvent_VK_NUMBER_SIGN     : macKey = '#'; break;
 317         case java_awt_event_KeyEvent_VK_PLUS            : macKey = '+'; break;
 318         case java_awt_event_KeyEvent_VK_RIGHT_PARENTHESIS: macKey = ')'; break;
 319         case java_awt_event_KeyEvent_VK_UNDERSCORE      : macKey = '_'; break;




 279         // or the two '.' keys...
 280         case java_awt_event_KeyEvent_VK_DECIMAL         :
 281         case java_awt_event_KeyEvent_VK_PERIOD          : macKey = '.'; break;
 282 
 283         // or the two '/' keys.
 284         case java_awt_event_KeyEvent_VK_DIVIDE          :
 285         case java_awt_event_KeyEvent_VK_SLASH           : macKey = '/'; break;
 286 
 287         case java_awt_event_KeyEvent_VK_SEMICOLON       : macKey = ';'; break;
 288         case java_awt_event_KeyEvent_VK_EQUALS          : macKey = '='; break;
 289 
 290         case java_awt_event_KeyEvent_VK_OPEN_BRACKET    : macKey = '['; break;
 291         case java_awt_event_KeyEvent_VK_BACK_SLASH      : macKey = '\\'; break;
 292         case java_awt_event_KeyEvent_VK_CLOSE_BRACKET   : macKey = ']'; break;
 293 
 294         case java_awt_event_KeyEvent_VK_MULTIPLY        : macKey = '*'; break;
 295         case java_awt_event_KeyEvent_VK_ADD             : macKey = '+'; break;
 296 
 297         case java_awt_event_KeyEvent_VK_HELP            : macKey = NSHelpFunctionKey; break;
 298         case java_awt_event_KeyEvent_VK_TAB             : macKey = NSTabCharacter; break;
 299         case java_awt_event_KeyEvent_VK_ENTER           : macKey = NSNewlineCharacter; break;
 300         case java_awt_event_KeyEvent_VK_BACK_SPACE      : macKey = NSBackspaceCharacter; break;
 301         case java_awt_event_KeyEvent_VK_DELETE          : macKey = NSDeleteCharacter; break;
 302         case java_awt_event_KeyEvent_VK_CLEAR           : macKey = NSClearDisplayFunctionKey; break;
 303         case java_awt_event_KeyEvent_VK_AMPERSAND       : macKey = '&'; break;
 304         case java_awt_event_KeyEvent_VK_ASTERISK        : macKey = '*'; break;
 305         case java_awt_event_KeyEvent_VK_QUOTEDBL        : macKey = '\"'; break;
 306         case java_awt_event_KeyEvent_VK_LESS            : macKey = '<'; break;
 307         case java_awt_event_KeyEvent_VK_GREATER         : macKey = '>'; break;
 308         case java_awt_event_KeyEvent_VK_BRACELEFT       : macKey = '{'; break;
 309         case java_awt_event_KeyEvent_VK_BRACERIGHT      : macKey = '}'; break;
 310         case java_awt_event_KeyEvent_VK_AT              : macKey = '@'; break;
 311         case java_awt_event_KeyEvent_VK_COLON           : macKey = ':'; break;
 312         case java_awt_event_KeyEvent_VK_CIRCUMFLEX      : macKey = '^'; break;
 313         case java_awt_event_KeyEvent_VK_DOLLAR          : macKey = '$'; break;
 314         case java_awt_event_KeyEvent_VK_EXCLAMATION_MARK : macKey = '!'; break;
 315         case java_awt_event_KeyEvent_VK_LEFT_PARENTHESIS : macKey = '('; break;
 316         case java_awt_event_KeyEvent_VK_NUMBER_SIGN     : macKey = '#'; break;
 317         case java_awt_event_KeyEvent_VK_PLUS            : macKey = '+'; break;
 318         case java_awt_event_KeyEvent_VK_RIGHT_PARENTHESIS: macKey = ')'; break;
 319         case java_awt_event_KeyEvent_VK_UNDERSCORE      : macKey = '_'; break;