org.zkoss.zul.Button.setVisible()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(116)

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

Button.setVisible介绍

暂无

代码示例

代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.problem

public void setHideButtons(boolean hideButtons) {
    this.hideButtons = hideButtons;
    btnAdd.setVisible(!hideButtons);
    btnEdit.setVisible(!hideButtons);
    btnDelete.setVisible(!hideButtons);
    btnPOV.setVisible(!hideButtons);
  }
}

代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.skintest

public void setHideButtons(boolean hideButtons) {
    this.hideButtons = hideButtons;
    btnAdd.setVisible(!hideButtons);
    btnEdit.setVisible(!hideButtons);
    btnDelete.setVisible(!hideButtons);
  }
}

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

@Override
public void onEvent(Event event) throws Exception {
  DrillDownDisplay ddd = new DrillDownDisplay(DrillDownDisplay.this, dataObject, title);
  ddd.setDebug(debug);
  ddd.owner = DrillDownDisplay.this;
  ddd.btnCloseAll.setVisible(true);
  ddd.show();
}

代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.vitals

@Override
public void doAfterCompose(Component comp) throws Exception {
  super.doAfterCompose(comp);
  // chart.getRenderer().setBaseItemLabelsVisible(true);
  //chart.setPeriod(Chart.MINUTE);
  //chart.setDateFormat("dd-MMM-yy");
  chart.getXAxis().gridLineWidth = 0;
  chart.getYAxis().gridLineWidth = 0;
  chart.options.exporting.buttons_printButton.onclick = "cwf.print(this.container);";
  setDateFormats(chart.options.plotOptions.tooltip.dateTimeLabelFormats);
  setDateFormats(chart.getXAxis().dateTimeLabelFormats);
  broker = VistAUtil.getBrokerSession();
  cboUnits.setSelectedIndex(0);
  datRange.setSelectedIndex(0);
  btnEnterVitals.setVisible(EntryController.isEnabled());
  selectData("", "RGCWVM GRID", "RGCWVM DETAIL", null);
}

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

filterManager = managedList.getFilterManager();
pnlManagedListFilters.setVisible(filterManager != null);
btnManagedListFilterNew.setVisible(filterManager != null && filterManager.hasCapability(FilterCapability.ADD));
btnManagedListFilterDelete.setVisible(filterManager != null
    && filterManager.hasCapability(FilterCapability.REMOVE));
btnManagedListFilterRename.setVisible(filterManager != null
    && filterManager.hasCapability(FilterCapability.RENAME));

代码示例来源:origin: org.carewebframework/org.carewebframework.rpms.ui.problem

private void updateControls() {
  boolean b = PatientContext.getActivePatient() == null || !bgoSecurity.verifyWriteAccess(true);
  btnAdd.setDisabled(b);
  btnEdit.setDisabled(b || lbProblems.getSelectedCount() == 0);
  btnDelete.setDisabled(btnEdit.isDisabled());
  mnuAdd.setDisabled(btnAdd.isDisabled());
  mnuEdit.setDisabled(btnEdit.isDisabled());
  mnuDelete.setDisabled(btnDelete.isDisabled());
  btnPOV.setDisabled(true); //oEncounter.Prepare(ofNotLocked Or ofValidateOnly)
  btnPOV.setVisible(allowAddPov);
  mnuPOV.setDisabled(btnPOV.isDisabled());
  mnuPOV.setVisible(btnPOV.isVisible());
  mnuSetFilter.setDisabled(cboFilter.getSelectedIndex() == -1);
}

相关文章