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

/*
 * BarcodeTransformerOptions.java
 *
 * Created on 31-mag-2010, 18.54.20
 */

package com.jaspersoft.ireport.addons.transformer;

/**
 *
 * @author gtoffoli
 */
public class BarcodeTransformerOptions extends javax.swing.JPanel {

    /** Creates new form BarcodeTransformerOptions */
    public BarcodeTransformerOptions() {
        initComponents();
    }

    public boolean isBackupOldSource()
    {
        return jCheckBoxBackup.isSelected();
    }


    /** 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() {
        java.awt.GridBagConstraints gridBagConstraints;

        jLabel1 = new javax.swing.JLabel();
        jCheckBoxBackup = new javax.swing.JCheckBox();

        setLayout(new java.awt.GridBagLayout());

        jLabel1.setText(org.openide.util.NbBundle.getMessage(BarcodeTransformerOptions.class, "BarcodeTransformerOptions.jLabel1.text")); // NOI18N
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 1.0;
        add(jLabel1, gridBagConstraints);

        jCheckBoxBackup.setSelected(true);
        jCheckBoxBackup.setText(org.openide.util.NbBundle.getMessage(BarcodeTransformerOptions.class, "BarcodeTransformerOptions.jCheckBoxBackup.text")); // NOI18N
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        add(jCheckBoxBackup, gridBagConstraints);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JCheckBox jCheckBoxBackup;
    private javax.swing.JLabel jLabel1;
    // End of variables declaration//GEN-END:variables

}
