本文整理了Java中org.carewebframework.ui.zk.ZKUtil.getEventOrigin()
方法的一些代码示例,展示了ZKUtil.getEventOrigin()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKUtil.getEventOrigin()
方法的具体详情如下:
包路径:org.carewebframework.ui.zk.ZKUtil
类名称:ZKUtil
方法名:getEventOrigin
暂无
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.vitals
public void onDateChange(Event event) {
event = ZKUtil.getEventOrigin(event);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.vitals
public void onDataChange(Event event) {
event = ZKUtil.getEventOrigin(event);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.skintest
public void onSort$lbTests(Event event) {
event = ZKUtil.getEventOrigin(event);
colSort = (Listheader) event.getTarget();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.problem
public void onSort$lbProblems(Event event) {
event = ZKUtil.getEventOrigin(event);
colSort = (Listheader) event.getTarget();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.documents
/**
* Double-clicking enters document view mode.
*
* @param event The onDoubleClick event.
*/
public void onDoubleClick$listBox(Event event) {
Component cmpt = ZKUtil.getEventOrigin(event).getTarget();
if (cmpt instanceof Listitem) {
Events.postEvent("onDeferredOpen", listBox, cmpt);
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.notification
/**
* Process a double-clicked notification.
*
* @param event The process item event.
*/
public void onProcessItem$lstNotification(Event event) {
event = ZKUtil.getEventOrigin(event);
Listitem item = (Listitem) event.getTarget();
Notification notification = (Notification) item.getValue();
processingController.process(Collections.singleton(notification));
}
代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.patientselection.v1
private AbstractPatientListFilter getFilter(Event event) {
return getFilter((Listbox) ZKUtil.getEventOrigin(event).getTarget());
}
代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.patientselection.v1
private PatientListItem getItem(Event event) {
return getItem((Listbox) ZKUtil.getEventOrigin(event).getTarget());
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.documents
/**
* Opening the display view after a double-click is deferred to avoid anomalies with selection
* of the associated list item.
*
* @param event The deferred open event.
*/
public void onDeferredOpen$listBox(Event event) {
Listitem item = (Listitem) ZKUtil.getEventOrigin(event).getData();
item.setSelected(true);
onSelect$listBox();
onClick$btnView();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.ui.infopanel
/**
* Handles onAlertAction event which an alert container sends after it has processed an action.
*
* @param event The onAlertAction event.
*/
public void onAlertAction$alertRoot(Event event) {
event = ZKUtil.getEventOrigin(event);
Action action = (Action) event.getData();
openAlertPanel(null);
if (action == Action.TOP) {
alertGrid.setActivePage(0);
alertGrid.invalidate();
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.documents
public void onViewOpen(Event event) {
boolean open = (Boolean) ZKUtil.getEventOrigin(event).getData();
displayController.setDocuments(!open ? null : listController.getSelectedDocuments());
documentList.setVisible(!open);
documentDisplay.setVisible(open);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.problem
public void onDeleteNote$lstNotes(Event event) {
event = ZKUtil.getEventOrigin(event);
Listitem item = ZKUtil.findAncestor(event.getTarget(), Listitem.class);
ProblemNote pn = (ProblemNote) item.getValue();
if (PromptDialog
.confirm("Are you sure that you wish to delete this note:\n" + pn.getNumber() + " - " + pn.getNarrative(),
"Delete Note?")) {
item.detach();
if (VistAUtil.validateIEN(pn)) {
changedNotes.add(pn);
} else {
changedNotes.remove(pn);
}
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.patientselection.v1
@Override
public void onEvent(Event event) throws Exception {
DropEvent dropEvent = (DropEvent) ZKUtil.getEventOrigin(event);
Listitem dragged = (Listitem) dropEvent.getDragged();
Listitem target = (Listitem) dropEvent.getTarget();
filterManager.moveFilter((AbstractPatientListFilter) dragged.getValue(), target.getIndex());
dragged.getListbox().insertBefore(dragged, target);
}
};
内容来源于网络,如有侵权,请联系作者删除!