本文整理了Java中ij.gui.Toolbar.addMouseListener()
方法的一些代码示例,展示了Toolbar.addMouseListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Toolbar.addMouseListener()
方法的具体详情如下:
包路径:ij.gui.Toolbar
类名称:Toolbar
方法名:addMouseListener
暂无
代码示例来源:origin: sc.fiji/fiji-lib
protected void registerTool() {
int[] ids = WindowManager.getIDList();
if (ids != null)
for (int id : ids)
registerTool(WindowManager.getImage(id));
if (toolbarMouseListener != null)
toolbar.addMouseListener(toolbarMouseListener);
ImagePlus.addImageListener(this);
IJ.getInstance().addWindowFocusListener(this);
}
代码示例来源:origin: net.imagej/ij
public Toolbar() {
init();
down = new boolean[MAX_TOOLS];
resetButtons();
down[0] = true;
setForeground(Color.black);
setBackground(ImageJ.backgroundColor);
addMouseListener(this);
addMouseMotionListener(this);
instance = this;
names[getNumTools()-1] = "\"More Tools\" menu (switch toolsets or add tools)";
icons[getNumTools()-1] = "C900T1e15>T7e15>"; // ">>"
addPopupMenus();
}
代码示例来源:origin: imagej/ImageJA
public Toolbar() {
init();
down = new boolean[MAX_TOOLS];
resetButtons();
down[0] = true;
setForeground(Color.black);
setBackground(ImageJ.backgroundColor);
addMouseListener(this);
addMouseMotionListener(this);
instance = this;
names[getNumTools()-1] = "\"More Tools\" menu (switch toolsets or add tools)";
icons[getNumTools()-1] = "C900T1e15>T7e15>"; // ">>"
addPopupMenus();
}
代码示例来源:origin: sc.fiji/TrakEM2_
private ControlWindow() {
if (null != ij.gui.Toolbar.getInstance()) {
ij.gui.Toolbar.getInstance().addMouseListener(tool_listener);
}
Utils.setup(this);
Loader.setupPreloader(this);
if (IJ.isWindows() && isGUIEnabled()) StdOutWindow.start();
Display3D.init();
setLookAndFeel();
this.command_listener = new ImageJCommandListener();
this.red_phone.start();
}
内容来源于网络,如有侵权,请联系作者删除!