示例#1
0
 /**
  * Return the Catalogs data list
  *
  * @return a Vector
  */
 public Vector getResultVector() {
   return resList.getList();
   //      Vector result = new Vector();
   //      for (int i = 0; i < this.resultat.getItemCount(); i++)
   //        result.addElement(this.resultat.getItem(i));
   //      return result;
 }
示例#2
0
  /**
   * submit
   *
   * @param a
   * @param b
   * @return boolean
   */
  public boolean submit(String a, String b) {
    int selected[];
    int i;
    StringBuffer extra = new StringBuffer();

    waitCursor();

    for (int j = 0; j < nSection; j++) {
      selected = lk[j].getSelectedIndices();
      for (i = 0; i < selected.length; i++)
        CDSMethods.append(
            extra,
            (String) vq.getNameKey().elementAt(j),
            (String) lk[j].getModel().getElementAt(selected[i]));
    }

    boolean res =
        vq.submit(
            a,
            b,
            (String) unit.getSelectedItem(),
            (String) coordinate.getSelectedItem(),
            tauthor.getText(),
            extra.toString(),
            outputMode,
            resList.getList());
    defaultCursor();
    return res;
  }