/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* MedicalCertificateView.java
*
* Created on 2011/03/16, 12:09:44
*/
package open.dolphin.letter;
import open.dolphin.client.Panel2;
/**
*
* @author kazushi
*/
public class MedicalCertificateView extends Panel2 {
/** Creates new form MedicalCertificateView */
public MedicalCertificateView() {
initComponents();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
patientNameFld = new javax.swing.JTextField();
jLabel3 = new javax.swing.JLabel();
patientAddress = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
patientBirthday = new javax.swing.JTextField();
jScrollPane1 = new javax.swing.JScrollPane();
informedContent = new javax.swing.JTextArea();
confirmedFld = new javax.swing.JTextField();
hospitalAddressFld = new javax.swing.JTextField();
hospitalNameFld = new javax.swing.JTextField();
doctorNameFld = new javax.swing.JTextField();
jLabel8 = new javax.swing.JLabel();
diseaseFld = new javax.swing.JTextField();
jLabel9 = new javax.swing.JLabel();
hospitalTelephoneFld = new javax.swing.JTextField();
jLabel11 = new javax.swing.JLabel();
sexFld = new javax.swing.JTextField();
jLabel12 = new javax.swing.JLabel();
setName("Form"); // NOI18N
setPreferredSize(new java.awt.Dimension(585, 794));
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("open/dolphin/letter/resources/MedicalCertificateView"); // NOI18N
jLabel1.setText(bundle.getString("medicalCertificateLabel.text")); // NOI18N
jLabel1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jLabel2.setText(bundle.getString("patientNameLabel.text")); // NOI18N
patientNameFld.setEditable(false);
jLabel3.setText(bundle.getString("patientAddressLabel.text")); // NOI18N
patientAddress.setEditable(false);
jLabel4.setText(bundle.getString("patientBirthdayLabel.text")); // NOI18N
patientBirthday.setEditable(false);
informedContent.setColumns(20);
informedContent.setLineWrap(true);
informedContent.setRows(5);
jScrollPane1.setViewportView(informedContent);
confirmedFld.setEditable(false);
confirmedFld.setToolTipText(bundle.getString("confirmedFld.toolTipText")); // NOI18N
hospitalAddressFld.setEditable(false);
hospitalAddressFld.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
hospitalNameFld.setEditable(false);
hospitalNameFld.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
doctorNameFld.setEditable(false);
doctorNameFld.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
jLabel8.setText(bundle.getString("diceaseLabel.text")); // NOI18N
jLabel9.setText(bundle.getString("certificateLabel.text")); // NOI18N
jLabel9.setName("jLabel9"); // NOI18N
hospitalTelephoneFld.setEditable(false);
hospitalTelephoneFld.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
jLabel11.setText(bundle.getString("patientGenderLabel.text")); // NOI18N
sexFld.setEditable(false);
jLabel12.setText(bundle.getString("sealLabel.text")); // NOI18N
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(layout.createSequentialGroup()
.add(19, 19, 19)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel2)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel4)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel3)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel8))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(patientNameFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 147, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(layout.createSequentialGroup()
.add(patientBirthday, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 234, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(18, 18, 18)
.add(jLabel11)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(sexFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 54, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(patientAddress, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE)
.add(diseaseFld, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE)
.add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE)))
.add(layout.createSequentialGroup()
.add(64, 64, 64)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(confirmedFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 174, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(hospitalAddressFld, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 290, Short.MAX_VALUE)
.add(hospitalNameFld, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 290, Short.MAX_VALUE)))
.add(jLabel9)))))
.add(layout.createSequentialGroup()
.add(363, 363, 363)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(hospitalTelephoneFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 176, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(layout.createSequentialGroup()
.add(doctorNameFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jLabel12)))))
.add(layout.createSequentialGroup()
.add(219, 219, 219)
.add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 133, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(38, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.addContainerGap()
.add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 29, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(18, 18, 18)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel2)
.add(patientNameFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel4)
.add(patientBirthday, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel11)
.add(sexFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(20, 20, 20)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel3)
.add(patientAddress, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(diseaseFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(jLabel8))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 265, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(18, 18, 18)
.add(jLabel9)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(confirmedFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(18, 18, 18)
.add(hospitalAddressFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(hospitalNameFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(hospitalTelephoneFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, doctorNameFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel12))
.addContainerGap(92, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JTextField confirmedFld;
private javax.swing.JTextField diseaseFld;
private javax.swing.JTextField doctorNameFld;
private javax.swing.JTextField hospitalAddressFld;
private javax.swing.JTextField hospitalNameFld;
private javax.swing.JTextField hospitalTelephoneFld;
private javax.swing.JTextArea informedContent;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextField patientAddress;
private javax.swing.JTextField patientBirthday;
private javax.swing.JTextField patientNameFld;
private javax.swing.JTextField sexFld;
// End of variables declaration//GEN-END:variables
public javax.swing.JTextField getConfirmedFld() {
return confirmedFld;
}
public javax.swing.JTextField getDiseaseFld() {
return diseaseFld;
}
public javax.swing.JTextField getDoctorNameFld() {
return doctorNameFld;
}
public javax.swing.JTextField getHospitalAddressFld() {
return hospitalAddressFld;
}
public javax.swing.JTextField getHospitalNameFld() {
return hospitalNameFld;
}
public javax.swing.JTextArea getInformedContent() {
return informedContent;
}
public javax.swing.JTextField getPatientAddress() {
return patientAddress;
}
public javax.swing.JTextField getPatientBirthday() {
return patientBirthday;
}
public javax.swing.JTextField getPatientNameFld() {
return patientNameFld;
}
public javax.swing.JTextField getHospitalTelephoneFld() {
return hospitalTelephoneFld;
}
public javax.swing.JTextField getSexFld() {
return sexFld;
}
}