本文整理了Java中org.carewebframework.ui.zk.ZKUtil.wireController()
方法的一些代码示例,展示了ZKUtil.wireController()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKUtil.wireController()
方法的具体详情如下:
包路径:org.carewebframework.ui.zk.ZKUtil
类名称:ZKUtil
方法名:wireController
暂无
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.context.encounter
/**
* Wire variables and events.
*
* @throws Exception Unspecified exception.
*/
public void onCreate() throws Exception {
log.trace("onCreate");
ZKUtil.wireController(this, this);
init();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.esig
private void init(List<ESigItem> items) {
ZKUtil.wireController(this, this);
this.items = items;
for (ESigItem item : items) {
addItem(item);
}
updateControls();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.context.encounter
public void onCreate() {
ZKUtil.wireController(this, this);
lstAllProviders.setItemRenderer(providerRenderer);
lstAllProviders.setModel(modelProviders);
lstEncounterProviders.setItemRenderer(providerRenderer);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.reporting
/**
* Create the dialog.
*
* @param parent The parent component.
* @param dataObject The data object.
* @param title The dialog title.
*/
public DrillDownDisplay(Component parent, Object dataObject, String title) {
super(parent, title);
setDataObject(dataObject);
setWidth("600px");
try {
Executions.createComponents(ZKUtil.loadCachedPageDefinition(Constants.RESOURCE_PREFIX + "drillDownDisplay.zul"),
this, null);
ZKUtil.wireController(this);
adjustGrid();
} catch (Exception e) {
log.error("Error creating drilldown display dialog.", e);
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.ui
@Test
public void wireArgumentMapTest() {
Map<Object, Object> map = new HashMap<Object, Object>();
map.put("test1Variable", 123);
map.put("test2Variable", "testing");
ArgumentMapTest controller = new ArgumentMapTest() {
public int test1Variable;
public String test2;
@Override
public void setTest2Variable(String value) {
test2 = value;
}
@Override
public void doAssertions() {
assertEquals(123, test1Variable);
assertEquals("testing", test2);
}
};
ZKUtil.wireController(map, controller);
controller.doAssertions();
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.esig
/**
* Initialize the dialog, adding the signature items to the list.
*
* @param esigService The electronic signature service.
* @param items List of items to add.
*/
private void init(IESigService esigService, Iterable<ESigItem> items) {
this.esigService = esigService;
ZKUtil.wireController(this, this);
for (ESigItem item : items) {
addItem(item);
}
updateControls();
if (grid.getRowCount() > 20) {
grid.setHeight("600px");
}
FrameworkUtil.getAppFramework().registerObject(this);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.encounter
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
ZKUtil.wireController(ZKUtil.loadZulPage(PARTICIPANT_SELECTOR, comp), this);
broker = VistAUtil.getBrokerSession();
lstAllParticipants.setItemRenderer(new ParticipantRenderer());
lstAllParticipants.setModel(allParticipantsModel);
lstEncounterParticipants.setItemRenderer(encounterParticipantRenderer);
lstEncounterParticipants.setModel(encounterParticipantsModel);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.context.encounter
log.trace("onCreate");
FrameworkUtil.getAppFramework().registerObject(this);
ZKUtil.wireController(this, this);
lstInpatient.setItemRenderer(encounterRenderer);
lstOutpatient.setItemRenderer(encounterRenderer);
内容来源于网络,如有侵权,请联系作者删除!