Package open.dolphin.inspector

Source Code of open.dolphin.inspector.PhysicalView

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

package open.dolphin.inspector;

import open.dolphin.ui.MyJScrollPane;

/**
*
* @author  kazm
*/
public class PhysicalView extends javax.swing.JPanel {
   
    /** Creates new form AllergyView */
    public PhysicalView() {
        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, 243, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 203, 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.JTextField getConfirmedFld() {
//        return confirmedFld;
//    }
//
//    public javax.swing.JButton getDeleteBtn() {
//        return deleteBtn;
//    }
//
//    public javax.swing.JTextField getHeightFld() {
//        return heightFld;
//    }

    public javax.swing.JTable getTable() {
        return table;
    }

//    public javax.swing.JTextField getWeightFld() {
//        return weightFld;
//    }

}
TOP

Related Classes of open.dolphin.inspector.PhysicalView

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.