本文整理了Java中org.fujion.component.Window.setCloseAction()
方法的一些代码示例,展示了Window.setCloseAction()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Window.setCloseAction()
方法的具体详情如下:
包路径:org.fujion.component.Window
类名称:Window
方法名:setCloseAction
[英]Sets the CloseAction to be taken when the window is closed.
[中]设置窗口关闭时要执行的关闭操作。
代码示例来源:origin: org.carewebframework/org.carewebframework.shell
@Override
public void afterInitialized(BaseComponent comp) {
window = (Window) comp;
window.setCloseAction(CloseAction.HIDE);
comp.setAttribute("controller", this);
bringToFront = comp.getPage().getAttribute(ATTR_BRING_TO_FRONT, true);
layoutChangedEvent = new LayoutChangedEvent(comp, null);
contextMenu.setListener(comp);
clipboard.addListener(comp);
comp.getPage().addEventListener("register unregister", layoutListener);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.help.core
root.setCloseAction(CloseAction.DESTROY);
page.setTitle("Help");
InvocationRequestQueue proxyQueue = InvocationRequestQueueRegistry.getInstance().get("help" + proxyId);
root.setCloseAction(CloseAction.HIDE);
内容来源于网络,如有侵权,请联系作者删除!