Java 类ims.emergency.vo.SpecialInterestDetailsVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private String createSpecialInterestTooltip(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    if (collSpecialInterestDetails == null || (collSpecialInterestDetails != null && collSpecialInterestDetails.size() == 0))
        return null;

    StringBuffer tooltip = new StringBuffer();

    /*
     * tooltip.append("<table border=1>"); tooltip.append("<tr><td><b>Category  &nbsp &nbsp</b></td><td><b>Start Date &nbsp &nbsp </b></td><td><b>End Date &nbsp &nbsp </b></td></tr>"); for (int i=0;i<collSpecialInterestDetails.size();i++) { tooltip.append("<tr>"); SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i); tooltip.append("<td><b>"+specInterest.getSpecialInterestCategory().toString()+ "</b></td><td><b>"+specInterest.getStartDateTime().toString() +"</b></td><td><b>" + specInterest.getCompletedDateTime().toString()+"</b></td></tr>"); } tooltip.append("</table>");
     */
    // tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<tr><td style=\" border:1px solid black;\"><b>Category  &nbsp &nbsp</b></td><td style=\" border:1px solid black;\"><b>Start Date &nbsp &nbsp </b></td><td style=\" border:1px solid black;\"><b>End Date &nbsp &nbsp </b></td></tr>");
    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
        tooltip.append("<tr>");
        SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i);
        tooltip.append("<td style=\" border:1px solid black;\"><b>" +( specInterest!=null && specInterest.getSpecialInterestCategory()!=null ? specInterest.getSpecialInterestCategory():"") 
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getStartDateTime()!=null ? specInterest.getStartDateTime():"" )
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getCompletedDateTime()!=null ? specInterest.getCompletedDateTime():"") + "</b></td></tr>");
    }
    tooltip.append("</table>");

    return tooltip.toString();
}
项目:AvoinApotti    文件:Logic.java   
private void populateScreenFormData(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    clearScreen();
    if (collSpecialInterestDetails==null || (collSpecialInterestDetails!=null && collSpecialInterestDetails.size()==0))
        return;

    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
         SpecialInterestDetailsVo specialInterest = collSpecialInterestDetails.get(i);
         addRowToSpecialInterestDyngrd(specialInterest);

    }

    populateInstanceControlsFromData(form.getLocalContext().getSelectedSpecialInterest());

}
项目:openMAXIMS    文件:Logic.java   
private String createSpecialInterestTooltip(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    if (collSpecialInterestDetails == null || (collSpecialInterestDetails != null && collSpecialInterestDetails.size() == 0))
        return null;

    StringBuffer tooltip = new StringBuffer();

    /*
     * tooltip.append("<table border=1>"); tooltip.append("<tr><td><b>Category  &nbsp &nbsp</b></td><td><b>Start Date &nbsp &nbsp </b></td><td><b>End Date &nbsp &nbsp </b></td></tr>"); for (int i=0;i<collSpecialInterestDetails.size();i++) { tooltip.append("<tr>"); SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i); tooltip.append("<td><b>"+specInterest.getSpecialInterestCategory().toString()+ "</b></td><td><b>"+specInterest.getStartDateTime().toString() +"</b></td><td><b>" + specInterest.getCompletedDateTime().toString()+"</b></td></tr>"); } tooltip.append("</table>");
     */
    // tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<tr><td style=\" border:1px solid black;\"><b>Category  &nbsp &nbsp</b></td><td style=\" border:1px solid black;\"><b>Start Date &nbsp &nbsp </b></td><td style=\" border:1px solid black;\"><b>End Date &nbsp &nbsp </b></td></tr>");
    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
        tooltip.append("<tr>");
        SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i);
        tooltip.append("<td style=\" border:1px solid black;\"><b>" +( specInterest!=null && specInterest.getSpecialInterestCategory()!=null ? specInterest.getSpecialInterestCategory():"") 
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getStartDateTime()!=null ? specInterest.getStartDateTime():"" )
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getCompletedDateTime()!=null ? specInterest.getCompletedDateTime():"") + "</b></td></tr>");
    }
    tooltip.append("</table>");

    return tooltip.toString();
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFormData(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    clearScreen();
    if (collSpecialInterestDetails==null || (collSpecialInterestDetails!=null && collSpecialInterestDetails.size()==0))
        return;

    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
         SpecialInterestDetailsVo specialInterest = collSpecialInterestDetails.get(i);
         addRowToSpecialInterestDyngrd(specialInterest);

    }

    populateInstanceControlsFromData(form.getLocalContext().getSelectedSpecialInterest());

}
项目:openMAXIMS    文件:Logic.java   
private String createSpecialInterestTooltip(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    if (collSpecialInterestDetails == null || (collSpecialInterestDetails != null && collSpecialInterestDetails.size() == 0))
        return null;

    StringBuffer tooltip = new StringBuffer();

    /*
     * tooltip.append("<table border=1>"); tooltip.append("<tr><td><b>Category  &nbsp &nbsp</b></td><td><b>Start Date &nbsp &nbsp </b></td><td><b>End Date &nbsp &nbsp </b></td></tr>"); for (int i=0;i<collSpecialInterestDetails.size();i++) { tooltip.append("<tr>"); SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i); tooltip.append("<td><b>"+specInterest.getSpecialInterestCategory().toString()+ "</b></td><td><b>"+specInterest.getStartDateTime().toString() +"</b></td><td><b>" + specInterest.getCompletedDateTime().toString()+"</b></td></tr>"); } tooltip.append("</table>");
     */
    // tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<tr><td style=\" border:1px solid black;\"><b>Category  &nbsp &nbsp</b></td><td style=\" border:1px solid black;\"><b>Start Date &nbsp &nbsp </b></td><td style=\" border:1px solid black;\"><b>End Date &nbsp &nbsp </b></td></tr>");
    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
        tooltip.append("<tr>");
        SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i);
        tooltip.append("<td style=\" border:1px solid black;\"><b>" +( specInterest!=null && specInterest.getSpecialInterestCategory()!=null ? specInterest.getSpecialInterestCategory():"") 
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getStartDateTime()!=null ? specInterest.getStartDateTime():"" )
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getCompletedDateTime()!=null ? specInterest.getCompletedDateTime():"") + "</b></td></tr>");
    }
    tooltip.append("</table>");

    return tooltip.toString();
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFormData(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    clearScreen();
    if (collSpecialInterestDetails==null || (collSpecialInterestDetails!=null && collSpecialInterestDetails.size()==0))
        return;

    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
         SpecialInterestDetailsVo specialInterest = collSpecialInterestDetails.get(i);
         addRowToSpecialInterestDyngrd(specialInterest);

    }

    populateInstanceControlsFromData(form.getLocalContext().getSelectedSpecialInterest());

}
项目:openmaxims-linux    文件:Logic.java   
private String createSpecialInterestTooltip(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    if (collSpecialInterestDetails == null || (collSpecialInterestDetails != null && collSpecialInterestDetails.size() == 0))
        return null;

    StringBuffer tooltip = new StringBuffer();

    /*
     * tooltip.append("<table border=1>"); tooltip.append("<tr><td><b>Category  &nbsp &nbsp</b></td><td><b>Start Date &nbsp &nbsp </b></td><td><b>End Date &nbsp &nbsp </b></td></tr>"); for (int i=0;i<collSpecialInterestDetails.size();i++) { tooltip.append("<tr>"); SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i); tooltip.append("<td><b>"+specInterest.getSpecialInterestCategory().toString()+ "</b></td><td><b>"+specInterest.getStartDateTime().toString() +"</b></td><td><b>" + specInterest.getCompletedDateTime().toString()+"</b></td></tr>"); } tooltip.append("</table>");
     */
    // tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<table style=\"border :1px solid black; border-collapse:collapse;\">");
    tooltip.append("<tr><td style=\" border:1px solid black;\"><b>Category  &nbsp &nbsp</b></td><td style=\" border:1px solid black;\"><b>Start Date &nbsp &nbsp </b></td><td style=\" border:1px solid black;\"><b>End Date &nbsp &nbsp </b></td></tr>");
    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
        tooltip.append("<tr>");
        SpecialInterestDetailsVo specInterest = collSpecialInterestDetails.get(i);
        tooltip.append("<td style=\" border:1px solid black;\"><b>" +( specInterest!=null && specInterest.getSpecialInterestCategory()!=null ? specInterest.getSpecialInterestCategory():"") 
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getStartDateTime()!=null ? specInterest.getStartDateTime():"" )
                        + "</b></td><td style=\" border:1px solid black;\"><b>" +(specInterest!=null && specInterest.getCompletedDateTime()!=null ? specInterest.getCompletedDateTime():"") + "</b></td></tr>");
    }
    tooltip.append("</table>");

    return tooltip.toString();
}
项目:openmaxims-linux    文件:Logic.java   
private void populateScreenFormData(SpecialInterestDetailsVoCollection collSpecialInterestDetails)
{
    clearScreen();
    if (collSpecialInterestDetails==null || (collSpecialInterestDetails!=null && collSpecialInterestDetails.size()==0))
        return;

    for (int i = 0; i < collSpecialInterestDetails.size(); i++)
    {
         SpecialInterestDetailsVo specialInterest = collSpecialInterestDetails.get(i);
         addRowToSpecialInterestDyngrd(specialInterest);

    }

    populateInstanceControlsFromData(form.getLocalContext().getSelectedSpecialInterest());

}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onBtnCloseClick() throws ims.framework.exceptions.PresentationLogicException
{   
    SpecialInterestDetailsVoCollection collSpecialInterest = new SpecialInterestDetailsVoCollection();

    for (int i=0;i<form.dyngrdSpecialInterest().getRows().size();i++)
    {
        collSpecialInterest.add((SpecialInterestDetailsVo) form.dyngrdSpecialInterest().getRows().get(i).getValue());
    }

    form.getGlobalContext().Emergency.setCollSpecialInterestDetails(collSpecialInterest);
    engine.close(DialogResult.OK);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnCloseClick() throws ims.framework.exceptions.PresentationLogicException
{   
    SpecialInterestDetailsVoCollection collSpecialInterest = new SpecialInterestDetailsVoCollection();

    for (int i=0;i<form.dyngrdSpecialInterest().getRows().size();i++)
    {
        collSpecialInterest.add((SpecialInterestDetailsVo) form.dyngrdSpecialInterest().getRows().get(i).getValue());
    }

    form.getGlobalContext().Emergency.setCollSpecialInterestDetails(collSpecialInterest);
    engine.close(DialogResult.OK);
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onBtnCloseClick() throws ims.framework.exceptions.PresentationLogicException
{   
    SpecialInterestDetailsVoCollection collSpecialInterest = new SpecialInterestDetailsVoCollection();

    for (int i=0;i<form.dyngrdSpecialInterest().getRows().size();i++)
    {
        collSpecialInterest.add((SpecialInterestDetailsVo) form.dyngrdSpecialInterest().getRows().get(i).getValue());
    }

    form.getGlobalContext().Emergency.setCollSpecialInterestDetails(collSpecialInterest);
    engine.close(DialogResult.OK);
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onBtnCloseClick() throws ims.framework.exceptions.PresentationLogicException
{   
    SpecialInterestDetailsVoCollection collSpecialInterest = new SpecialInterestDetailsVoCollection();

    for (int i=0;i<form.dyngrdSpecialInterest().getRows().size();i++)
    {
        collSpecialInterest.add((SpecialInterestDetailsVo) form.dyngrdSpecialInterest().getRows().get(i).getValue());
    }

    form.getGlobalContext().Emergency.setCollSpecialInterestDetails(collSpecialInterest);
    engine.close(DialogResult.OK);
}