gpt4 book ai didi

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

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

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

ZKUtil.getResourcePath介绍

暂无

代码示例

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

/**
 * Create the controller.
 *
 * @param service The is the data query service.
 * @param labelPrefix Prefix used to resolve label id's with placeholders.
 * @param propertyPrefix Prefix for property names.
 * @param printStyleSheet Optional style sheet to apply when printing.
 * @param patientAware If true, uses patient context.
 * @param autowireColumns If true, columns are auto-wired with sort comparators.
 * @param grouper The grouper implementation, or null if the data is not grouped.
 */
@SuppressWarnings("unchecked")
public AbstractMeshController(IQueryService<T> service, String labelPrefix, String propertyPrefix,
  String printStyleSheet, boolean patientAware, boolean autowireColumns, IGrouper<M, ?> grouper) {
  super(service, patientAware, labelPrefix);
  this.propertyPrefix = propertyPrefix;
  this.autowireColumns = autowireColumns;
  
  if (printStyleSheet != null && !printStyleSheet.startsWith("~./")) {
    printStyleSheet = ZKUtil.getResourcePath(getClass()) + printStyleSheet;
  }
  
  this.printStyleSheet = printStyleSheet;
  this.grouper = grouper;
  this.listModel = new HybridModel<M, Object>((IGrouper<M, Object>) grouper);
}

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

@Override
protected void init() {
  setup("Anticoagulation Data", "", "BGOVCOAG GET", null, 1, "Indicated", "Visit Date", "INR Goal", "Min", "Max",
    "Duration", "Start Date", "End Date", "Entered Date", "Category", "Comment");
  toolbar.setVisible(true);
  setIcon(ZKUtil.getResourcePath(MainController.class) + "main-icon.png");
  super.init();
}

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

public void onTest() throws Exception {
    PopupDialog popup = new PopupDialog(null, "Test Popup");
    setSizable(false);
    ZKUtil.loadZulPage(ZKUtil.getResourcePath(PopupTest.class) + "testPopup2.zul", popup);
    popup.addForward("onTest", this, null);
    popup.show();
  }
}

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