/*
* ConfigView.java
*
* Created on 2007/12/10, 18:50
*/
package open.dolphin.impl.img;
/**
*
* @author kazm
*/
public class UniteaConfigView extends javax.swing.JPanel {
/** Creates new form ConfigView */
public UniteaConfigView() {
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();
jLabel6 = new javax.swing.JLabel();
ascRadio = new javax.swing.JRadioButton();
descRadio = new javax.swing.JRadioButton();
jPanel4 = new javax.swing.JPanel();
jLabel7 = new javax.swing.JLabel();
clientFld = new javax.swing.JTextField();
serverFld = new javax.swing.JTextField();
jLabel3 = new javax.swing.JLabel();
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("画像・PDF文書の場所"));
jLabel4.setText("ベースディレクトリ:");
baseDirBtn.setText("設定...");
jLabel1.setText("ファイル Drop 動作:");
copyRadio.setText("コピー");
moveRadio.setText("移動");
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.TRAILING)
.add(jLabel1)
.add(jLabel4))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.add(6, 6, 6)
.add(copyRadio)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(moveRadio))
.add(baseDirFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 218, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(32, 32, 32)
.add(baseDirBtn)
.addContainerGap(17, Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE, false)
.add(jLabel4)
.add(baseDirFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 28, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(baseDirBtn))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.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("表示"));
jLabel5.setText("画像テーブルのカラム数:");
columnSpinner.setModel(new javax.swing.SpinnerNumberModel(5, 1, 10, 1));
jLabel2.setText("ソート項目:");
filenameRadio.setText("ファイル名");
lastRadio.setText("最終更新日");
jLabel6.setText("ソート順:");
ascRadio.setText("昇順");
descRadio.setText("降順");
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, jLabel6))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(ascRadio)
.add(filenameRadio)
.add(columnSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
.add(18, 18, 18)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(descRadio)
.add(lastRadio))
.addContainerGap(111, 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(filenameRadio)
.add(lastRadio)
.add(jLabel2))
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 12, Short.MAX_VALUE)
.add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(ascRadio)
.add(descRadio))
.addContainerGap())
.add(jPanel3Layout.createSequentialGroup()
.addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
.add(jLabel6)
.addContainerGap())))
);
jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder("Unitea"));
jLabel7.setText("Unitea Client:");
serverFld.setToolTipText("DICOM画像を表示するアプリケーションを示します。");
jLabel3.setText("Unitea Server:");
org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(jLabel7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(jLabel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(serverFld)
.add(clientFld, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE))
.addContainerGap(118, Short.MAX_VALUE))
);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 28, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(serverFld, 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(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel7)
.add(clientFld, 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))
);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.addContainerGap()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 512, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3, 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, 104, 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)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel4, 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.JTextField clientFld;
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.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JRadioButton lastRadio;
private javax.swing.JRadioButton moveRadio;
private javax.swing.JTextField serverFld;
// End of variables declaration//GEN-END:variables
public javax.swing.JTextField getServerFld() {
return serverFld;
}
// public javax.swing.JButton getJpegBtn() {
// return jpegBtn;
// }
//
// public javax.swing.JTextField getJpegFld() {
// return jpegFld;
// }
//
// public javax.swing.JButton getPdfBtn() {
// return pdfBtn;
// }
//
// public javax.swing.JTextField getPdfFld() {
// return pdfFld;
// }
public javax.swing.JButton getBaseDirBtn() {
return baseDirBtn;
}
public javax.swing.JTextField getBaseDirFld() {
return baseDirFld;
}
public javax.swing.JSpinner getColumnSpinner() {
return columnSpinner;
}
public javax.swing.JTextField getClientFld() {
return clientFld;
}
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;
}
// public javax.swing.JTextField getBrowserFld() {
// return browserFld;
// }
//
// public javax.swing.JButton getBrowserBtn() {
// return browserBtn;
// }
}