gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-15 22:08:40 31 4
gpt4 key购买 nike

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

ZKUtil.detachChildren介绍

暂无

代码示例

代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.patientselection.v1

private void setActivePatient(Patient patient) {
  // Build the demographic display here
  activePatient = patient;
  root.setAttribute(Constants.SELECTED_PATIENT_ATTRIB, activePatient);
  ZKUtil.detachChildren(pnlDemoRoot);
  
  if (patient != null && patientDetailRenderer != null) {
    patientDetailRenderer.render(pnlDemoRoot, patient, this);
  }
  
  btnDemoDetail.setDisabled(activePatient == null);
  updateControls();
}

代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.reporting

/**
 * Re-renders a previously rendered list item.
 * 
 * @param item List item to re-render.
 */
protected void rerender(Listitem item) {
  try {
    ZKUtil.detachChildren(item);
    listBox.getItemRenderer().render(item, item.getValue(), item.getIndex());
  } catch (Exception e) {
    throw MiscUtil.toUnchecked(e);
  }
}

代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.reporting

/**
 * Re-renders a previously rendered row.
 * 
 * @param row Row to re-render.
 */
protected void rerender(Row row) {
  try {
    ZKUtil.detachChildren(row);
    grid.getRowRenderer().render(row, row.getValue(), row.getIndex());
  } catch (Exception e) {
    throw MiscUtil.toUnchecked(e);
  }
}

代码示例来源:origin: org.hspconsortium.carewebframework/cwf-ui-patientheader

private void setPatient(Patient patient) {
  this.patient = patient;
  hideLabels();
  needsDetail = true;
  ZKUtil.detachChildren(pnlDetail);
  
  if (log.isDebugEnabled()) {
    log.debug("patient: " + patient);
  }
  
  if (patient == null) {
    lblName.setValue(noSelection);
    lblName.setSclass("z-bandbox-disabled");
    btnDetail.setDisabled(true);
    return;
  }
  
  btnDetail.setDisabled(false);
  patientName = FhirUtil.formatName(patient.getName());
  String mrn = FhirUtil.getMRNString(patient);
  lblName.setValue(patientName + (mrn.isEmpty() ? "" : "  (" + mrn + ")"));
  lblName.setSclass(null);
  setLabel(lblDOB, formatDateAndAge(patient.getBirthDate()), lblDOBLabel);
  setLabel(lblDOD, formatDOD(patient.getDeceased()), lblDODLabel);
  setLabel(lblGender, patient.hasGender() ? patient.getGender().getDisplay() : null, null);
  Clients.resize(root);
}

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