本文整理了Java中net.sf.taverna.t2.workbench.helper.Helper.showHelpWithinContainer()
方法的一些代码示例,展示了Helper.showHelpWithinContainer()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Helper.showHelpWithinContainer()
方法的具体详情如下:
包路径:net.sf.taverna.t2.workbench.helper.Helper
类名称:Helper
方法名:showHelpWithinContainer
[英]Show the help most associated with the specific component within the container.
[中]
代码示例来源:origin: net.sf.taverna.t2.workbench/helper
public void actionPerformed(ActionEvent arg0) {
Helper.showHelpWithinContainer(dialog, dialog);
}
}));
代码示例来源:origin: net.sf.taverna.t2.workbench/helper
public void actionPerformed(ActionEvent arg0) {
Helper.showHelpWithinContainer(dialog, dialog);
}
}));
代码示例来源:origin: net.sf.taverna.t2.workbench/helper
public void actionPerformed(ActionEvent arg0) {
Component component = (Component) rootpanecontainer;
Container container = (Container) rootpanecontainer;
logger.info("frame action F1 pressed with source "
+ arg0.getSource().getClass().getName());
Point mousePosition = MouseInfo.getPointerInfo().getLocation();
Point framePosition = component.getLocation();
Point relativePosition = (Point) mousePosition.clone();
relativePosition.translate(-framePosition.x, -framePosition.y);
Component c = container.findComponentAt(relativePosition);
if (c != null) {
logger.info("F1 pressed in a " + c.getClass().getName());
}
showHelpWithinContainer(rootpanecontainer, c);
}
代码示例来源:origin: net.sf.taverna.t2.ui-api/helper-api
public void actionPerformed(ActionEvent arg0) {
Component component = (Component) rootpanecontainer;
Container container = (Container) rootpanecontainer;
logger.info("frame action F1 pressed with source "
+ arg0.getSource().getClass().getName());
Point mousePosition = MouseInfo.getPointerInfo().getLocation();
Point framePosition = component.getLocation();
Point relativePosition = (Point) mousePosition.clone();
relativePosition.translate(-framePosition.x, -framePosition.y);
Component c = container.findComponentAt(relativePosition);
if (c != null) {
logger.info("F1 pressed in a " + c.getClass().getName());
}
showHelpWithinContainer(rootpanecontainer, c);
}
内容来源于网络,如有侵权,请联系作者删除!