本文整理了Java中org.carewebframework.ui.zk.ZKUtil.disableChildren()
方法的一些代码示例,展示了ZKUtil.disableChildren()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKUtil.disableChildren()
方法的具体详情如下:
包路径:org.carewebframework.ui.zk.ZKUtil
类名称:ZKUtil
方法名:disableChildren
暂无
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.notification
/**
* Update controls to reflect the current selection state.
*
* @param processingUpdate If true, a processing status update has occurred.
*/
private void updateControls(boolean processingUpdate) {
btnAll.setDisabled(isProcessing || model.isEmpty());
btnDelete.setDisabled(isProcessing || !canDeleteSelected());
btnInfoAll.setDisabled(isProcessing || !hasInfoOnly());
btnSelected.setDisabled(isProcessing || model.getSelection().isEmpty());
btnForward.setDisabled(isProcessing || btnSelected.isDisabled());
radAll.setStyle(radAll.isChecked() ? BOLD : NO_BOLD);
radPatient.setStyle(radPatient.isChecked() ? BOLD : NO_BOLD);
if (processingUpdate) {
lstNotification.setDisabled(isProcessing);
ZKUtil.disableChildren(lstNotification, isProcessing);
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.skintest
/**
* Loads form data from the current problem.
*/
private void loadForm() {
if (test != null) {
setEventType(test.getEventType());
radRefusal.setDisabled(!radRefusal.isChecked());
radHistorical.setDisabled(!radHistorical.isChecked());
radCurrent.setDisabled(!radCurrent.isChecked());
datEvent.setValue(test.getDate());
ZKUtil.disableChildren(fraHistorical, true);
datEvent.setDisabled(true);
int reading = NumberUtils.toInt(test.getReading(), -1);
spnReading.setValue(reading < 0 ? null : reading);
} else {
onClick$btnSkinTest();
if (txtSkinTest.getValue().isEmpty()) {
close(true);
return;
}
setEventType(EventType.CURRENT);
Encounter visit = EncounterContext.getActiveEncounter();
Date date = visit == null ? null : visit.getPeriod().getStart();
datEvent.setValue(DateUtil.stripTime(date == null ? new Date() : date));
}
}
内容来源于网络,如有侵权,请联系作者删除!