本文整理汇总了Java中ims.emergency.vo.WhiteBoardAssessmentConfigVo类的典型用法代码示例。如果您正苦于以下问题:Java WhiteBoardAssessmentConfigVo类的具体用法?Java WhiteBoardAssessmentConfigVo怎么用?Java WhiteBoardAssessmentConfigVo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
WhiteBoardAssessmentConfigVo类属于ims.emergency.vo包,在下文中一共展示了WhiteBoardAssessmentConfigVo类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onBtnOKClick
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
@Override
protected void onBtnOKClick() throws ims.framework.exceptions.PresentationLogicException
{
WhiteBoardAssessmentConfigVo whiteBoardAssessToSave = populateDataFromScreen(form.getGlobalContext().Emergency.getWhiteBoardAssessmentConfig());
String[] errors = getUIErrors();
if (errors != null && errors.length > 0)
{
engine.showErrors(errors);
return ;
}
form.getGlobalContext().Emergency.setWhiteBoardAssessmentConfig(whiteBoardAssessToSave);
engine.close(DialogResult.OK);
}
示例2: populateScreenFromData
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void populateScreenFromData(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
clearScreen();
if (whiteBoardAssessmentConfig==null)
return;
if (whiteBoardAssessmentConfig.getName() != null)
{
UserAssessmentForWhiteboardConfigVo tempUA = new UserAssessmentForWhiteboardConfigVo();
form.qmbAssessment().newRow(tempUA, whiteBoardAssessmentConfig.getName());
form.qmbAssessment().setValue(tempUA);
}
if (whiteBoardAssessmentConfig.getIcon() != null)
{
Image img =engine.getRegisteredImage(whiteBoardAssessmentConfig.getIcon().getID_AppImage());
form.qmbIcon().newRow(img, img.getImagePath());
form.qmbIcon().setValue(img);
form.imgAssessment().setValue(img);
}
form.txtTaxonomy().setValue(whiteBoardAssessmentConfig.getMAXIMSMappingValue());
}
示例3: populateScreenFromData
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void populateScreenFromData(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
clearScreen();
if (whiteBoardAssessmentConfig==null)
return;
if (whiteBoardAssessmentConfig.getAssociatedAssessment() != null)
{
form.qmbAssessment().newRow(whiteBoardAssessmentConfig.getAssociatedAssessment(), whiteBoardAssessmentConfig.getAssociatedAssessment().getName().toString());
form.qmbAssessment().setValue(whiteBoardAssessmentConfig.getAssociatedAssessment());
}
form.txtName().setValue(whiteBoardAssessmentConfig.getName());
if (whiteBoardAssessmentConfig.getIcon() != null)
{
Image img =engine.getRegisteredImage(whiteBoardAssessmentConfig.getIcon().getID_AppImage());
form.qmbIcon().newRow(img, img.getImagePath());
form.qmbIcon().setValue(img);
form.imgAssessment().setValue(img);
}
}
示例4: addRowToAssessmentsGrid
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void addRowToAssessmentsGrid(WhiteBoardAssessmentConfigVo whiteBoardAssessment)
{
if (whiteBoardAssessment==null)
return;
grdAssessmentsRow row = form.grdAssessments().getRows().newRow();
row.setcolName(whiteBoardAssessment.getName());
row.setTooltipForcolName(whiteBoardAssessment.getName());
PatientAssessmentForWhiteboardVo patientAssessment=domain.getPatientAssessment(form.getGlobalContext().Core.getCurrentCareContext(), whiteBoardAssessment.getAssociatedAssessment());
row.setcolScore(patientAssessment!=null && patientAssessment.getScore()!=null ? patientAssessment.getScore().toString() : null);
row.setTooltipForcolScore(patientAssessment!=null && patientAssessment.getScore()!=null ? patientAssessment.getScore().toString() : null);
row.setcolCompletionHcp(patientAssessment!=null && patientAssessment.getCompletedHCP()!=null && patientAssessment.getCompletedHCP().getName()!=null ? patientAssessment.getCompletedHCP().getName().toString() : null);
row.setTooltipForcolCompletionHcp(patientAssessment!=null && patientAssessment.getCompletedHCP()!=null && patientAssessment.getCompletedHCP().getName()!=null ? patientAssessment.getCompletedHCP().getName().toString() : null);
row.setcolCompletionDateTime(patientAssessment!=null && patientAssessment.getCompletedDateTime()!=null ? patientAssessment.getCompletedDateTime().toString() : null);
row.setTooltipForcolCompletionDateTime(patientAssessment!=null && patientAssessment.getCompletedDateTime()!=null ? patientAssessment.getCompletedDateTime().toString() : null);
}
示例5: addRowToAssessmentsGrid
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void addRowToAssessmentsGrid(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
if (whiteBoardAssessmentConfig==null)
return;
grdAssessmentsRow row = form.grdAssessments().getRows().newRow();
row.setcolName(whiteBoardAssessmentConfig.getName());
row.setcolIcon(whiteBoardAssessmentConfig.getIcon()!=null ? engine.getRegisteredImage(whiteBoardAssessmentConfig.getIcon().getID_AppImage()) : null);
row.setcolTaxonomy(whiteBoardAssessmentConfig.getMAXIMSMappingValue());
row.setValue(whiteBoardAssessmentConfig);
}
示例6: updateRowToAssessmentsGrid
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void updateRowToAssessmentsGrid(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
grdAssessmentsRow row = form.grdAssessments().getSelectedRow();
row.setcolName(whiteBoardAssessmentConfig.getName());
row.setcolIcon((Image) whiteBoardAssessmentConfig.getIcon());
row.setcolTaxonomy(whiteBoardAssessmentConfig.getMAXIMSMappingValue());
row.setValue(whiteBoardAssessmentConfig);
}
示例7: addColumnAssessment
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void addColumnAssessment(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
DynamicGridColumn column = form.dyngrdWhiteBoard().getColumns().newColumn("");
column.setWidth(30);
column.setAlignment(Alignment.CENTER);
column.setVerticalAlignment(VerticalAlignment.MIDDLE);
column.setCaptionImage(engine.getRegisteredImage(whiteBoardAssessmentConfig.getIcon().getID_AppImage()));
column.setHeaderAlignment(Alignment.CENTER);
column.setIdentifier(whiteBoardAssessmentConfig);
}
示例8: addRowToAssessmentsGrid
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void addRowToAssessmentsGrid(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
if (whiteBoardAssessmentConfig==null)
return;
grdAssessmentsRow row = form.grdAssessments().getRows().newRow();
row.setcolName(whiteBoardAssessmentConfig.getName());
row.setcolIcon(whiteBoardAssessmentConfig.getIcon()!=null ? engine.getRegisteredImage(whiteBoardAssessmentConfig.getIcon().getID_AppImage()) : null);
row.setValue(whiteBoardAssessmentConfig);
}
示例9: updateRowToAssessmentsGrid
import ims.emergency.vo.WhiteBoardAssessmentConfigVo; //导入依赖的package包/类
private void updateRowToAssessmentsGrid(WhiteBoardAssessmentConfigVo whiteBoardAssessmentConfig)
{
grdAssessmentsRow row = form.grdAssessments().getSelectedRow();
row.setcolName(whiteBoardAssessmentConfig.getName());
row.setcolIcon((Image) whiteBoardAssessmentConfig.getIcon());
row.setValue(whiteBoardAssessmentConfig);
}