Package open.dolphin.inspector

Source Code of open.dolphin.inspector.AllergyView

/*
* AllergyView.java
*
* Created on 2007/11/29, 9:11
*/

package open.dolphin.inspector;

import open.dolphin.ui.MyJScrollPane;

/**
*
* @author  kazm
*/
public class AllergyView extends javax.swing.JPanel {
   
    /** Creates new form AllergyView */
    public AllergyView() {
        initComponents();
        jScrollPane1.putClientProperty("JComponent.sizeVariant", "small");
    }
   
    /** 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.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new MyJScrollPane(); //javax.swing.JScrollPane();
        table = new javax.swing.JTable();

        setName("Form"); // NOI18N

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        table.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        table.setName("table"); // NOI18N
        jScrollPane1.setViewportView(table);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 242, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 96, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents
   
   
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable table;
    // End of variables declaration//GEN-END:variables

//    public javax.swing.JButton getAddBtn() {
//        return addBtn;
//    }
//
//    public javax.swing.JButton getDeleteBtn() {
//        return deleteBtn;
//    }
//
//    public javax.swing.JTextField getFactorFld() {
//        return factorFld;
//    }
//
//    public javax.swing.JTextField getIdentifiedFld() {
//        return identifiedFld;
//    }
//
//    public javax.swing.JTextField getMemoFld() {
//        return memoFld;
//    }
//
//    public javax.swing.JComboBox getReactionCombo() {
//        return reactionCombo;
//    }

    public javax.swing.JTable getTable() {
        return table;
    }
    public javax.swing.JScrollPane getScrollPane() {
        return jScrollPane1;
    }
   
}
TOP

Related Classes of open.dolphin.inspector.AllergyView

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.