Java 类ims.therapies.vo.lookups.StandingSupportTypeExerciseCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateTiltGrd(StandingSupportTypeExerciseCollection tiltSupportExerciseColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdSelectRow tRow = null;
    form.ctnStand().lyrParent().tabDetails().grdTime().setVisible(false);
    form.ctnStand().lyrParent().tabDetails().grdSelect().setVisible(true);
    if(tiltSupportExerciseColl != null)
    {
        for (int i=0; i<tiltSupportExerciseColl.size(); i++)
        {
            StandingSupportTypeExercise modal = tiltSupportExerciseColl.get(i);
            tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRowByValue(modal);
            if (tRow != null)
                tRow.setColSelect(true);
            else
            {
                tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().newRow();
                tRow.setValue(modal);
                tRow.setColSupportType(modal.getText());    
                tRow.setColSelect(true);    
            }
        }   
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateTiltGrd(StandingSupportTypeExerciseCollection tiltSupportExerciseColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdSelectRow tRow = null;
    form.ctnStand().lyrParent().tabDetails().grdTime().setVisible(false);
    form.ctnStand().lyrParent().tabDetails().grdSelect().setVisible(true);
    if(tiltSupportExerciseColl != null)
    {
        for (int i=0; i<tiltSupportExerciseColl.size(); i++)
        {
            StandingSupportTypeExercise modal = tiltSupportExerciseColl.get(i);
            tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRowByValue(modal);
            if (tRow != null)
                tRow.setColSelect(true);
            else
            {
                tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().newRow();
                tRow.setValue(modal);
                tRow.setColSupportType(modal.getText());    
                tRow.setColSelect(true);    
            }
        }   
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateTiltGrd(StandingSupportTypeExerciseCollection tiltSupportExerciseColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdSelectRow tRow = null;
    form.ctnStand().lyrParent().tabDetails().grdTime().setVisible(false);
    form.ctnStand().lyrParent().tabDetails().grdSelect().setVisible(true);
    if(tiltSupportExerciseColl != null)
    {
        for (int i=0; i<tiltSupportExerciseColl.size(); i++)
        {
            StandingSupportTypeExercise modal = tiltSupportExerciseColl.get(i);
            tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRowByValue(modal);
            if (tRow != null)
                tRow.setColSelect(true);
            else
            {
                tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().newRow();
                tRow.setValue(modal);
                tRow.setColSupportType(modal.getText());    
                tRow.setColSelect(true);    
            }
        }   
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateTiltGrd(StandingSupportTypeExerciseCollection tiltSupportExerciseColl)
{
    GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdSelectRow tRow = null;
    form.ctnStand().lyrParent().tabDetails().grdTime().setVisible(false);
    form.ctnStand().lyrParent().tabDetails().grdSelect().setVisible(true);
    if(tiltSupportExerciseColl != null)
    {
        for (int i=0; i<tiltSupportExerciseColl.size(); i++)
        {
            StandingSupportTypeExercise modal = tiltSupportExerciseColl.get(i);
            tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRowByValue(modal);
            if (tRow != null)
                tRow.setColSelect(true);
            else
            {
                tRow = form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().newRow();
                tRow.setValue(modal);
                tRow.setColSupportType(modal.getText());    
                tRow.setColSelect(true);    
            }
        }   
    }
}