Package com.nykredit.kundeservice.tcm.datatypes.calculations

Examples of com.nykredit.kundeservice.tcm.datatypes.calculations.AHT


      }catch(Exception e){}
    }
   
    public static void setColoringAHT(Component cell,String header,Object value,double goal){
    try{
      AHT aht = (AHT)value;
     
      if(header.contentEquals("Krav***")){
        double red = goal * .95;
       
        if(aht.getResult() >= goal){
          cell.setBackground(ColorConstant.red);
        }else if (aht.getResult() <= red){
          cell.setBackground(ColorConstant.green);
        }else{
          cell.setBackground(ColorConstant.yellow);
        }
      }else{
        double red = goal * 1.05;
        if(aht.getResult() <= goal){
          cell.setBackground(ColorConstant.green);
        }else if (aht.getResult() >= red){
          cell.setBackground(ColorConstant.red);
        }else{
          cell.setBackground(ColorConstant.yellow);
        }
      }
View Full Code Here

TOP

Related Classes of com.nykredit.kundeservice.tcm.datatypes.calculations.AHT

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.