本文整理了Java中ij.ImageJ.getKeyListeners()
方法的一些代码示例,展示了ImageJ.getKeyListeners()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ImageJ.getKeyListeners()
方法的具体详情如下:
包路径:ij.ImageJ
类名称:ImageJ
方法名:getKeyListeners
暂无
代码示例来源:origin: sc.fiji/fiji-compat
public static boolean removeRegisteredKeyListener() {
for (KeyListener listener : IJ.getInstance().getKeyListeners())
if (listener instanceof IJ_Alt_Key_Listener) {
IJ.getInstance().removeKeyListener(listener);
return true;
}
return false;
}
代码示例来源:origin: mpicbg/mpicbg_
/**
* Backup old event handlers for restore.
*/
final void backupGui()
{
canvasKeyListeners = canvas.getKeyListeners();
windowKeyListeners = window.getKeyListeners();
ijKeyListeners = IJ.getInstance().getKeyListeners();
canvasMouseListeners = canvas.getMouseListeners();
canvasMouseMotionListeners = canvas.getMouseMotionListeners();
windowMouseWheelListeners = window.getMouseWheelListeners();
scrollBarAdjustmentListeners = scrollBar.getAdjustmentListeners();
clearGui();
}
代码示例来源:origin: axtimwalde/mpicbg
/**
* Backup old event handlers for restore.
*/
final void backupGui()
{
canvasKeyListeners = canvas.getKeyListeners();
windowKeyListeners = window.getKeyListeners();
ijKeyListeners = IJ.getInstance().getKeyListeners();
canvasMouseListeners = canvas.getMouseListeners();
canvasMouseMotionListeners = canvas.getMouseMotionListeners();
windowMouseWheelListeners = window.getMouseWheelListeners();
scrollBarAdjustmentListeners = scrollBar.getAdjustmentListeners();
clearGui();
}
内容来源于网络,如有侵权,请联系作者删除!