/*
* ConfigView.java
*
* Created on 2007/12/10, 18:50
*/
package open.dolphin.impl.img;
/**
*
* @author kazm
*/
public class DefaultConfigView extends javax.swing.JPanel {
/** Creates new form ConfigView */
public DefaultConfigView() {
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.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel2 = new javax.swing.JPanel();
jLabel4 = new javax.swing.JLabel();
baseDirFld = new javax.swing.JTextField();
baseDirBtn = new javax.swing.JButton();
jLabel1 = new javax.swing.JLabel();
copyRadio = new javax.swing.JRadioButton();
moveRadio = new javax.swing.JRadioButton();
jPanel3 = new javax.swing.JPanel();
jLabel5 = new javax.swing.JLabel();
columnSpinner = new javax.swing.JSpinner();
jLabel2 = new javax.swing.JLabel();
filenameRadio = new javax.swing.JRadioButton();
lastRadio = new javax.swing.JRadioButton();
jLabel3 = new javax.swing.JLabel();
ascRadio = new javax.swing.JRadioButton();
descRadio = new javax.swing.JRadioButton();
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("open/dolphin/impl/img/resources/DefaultConfigView"); // NOI18N
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(bundle.getString("jPanel2.border.title"))); // NOI18N
jLabel4.setText(bundle.getString("jLabel4.text")); // NOI18N
baseDirBtn.setText(bundle.getString("baseDirBtn.text")); // NOI18N
jLabel1.setText(bundle.getString("jLabel1.text")); // NOI18N
copyRadio.setText(bundle.getString("copyRadio.text")); // NOI18N
moveRadio.setText(bundle.getString("moveRadio.text")); // NOI18N
org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel4)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel1))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.add(baseDirFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 241, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(baseDirBtn))
.add(jPanel2Layout.createSequentialGroup()
.add(copyRadio)
.add(18, 18, 18)
.add(moveRadio)))
.addContainerGap(26, Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel4)
.add(baseDirFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 28, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(baseDirBtn))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel1)
.add(copyRadio)
.add(moveRadio))
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(bundle.getString("jPanel3.border.title"))); // NOI18N
jLabel5.setText(bundle.getString("jLabel5.text")); // NOI18N
columnSpinner.setModel(new javax.swing.SpinnerNumberModel(5, 1, 10, 1));
jLabel2.setText(bundle.getString("jLabel2.text")); // NOI18N
filenameRadio.setText(bundle.getString("filenameRadio.text")); // NOI18N
lastRadio.setText(bundle.getString("lastRadio.text")); // NOI18N
jLabel3.setText(bundle.getString("jLabel3.text")); // NOI18N
ascRadio.setText(bundle.getString("ascRadio.text")); // NOI18N
descRadio.setText(bundle.getString("descRadio.text")); // NOI18N
org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel5)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel2)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel3))
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(columnSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(jPanel3Layout.createSequentialGroup()
.add(11, 11, 11)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(filenameRadio)
.add(ascRadio))
.add(18, 18, 18)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(lastRadio)
.add(descRadio))))
.addContainerGap(119, Short.MAX_VALUE))
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.CENTER)
.add(jLabel5)
.add(columnSpinner, 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(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel2)
.add(filenameRadio)
.add(lastRadio))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel3)
.add(ascRadio)
.add(descRadio))
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
.addContainerGap()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.addContainerGap()
.add(jPanel2, 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(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JRadioButton ascRadio;
private javax.swing.JButton baseDirBtn;
private javax.swing.JTextField baseDirFld;
private javax.swing.JSpinner columnSpinner;
private javax.swing.JRadioButton copyRadio;
private javax.swing.JRadioButton descRadio;
private javax.swing.JRadioButton filenameRadio;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JRadioButton lastRadio;
private javax.swing.JRadioButton moveRadio;
// End of variables declaration//GEN-END:variables
public javax.swing.JButton getBaseDirBtn() {
return baseDirBtn;
}
public javax.swing.JTextField getBaseDirFld() {
return baseDirFld;
}
public javax.swing.JSpinner getColumnSpinner() {
return columnSpinner;
}
public javax.swing.JRadioButton getAscRadio() {
return ascRadio;
}
public javax.swing.JRadioButton getCopyRadio() {
return copyRadio;
}
public javax.swing.JRadioButton getDescRadio() {
return descRadio;
}
public javax.swing.JRadioButton getFilenameRadio() {
return filenameRadio;
}
public javax.swing.JRadioButton getLastRadio() {
return lastRadio;
}
public javax.swing.JRadioButton getMoveRadio() {
return moveRadio;
}
}