コード例 #1
0
ファイル: MapperImplDataModel.java プロジェクト: encukou/pki
 /*==========================================================
  * public methods
  *==========================================================*/
 public void processData(Object data) {
   Vector v = new Vector();
   NameValuePairs obj = (NameValuePairs) data;
   v.addElement(
       new JLabel(
           obj.get(IMPL_NAME),
           CMSAdminUtil.getImage(CMSAdminResources.IMAGE_RULE_PLUGIN),
           JLabel.LEFT));
   v.addElement(obj.get(IMPL_CLASS));
   // v.addElement(obj.getValue(IMPL_DESC));
   addRow(v, data);
 }
コード例 #2
0
ファイル: CertDataModel.java プロジェクト: encukou/pki
  /*==========================================================
   * public methods
   *==========================================================*/
  public void processData(Object data) {
    Vector v = new Vector();

    NameValuePairs obj = (NameValuePairs) data;

    // XXX NEED TO CHANGE if we are going to have multi-column table
    v.addElement(
        new JLabel(
            obj.get(CERT_NAME),
            CMSAdminUtil.getImage(CMSAdminResources.IMAGE_CERTICON_SMALL),
            JLabel.LEFT));
    addRow(v, data);
  }