Examples of DBObjectForm


Examples of com.rakaizsys.eims.view.templates.DBObjectForm



  @Override
  protected void processFirstItemAction(ActionEvent e) throws Exception {
    DBObjectForm form = new DBObjectForm();
    String tableName = null;
    JComponent focusedComponent = null;
    if (cbNat.hasFocus()) {
      tableName = "NAT";
      focusedComponent = cbNat;
    } else if (cbGovIdIssuePlace.hasFocus()) {
      tableName = "CITIES";
      focusedComponent = cbGovIdIssuePlace;
    } else if (cbProffession.hasFocus()) {
      tableName = "PROFESSIONS";
      focusedComponent = cbProffession;
    } else if (cbType.hasFocus()) {
      tableName = "EMPLOYEE_TYPES";
      focusedComponent = cbType;
    } else if (cbRiligion.hasFocus()) {
      tableName = "RELIGIONS";
      focusedComponent = cbRiligion;
    } else if (cbSponsor.hasFocus()) {
      SponsorForm sponsorForm = new SponsorForm();
      ViewUtil.showDialog(sponsorForm, true);
      fillCBSponsor();
      return;
    }
    form.setTableName(tableName);
    ViewUtil.showDialog(form, true);
    if (cbNat.equals(focusedComponent))
      fillCBNat();
    else if (cbGovIdIssuePlace.equals(focusedComponent))
      fillCBGovIdIssuePlace();
View Full Code Here

Examples of com.rakaizsys.eims.view.templates.DBObjectForm

  protected void doInsert() throws Exception {
    SQLMapHolder.sqlMap.insert("insertEmployeeAttachment", dbObject);
  }

  protected void doHprlnkAddEditActionPerformed(ActionEvent e) {
    DBObjectForm form = new DBObjectForm("EMPLOYEE_ATTACHES_TYPES");
    ViewUtil.showDialog(this, true);
    updateAttachmentTypesList();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.