/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package open.dolphin.client; /** * * @author kazushi */ public class AttachmentOrInlineView extends javax.swing.JPanel { /** * Creates new form AttachmentOrInlineView */ public AttachmentOrInlineView() { 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. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); fileNameLbl = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); locationLbl = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); typeLbl = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); sizeLbl = new javax.swing.JLabel(); attachmentRadio = new javax.swing.JRadioButton(); inlineRadio = new javax.swing.JRadioButton(); jLabel10 = new javax.swing.JLabel(); titleFld = new javax.swing.JTextField(); jLabel9 = new javax.swing.JLabel(); lastModifiedLbl = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); digestLbl = new javax.swing.JLabel(); java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("open/dolphin/client/resources/AttachmentOrInlineView"); // NOI18N jLabel1.setText(bundle.getString("jLabel1.text")); // NOI18N jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel2.setText(bundle.getString("jLabel2.text")); // NOI18N fileNameLbl.setText("jLabel3"); jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel4.setText(bundle.getString("jLabel4.text")); // NOI18N locationLbl.setText("jLabel5"); jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel6.setText(bundle.getString("jLabel6.text")); // NOI18N typeLbl.setText("jLabel7"); jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel8.setText(bundle.getString("jLabel8.text")); // NOI18N sizeLbl.setText("jLabel9"); attachmentRadio.setText(bundle.getString("attachmentRadio.text")); // NOI18N inlineRadio.setText(bundle.getString("inlineRadio.text")); // NOI18N jLabel10.setText(bundle.getString("jLabel10.text")); // NOI18N titleFld.setText("jTextField1"); jLabel9.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel9.setText(bundle.getString("jLabel9.text")); // NOI18N lastModifiedLbl.setText("jLabel9"); jLabel11.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel11.setText(bundle.getString("jLabel11.text")); // NOI18N digestLbl.setText("jLabel9"); 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() .add(24, 24, 24) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel2) .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 61, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 76, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 76, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 76, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(org.jdesktop.layout.GroupLayout.TRAILING, jLabel11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 76, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(fileNameLbl, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 261, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(locationLbl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(typeLbl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(sizeLbl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(lastModifiedLbl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(digestLbl, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .add(layout.createSequentialGroup() .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .add(51, 51, 51) .add(attachmentRadio) .add(18, 18, 18) .add(inlineRadio)) .add(layout.createSequentialGroup() .add(jLabel10) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(titleFld, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 229, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(0, 0, Short.MAX_VALUE))) .addContainerGap(28, Short.MAX_VALUE)) .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup() .add(94, 94, 94) .add(jLabel1) .addContainerGap(73, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .add(14, 14, 14) .add(jLabel1) .add(18, 18, 18) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel2) .add(fileNameLbl)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(locationLbl) .add(jLabel4)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(typeLbl) .add(jLabel6)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel8) .add(sizeLbl)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel9) .add(lastModifiedLbl)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel11) .add(digestLbl)) .add(18, 18, 18) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(attachmentRadio) .add(inlineRadio)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(jLabel10) .add(titleFld, 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 attachmentRadio; private javax.swing.JLabel digestLbl; private javax.swing.JLabel fileNameLbl; private javax.swing.JRadioButton inlineRadio; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel10; private javax.swing.JLabel jLabel11; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel6; private javax.swing.JLabel jLabel8; private javax.swing.JLabel jLabel9; private javax.swing.JLabel lastModifiedLbl; private javax.swing.JLabel locationLbl; private javax.swing.JLabel sizeLbl; private javax.swing.JTextField titleFld; private javax.swing.JLabel typeLbl; // End of variables declaration//GEN-END:variables public javax.swing.JRadioButton getAttachmentRadio() { return attachmentRadio; } public javax.swing.JLabel getDigestLbl() { return digestLbl; } public javax.swing.JLabel getFileNameLbl() { return fileNameLbl; } public javax.swing.JRadioButton getInlineRadio() { return inlineRadio; } public javax.swing.JLabel getLastModifiedLbl() { return lastModifiedLbl; } public javax.swing.JLabel getLocationLbl() { return locationLbl; } public javax.swing.JLabel getSizeLbl() { return sizeLbl; } public javax.swing.JTextField getTitleFld() { return titleFld; } public javax.swing.JLabel getTypeLbl() { return typeLbl; } }