本文整理了Java中org.fujion.component.Window.popup()
方法的一些代码示例,展示了Window.popup()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Window.popup()
方法的具体详情如下:
包路径:org.fujion.component.Window
类名称:Window
方法名:popup
[英]Opens the window as a popup.
[中]将窗口作为弹出窗口打开。
代码示例来源:origin: org.fujion/fujion-core
/**
* Opens the window as a popup.
*/
public void popup() {
popup(null);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.ui.core
/**
* Displays the dialog.
*
* @param text The text or HTML content. HTML content is indicated by prefixing with the html
* tag.
* @param title Dialog title.
* @param allowPrint If true, a print button is provided.
* @param asModal If true, open as modal; otherwise, as popup.
* @param callback Callback when dialog is closed.
* @return The created dialog.
*/
public static Window show(String text, String title, boolean allowPrint, boolean asModal, IEventListener callback) {
Map<String, Object> args = new HashMap<>();
args.put("text", text);
args.put("title", title);
args.put("allowPrint", allowPrint);
Window dialog = PopupDialog.show(DialogConstants.RESOURCE_PREFIX + "reportDialog.fsp", args, true, true, false,
null);
if (asModal) {
dialog.modal(callback);
} else {
dialog.popup(callback);
}
return dialog;
}
代码示例来源:origin: org.carewebframework/org.carewebframework.shell
/**
* Display the Layout Manager dialog
*
* @param rootElement The root UI element.
*/
public static void execute(ElementBase rootElement) {
Window dlg = getInstance(true);
dlg.getAttribute("controller", LayoutDesigner.class).init(rootElement);
dlg.popup(null);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.plugin.chat
private void initSession() {
sessionService = SessionService.create(chatService.getSelf(), sessionId, getEventManager(), this);
sessionService.setActive(true);
window.popup(null);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.help.core
/**
* @see org.carewebframework.help.IHelpViewer#show()
*/
@Override
public void show() {
lblLoading.setVisible(false);
tvNavigator.setVisible(true);
if (mode == HelpViewerMode.EMBEDDED) {
root.setHeight(lastHeight + "px");
root.setWidth(lastWidth + "px");
root.setSize(Size.NORMAL);
root.popup(null);
} else {
ClientUtil.invoke("window.focus");
}
}
内容来源于网络,如有侵权,请联系作者删除!