Java 类ims.therapies.vo.FrameExerciseSupportVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateFrameGrd(FrameExerciseSupportVoCollection voSupportColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdTimeRow row = null;

    for(int x=0; x<voSupportColl.size(); x++)
    {
        FrameExerciseSupportVo voSupport = voSupportColl.get(x);
        int i=0;
        for(i=0; i<form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size(); i++)
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().get(i);
            if(row.getColSupportType().equals(voSupport.getFrameSupportExercise()))
            {
                row.setColTime(voSupport.getDurationTime());
                break;
            }
        }
        if(i == form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size())
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().newRow();
            row.setValue(voSupport);
            row.setColSupportType(voSupport.getFrameSupportExercise());
            row.setColTime(voSupport.getDurationTime());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateFrameGrd(FrameExerciseSupportVoCollection voSupportColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdTimeRow row = null;

    for(int x=0; x<voSupportColl.size(); x++)
    {
        FrameExerciseSupportVo voSupport = voSupportColl.get(x);
        int i=0;
        for(i=0; i<form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size(); i++)
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().get(i);
            if(row.getColSupportType().equals(voSupport.getFrameSupportExercise()))
            {
                row.setColTime(voSupport.getDurationTime());
                break;
            }
        }
        if(i == form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size())
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().newRow();
            row.setValue(voSupport);
            row.setColSupportType(voSupport.getFrameSupportExercise());
            row.setColTime(voSupport.getDurationTime());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateFrameGrd(FrameExerciseSupportVoCollection voSupportColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdTimeRow row = null;

    for(int x=0; x<voSupportColl.size(); x++)
    {
        FrameExerciseSupportVo voSupport = voSupportColl.get(x);
        int i=0;
        for(i=0; i<form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size(); i++)
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().get(i);
            if(row.getColSupportType().equals(voSupport.getFrameSupportExercise()))
            {
                row.setColTime(voSupport.getDurationTime());
                break;
            }
        }
        if(i == form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size())
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().newRow();
            row.setValue(voSupport);
            row.setColSupportType(voSupport.getFrameSupportExercise());
            row.setColTime(voSupport.getDurationTime());
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
private void populateFrameGrd(FrameExerciseSupportVoCollection voSupportColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdTimeRow row = null;

    for(int x=0; x<voSupportColl.size(); x++)
    {
        FrameExerciseSupportVo voSupport = voSupportColl.get(x);
        int i=0;
        for(i=0; i<form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size(); i++)
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().get(i);
            if(row.getColSupportType().equals(voSupport.getFrameSupportExercise()))
            {
                row.setColTime(voSupport.getDurationTime());
                break;
            }
        }
        if(i == form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size())
        {
            row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().newRow();
            row.setValue(voSupport);
            row.setColSupportType(voSupport.getFrameSupportExercise());
            row.setColTime(voSupport.getDurationTime());
        }
    }

}