本文整理汇总了Java中ims.core.vo.lookups.AdviceLeaflets类的典型用法代码示例。如果您正苦于以下问题:Java AdviceLeaflets类的具体用法?Java AdviceLeaflets怎么用?Java AdviceLeaflets使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AdviceLeaflets类属于ims.core.vo.lookups包,在下文中一共展示了AdviceLeaflets类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: loadLookupsIntoGrid
import ims.core.vo.lookups.AdviceLeaflets; //导入依赖的package包/类
private void loadLookupsIntoGrid()
{
form.grdLeafletsGiven().setValue(null);
form.grdLeafletsGiven().getRows().clear();
// Leaflets Given...
GenForm.grdLeafletsGivenRow rowLeafletsGiven = null;
AdviceLeafletsCollection colLeafletsGiven = ims.core.vo.lookups.LookupHelper.getAdviceLeaflets(domain.getLookupService());
for (int i = 0; i < colLeafletsGiven.size(); i++)
{
AdviceLeaflets bAdviceLeaflets = colLeafletsGiven.get(i);
rowLeafletsGiven = form.grdLeafletsGiven().getRows().newRow();
rowLeafletsGiven.setValue(bAdviceLeaflets);
rowLeafletsGiven.setcolLeaflets(bAdviceLeaflets);
}
// Treatment Discussed....
form.grdTxDiscussed().setValue(null);
form.grdTxDiscussed().getRows().clear();
GenForm.grdTxDiscussedRow rowTxDiscussed = null;
ErectDysTreatmentsGivenCollection colErectDysTreatDiscussed = LookupHelper.getErectDysTreatmentsGiven(domain.getLookupService());
for (int i = 0; i < colErectDysTreatDiscussed.size(); i++)
{
ErectDysTreatmentsGiven bErectDysTreatDiscussed = colErectDysTreatDiscussed.get(i);
rowTxDiscussed = form.grdTxDiscussed().getRows().newRow();
rowTxDiscussed.setValue(bErectDysTreatDiscussed);
rowTxDiscussed.setcolTxDiscussed(bErectDysTreatDiscussed);
}
// Treatment History....
form.grdTreatment().setValue(null);
form.grdTreatment().getRows().clear();
GenForm.grdTreatmentRow rowTreatment = null;
ErectDysTreatmentsGivenCollection colDysTreatGiven = LookupHelper.getErectDysTreatmentsGiven(domain.getLookupService());
for (int i = 0; i < colDysTreatGiven.size(); i++)
{
ErectDysTreatmentsGiven bErectDysTreat = colDysTreatGiven.get(i);
rowTreatment = form.grdTreatment().getRows().newRow();
rowTreatment.setcolTreatment(bErectDysTreat);
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:40,代码来源:Logic.java
示例2: clearLeafletsGrid
import ims.core.vo.lookups.AdviceLeaflets; //导入依赖的package包/类
private void clearLeafletsGrid()
{
form.grdLeafletsGiven().setValue(null);
form.grdLeafletsGiven().getRows().clear();
// Leaflets Given...
GenForm.grdLeafletsGivenRow rowLeafletsGiven = null;
AdviceLeafletsCollection colLeafletsGiven = ims.core.vo.lookups.LookupHelper.getAdviceLeaflets(domain.getLookupService());
for (int i = 0; i < colLeafletsGiven.size(); i++)
{
AdviceLeaflets bAdviceLeaflets = colLeafletsGiven.get(i);
rowLeafletsGiven = form.grdLeafletsGiven().getRows().newRow();
rowLeafletsGiven.setValue(bAdviceLeaflets);
rowLeafletsGiven.setcolLeaflets(bAdviceLeaflets);
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:16,代码来源:Logic.java
注:本文中的ims.core.vo.lookups.AdviceLeaflets类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论