本文整理了Java中ij.ImageJ.setCursor()
方法的一些代码示例,展示了ImageJ.setCursor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ImageJ.setCursor()
方法的具体详情如下:
包路径:ij.ImageJ
类名称:ImageJ
方法名:setCursor
暂无
代码示例来源:origin: sc.fiji/fiji-lib
public void resetActions() {
if (actions == null)
return;
Hashtable table = Menus.getCommands();
for (Object key : table.keySet()) {
if (!table.get(key).equals(getAction(key)))
continue;
table.put(key, actions.get(key));
}
actions = null;
ij.setCursor(cursor);
ij.removeKeyListener(this);
for (Component component : ij.getComponents())
component.removeKeyListener(this);
ij.removeWindowFocusListener(this);
}
代码示例来源:origin: sc.fiji/TrakEM2_
Utils.invokeLater(new Runnable() { public void run() {
if (null != IJ.getInstance()) IJ.getInstance().setCursor(c);
ini.trakem2.display.Display.setCursorToAll(c);
if (null != frame && frame.isVisible()) frame.setCursor(c); // the ControlWindow frame
}});
}
代码示例来源:origin: sc.fiji/fiji-lib
diversionCursor = toolkit.createCustomCursor(diversion, hotSpot, "cursor-" + getTitle().replace(' ', '-'));
ij.setCursor(diversionCursor);
代码示例来源:origin: net.imagej/ij
setCursor(Cursor.getDefaultCursor()); // work-around for JDK 1.1.8 bug
if (mode!=NO_SHOW) {
if (IJ.isWindows()) try {setIcon();} catch(Exception e) {}
代码示例来源:origin: imagej/ImageJA
setCursor(Cursor.getDefaultCursor()); // work-around for JDK 1.1.8 bug
if (mode!=NO_SHOW) {
if (IJ.isWindows()) try {setIcon();} catch(Exception e) {}
内容来源于网络,如有侵权,请联系作者删除!