/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GraphSettings.java
 *
 * Created on Nov 23, 2009, 6:27:14 AM
 */
package graderforms.resources;
/**
 *
 * @author Daireisu
 */
public class GraphSettings extends javax.swing.JFrame {

    /** Creates new form GraphSettings */
    public GraphSettings() {
        initComponents();
        setTitle("Graph Settings");
        this.setLocationRelativeTo(null);
    }

    /** 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() {

        dataSetName = new javax.swing.JTextField();
        currDataSet = new javax.swing.JLabel();
        currGradeScheme = new javax.swing.JLabel();
        glineMovement = new java.awt.Label();
        gsName = new javax.swing.JTextField();
        snapOn = new javax.swing.JRadioButton();
        freeOn = new javax.swing.JRadioButton();
        delAbove = new javax.swing.JRadioButton();
        delBelow = new javax.swing.JRadioButton();
        delNone = new javax.swing.JRadioButton();
        delGLineOverlap = new javax.swing.JLabel();
        updateMove = new javax.swing.JCheckBox();
        displayNumber = new javax.swing.JCheckBox();
        easyAdd = new javax.swing.JCheckBox();
        displayPercent = new javax.swing.JCheckBox();
        customGS = new javax.swing.JButton();
        Cancel = new javax.swing.JButton();
        OK = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE);

        dataSetName.setText("(Default Data Set)");

        currDataSet.setText("Current Data Set:");

        currGradeScheme.setText("Current Grade Scheme");

        glineMovement.setText("GradeLine movement");

        gsName.setText("(Default Grade Scheme)");

        snapOn.setText("Snap to Location");

        freeOn.setText("Free movement");

        delAbove.setText("Above");

        delBelow.setText("Below");

        delNone.setText("None");

        delGLineOverlap.setText("Delete GradeLine on Overlap");

        updateMove.setText("Update Data on Movement");

        displayNumber.setText("Display Number of Students");

        easyAdd.setText("'+'/'-' add \"+\"/\"-\" GradeLines");

        displayPercent.setText("Display Percentage of Students");

        customGS.setText("Customize Grade Scheme");

        Cancel.setText("Cancel");

        OK.setText("OK");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(delAbove)
                                .addGap(76, 76, 76)
                                .addComponent(delBelow))
                            .addComponent(delGLineOverlap))
                        .addGap(80, 80, 80)
                        .addComponent(delNone)
                        .addContainerGap())
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(snapOn)
                            .addComponent(glineMovement, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(143, 143, 143)
                        .addComponent(freeOn)
                        .addContainerGap())
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(currGradeScheme)
                            .addComponent(currDataSet))
                        .addGap(58, 58, 58)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(dataSetName, javax.swing.GroupLayout.DEFAULT_SIZE, 188, Short.MAX_VALUE)
                            .addComponent(gsName, javax.swing.GroupLayout.DEFAULT_SIZE, 188, Short.MAX_VALUE))
                        .addGap(50, 50, 50))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(updateMove)
                                    .addComponent(easyAdd))
                                .addGap(61, 61, 61)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(displayNumber)
                                    .addComponent(displayPercent)))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(customGS)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(Cancel, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(OK, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(12, 12, 12)))
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(dataSetName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(currDataSet))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(currGradeScheme)
                    .addComponent(gsName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(32, 32, 32)
                .addComponent(glineMovement, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(snapOn)
                    .addComponent(freeOn))
                .addGap(18, 18, 18)
                .addComponent(delGLineOverlap)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(delAbove)
                    .addComponent(delNone)
                    .addComponent(delBelow))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(updateMove)
                    .addComponent(displayNumber))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(easyAdd)
                    .addComponent(displayPercent))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(customGS)
                    .addComponent(OK)
                    .addComponent(Cancel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new GraphSettings().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton Cancel;
    private javax.swing.JButton OK;
    private javax.swing.JLabel currDataSet;
    private javax.swing.JLabel currGradeScheme;
    private javax.swing.JButton customGS;
    private javax.swing.JTextField dataSetName;
    private javax.swing.JRadioButton delAbove;
    private javax.swing.JRadioButton delBelow;
    private javax.swing.JLabel delGLineOverlap;
    private javax.swing.JRadioButton delNone;
    private javax.swing.JCheckBox displayNumber;
    private javax.swing.JCheckBox displayPercent;
    private javax.swing.JCheckBox easyAdd;
    private javax.swing.JRadioButton freeOn;
    private java.awt.Label glineMovement;
    private javax.swing.JTextField gsName;
    private javax.swing.JRadioButton snapOn;
    private javax.swing.JCheckBox updateMove;
    // End of variables declaration//GEN-END:variables

}