本文整理了Java中org.zkoss.zul.Window.getAttribute()
方法的一些代码示例,展示了Window.getAttribute()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Window.getAttribute()
方法的具体详情如下:
包路径:org.zkoss.zul.Window
类名称:Window
方法名:getAttribute
暂无
代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.patientselection.v1
@Override
public Patient select() {
Events.sendEvent("onShow", dlg, null);
return (Patient) dlg.getAttribute(Constants.SELECTED_PATIENT_ATTRIB);
}
};
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.notification
/**
* Display the scheduled notification dialog modally.
*
* @param notification The scheduled notification to be modified. Specify null to create a new
* scheduled notification.
* @return The modified or new scheduled notification, or null if the dialog was cancelled.
*/
public static ScheduledNotification show(ScheduledNotification notification) {
Map<Object, Object> args = new HashMap<Object, Object>();
args.put("notification", notification);
Window dlg = PopupDialog.popup(DIALOG, args, true, false, true);
return (ScheduledNotification) dlg.getAttribute("notification");
}
代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.anticoag
public static AntiCoagRecord show(AntiCoagRecord record) {
Map<Object, Object> args = new HashMap<Object, Object>();
args.put("record", record);
return (AntiCoagRecord) PopupDialog.popup(DIALOG, args, false, false, true).getAttribute(ATTR_RESULT);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.notification
/**
* Display the dialog modally.
*
* @param recipients Recipient list to update.
* @param showComment If true, display the comment input element. If false, hide it.
* @return The value returned by the dialog or null if the dialog was cancelled.
*/
private static Object show(Collection<Recipient> recipients, boolean showComment) {
Map<Object, Object> args = new HashMap<Object, Object>();
args.put("recipients", recipients);
args.put("showComment", showComment);
return PopupDialog.popup(DIALOG, args, false, false, true).getAttribute("ok");
}
内容来源于网络,如有侵权,请联系作者删除!