本文整理汇总了Java中ims.therapies.vo.TiltExerciseVoCollection类的典型用法代码示例。如果您正苦于以下问题:Java TiltExerciseVoCollection类的具体用法?Java TiltExerciseVoCollection怎么用?Java TiltExerciseVoCollection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TiltExerciseVoCollection类属于ims.therapies.vo包,在下文中一共展示了TiltExerciseVoCollection类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: populateChildCollectionFromGrid
import ims.therapies.vo.TiltExerciseVoCollection; //导入依赖的package包/类
private void populateChildCollectionFromGrid(StandingSessionVo voStandingSession)
{
if (form.grdSummary().getValue() == null) return;
if (voStandingSession.getFrameExercise() == null)
voStandingSession.setFrameExercise(new FrameExerciseVoCollection());
if(voStandingSession.getTiltTableExercise() == null)
voStandingSession.setTiltTableExercise(new TiltExerciseVoCollection());
GenForm.grdSummaryRow parentRow = form.grdSummary().getValue() instanceof StandingSessionShortVo || form.grdSummary().getValue() instanceof StandingSessionVo ?
form.grdSummary().getSelectedRow() : form.grdSummary().getSelectedRow().getParentRow();
if (parentRow.getRows().size() > 0 )
{
voStandingSession.getTiltTableExercise().clear();
voStandingSession.getFrameExercise().clear();
}
for (int i=0; i < parentRow.getRows().size(); i++)
{
if(parentRow.getRows().get(i).getValue() instanceof TiltExerciseVo)
voStandingSession.getTiltTableExercise().add((TiltExerciseVo) parentRow.getRows().get(i).getValue());
if(parentRow.getRows().get(i).getValue() instanceof FrameExerciseVo)
voStandingSession.getFrameExercise().add((FrameExerciseVo) parentRow.getRows().get(i).getValue());
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:27,代码来源:Logic.java
示例2: populateChildNodes
import ims.therapies.vo.TiltExerciseVoCollection; //导入依赖的package包/类
private void populateChildNodes(grdSummaryRow parRow, StandingSessionVo voParentInstance)
{
GenForm.grdSummaryRow childRow;
FrameExerciseVoCollection voFrameColl = voParentInstance.getFrameExercise();
TiltExerciseVoCollection voTiltColl = voParentInstance.getTiltTableExercise();
if ((voFrameColl == null && voFrameColl.size()<=0) ||
(voTiltColl == null && voTiltColl.size()<=0)) return;
voFrameColl.sort();
voTiltColl.sort();
for(int i=0; i<voFrameColl.size(); i++)
{
if (parRow != null)
{
childRow = parRow.getRows().newRow();
populateChildNode(childRow, voFrameColl.get(i));
}
}
for(int z=0; z<voTiltColl.size(); z++)
{
if (parRow != null)
{
childRow = parRow.getRows().newRow();
populateChildNode(childRow, voTiltColl.get(z));
}
}
//reselect parent
parRow.setValue(form.getLocalContext().getSelectedParentInstance());
form.grdSummary().setValue(parRow.getValue());
parRow.setExpanded(true);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:33,代码来源:Logic.java
示例3: newParentInstance
import ims.therapies.vo.TiltExerciseVoCollection; //导入依赖的package包/类
private void newParentInstance()
{
StandingSessionVo voNewParent = new StandingSessionVo();
Hcp voHcp = (Hcp) domain.getHcpUser();
if(voHcp != null)
voNewParent.setAuthoringCP(voHcp);
voNewParent.setAuthoringDateTime(new DateTime());
voNewParent.setClinicalContact(form.getGlobalContext().Core.getCurrentClinicalContact());
voNewParent.setTiltTableExercise(new TiltExerciseVoCollection());
populateParentInstanceControls(voNewParent);
form.getLocalContext().setSelectedParentInstance(voNewParent);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:13,代码来源:Logic.java
注:本文中的ims.therapies.vo.TiltExerciseVoCollection类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论