/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package open.dolphin.hiro; /** * * @author kazushi */ public class PostConfirmPanel extends javax.swing.JPanel { /** * Creates new form PostConfirmPanel */ public PostConfirmPanel() { 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() { chkHomeMedical = new javax.swing.JCheckBox(); chkUseDrugInfo = new javax.swing.JCheckBox(); lblNarcoticsPractitioner = new javax.swing.JLabel(); narcoticsPractitioner = new javax.swing.JTextField(); lblUseDrugId = new javax.swing.JLabel(); useDrugId = new javax.swing.JTextField(); chkPatientInfo = new javax.swing.JCheckBox(); jLabel3 = new javax.swing.JLabel(); tfPeriod = new javax.swing.JTextField(); jLabel1 = new javax.swing.JLabel(); facilitCodeField = new javax.swing.JTextField(); generalChk = new javax.swing.JCheckBox(); chkHomeMedical.setText("備考欄に「在宅」を記入"); chkUseDrugInfo.setText("麻薬施用者免許番号を転帰"); lblNarcoticsPractitioner.setText("麻薬施用者:"); lblUseDrugId.setText("麻薬施用者免許番号:"); useDrugId.setToolTipText("ツールメニューのプロフィール変更で登録します。"); chkPatientInfo.setText("患者氏名、住所を転帰"); jLabel3.setText("使用期間:"); tfPeriod.setToolTipText("右クリックでカレンダーがポップアップします。"); jLabel1.setText("保険医療機関コード:"); facilitCodeField.setEditable(false); facilitCodeField.setToolTipText("ツールメニューの医療機関コード読み込みから取得できます。"); generalChk.setText("一般名で出力する"); 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() .addContainerGap() .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(chkPatientInfo) .add(layout.createSequentialGroup() .add(10, 10, 10) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .add(jLabel1) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(facilitCodeField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 188, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(layout.createSequentialGroup() .add(jLabel3) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(tfPeriod, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 142, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))) .add(chkHomeMedical) .add(chkUseDrugInfo) .add(layout.createSequentialGroup() .add(29, 29, 29) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(layout.createSequentialGroup() .add(lblUseDrugId) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(useDrugId)) .add(layout.createSequentialGroup() .add(lblNarcoticsPractitioner) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(narcoticsPractitioner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 221, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))) .add(generalChk)) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .addContainerGap() .add(chkHomeMedical) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(chkUseDrugInfo) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(lblNarcoticsPractitioner) .add(narcoticsPractitioner, 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.BASELINE) .add(lblUseDrugId) .add(useDrugId, 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(chkPatientInfo) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel3) .add(tfPeriod, 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.BASELINE) .add(jLabel1) .add(facilitCodeField, 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(generalChk) .addContainerGap(12, Short.MAX_VALUE)) ); }// </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JCheckBox chkHomeMedical; private javax.swing.JCheckBox chkPatientInfo; private javax.swing.JCheckBox chkUseDrugInfo; private javax.swing.JTextField facilitCodeField; private javax.swing.JCheckBox generalChk; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel3; private javax.swing.JLabel lblNarcoticsPractitioner; private javax.swing.JLabel lblUseDrugId; private javax.swing.JTextField narcoticsPractitioner; private javax.swing.JTextField tfPeriod; private javax.swing.JTextField useDrugId; // End of variables declaration//GEN-END:variables public javax.swing.JCheckBox getChkHomeMedical() { return chkHomeMedical; } public javax.swing.JCheckBox getChkPatientInfo() { return chkPatientInfo; } public javax.swing.JCheckBox getChkUseDrugInfo() { return chkUseDrugInfo; } public javax.swing.JTextField getNarcoticsPractitioner() { return narcoticsPractitioner; } public javax.swing.JTextField getTfPeriod() { return tfPeriod; } public javax.swing.JTextField getUseDrugId() { return useDrugId; } public javax.swing.JLabel getLblNarcoticsPractitioner() { return lblNarcoticsPractitioner; } public javax.swing.JLabel getLblUseDrugId() { return lblUseDrugId; } public javax.swing.JTextField getFacilitCodeField() { return facilitCodeField; } public javax.swing.JCheckBox getGeneralChk() { return generalChk; } }