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

x33g5p2x  于2022-02-05 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(85)

本文整理了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();
  }
}

相关文章