Package com.fins.gt.model

Examples of com.fins.gt.model.ColumnInfo


    info.setId(modelJS.getString("id"));
    return info;
  }
   
  public static ColumnInfo createColumnInfo(JSONObject modelJS){
    ColumnInfo info=new ColumnInfo();
    info.setId(modelJS.getString("id"));
    info.setHeader(modelJS.getString("header"));
    info.setFieldIndex(modelJS.getString("fieldIndex"));
    info.setSortOrder(modelJS.getString("sortOrder"));
   
    info.setHidden(modelJS.getBoolean("hidden"));
    info.setExportable(modelJS.getBoolean("exportable"));
    info.setPrintable(modelJS.getBoolean("printable"));
   
    return info;
  }
View Full Code Here


   
    public List getDisplayColumnInfo(){
      List disColumnInfo = new ArrayList();
      if (columnInfo!=null){
        for (int i=0,len=columnInfo.size();i<len;i++) {
          ColumnInfo col=(ColumnInfo)columnInfo.get(i);
          if (!col.isHidden()) {
            disColumnInfo.add(col);
          }
        }
      }
      return disColumnInfo;
View Full Code Here

      int len=cols.size();
     
      String[] properiesName=new String[len] ;
      String[] headsName=new String[len] ;
      for (int i=0;i<len;i++){
        ColumnInfo colInfo =(ColumnInfo)cols.get(i);
        properiesName[i]=colInfo.getFieldIndex();
        headsName[i]=colInfo.getHeader();       
      }

      exportXLS(data,properiesName,headsName,beanClass);
    }
View Full Code Here

TOP

Related Classes of com.fins.gt.model.ColumnInfo

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.