本文整理了Java中org.eclipse.swt.events.KeyListener.keyPressed()
方法的一些代码示例,展示了KeyListener.keyPressed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。KeyListener.keyPressed()
方法的具体详情如下:
包路径:org.eclipse.swt.events.KeyListener
类名称:KeyListener
方法名:keyPressed
[英]Sent when a key is pressed on the system keyboard.
[中]按下系统键盘上的键时发送。
代码示例来源:origin: org.eclipse.mylyn.commons/workbench
@Override
public void keyPressed(KeyEvent e) {
if (e.doit) {
oldKeyListener.keyPressed(e);
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
iter.next().keyPressed(keyEvent);
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
keyListener.keyPressed(keyEvent);
代码示例来源:origin: BiglySoftware/BiglyBT
l.keyPressed(event);
if (!event.doit) {
lCancelSelectionTriggeredOn = SystemTime.getCurrentTime();
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.rwt
((KeyListener) eventListener).keyPressed(event);
e.doit = event.doit;
break;
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
((KeyListener) eventListener).keyPressed(event);
e.doit = event.doit;
break;
代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64
((KeyListener) eventListener).keyPressed(event);
e.doit = event.doit;
break;
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86
((KeyListener) eventListener).keyPressed(event);
e.doit = event.doit;
break;
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
((KeyListener) eventListener).keyPressed(event);
e.doit = event.doit;
break;
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
((KeyListener) eventListener).keyPressed(event);
e.doit = event.doit;
break;
内容来源于网络,如有侵权,请联系作者删除!