gpt4 book ai didi

org.carewebframework.ui.zk.ZKUtil.disableChildren()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-15 21:24:40 27 4
gpt4 key购买 nike

本文整理了Java中org.carewebframework.ui.zk.ZKUtil.disableChildren()方法的一些代码示例,展示了ZKUtil.disableChildren()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKUtil.disableChildren()方法的具体详情如下:
包路径:org.carewebframework.ui.zk.ZKUtil
类名称:ZKUtil
方法名:disableChildren

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));
  }
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com