001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.modules.j2ee.ejbjarproject.ui.customizer;
043:
044: import javax.swing.JPanel;
045: import org.openide.util.HelpCtx;
046:
047: /** Customizer for general project attributes.
048: *
049: * @author phrebejk
050: */
051: public class CustomizerJavadoc extends JPanel implements
052: HelpCtx.Provider {
053: private static final long serialVersionUID = 89225961122255887L;
054:
055: private EjbJarProjectProperties j2seProperties = null;
056:
057: public CustomizerJavadoc(EjbJarProjectProperties uiProperties) {
058: initComponents();
059:
060: uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic(jCheckBoxPrivate
061: .getMnemonic());
062: jCheckBoxPrivate.setModel(uiProperties.JAVADOC_PRIVATE_MODEL);
063: uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic(jCheckBoxTree
064: .getMnemonic());
065: jCheckBoxTree.setModel(uiProperties.JAVADOC_NO_TREE_MODEL);
066: uiProperties.JAVADOC_USE_MODEL.setMnemonic(jCheckBoxUsages
067: .getMnemonic());
068: jCheckBoxUsages.setModel(uiProperties.JAVADOC_USE_MODEL);
069: uiProperties.JAVADOC_NO_NAVBAR_MODEL
070: .setMnemonic(jCheckBoxNavigation.getMnemonic());
071: jCheckBoxNavigation
072: .setModel(uiProperties.JAVADOC_NO_NAVBAR_MODEL);
073: uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic(jCheckBoxIndex
074: .getMnemonic());
075: jCheckBoxIndex.setModel(uiProperties.JAVADOC_NO_INDEX_MODEL);
076: uiProperties.JAVADOC_SPLIT_INDEX_MODEL
077: .setMnemonic(jCheckBoxSplitIndex.getMnemonic());
078: jCheckBoxSplitIndex
079: .setModel(uiProperties.JAVADOC_SPLIT_INDEX_MODEL);
080: uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic(jCheckBoxAuthor
081: .getMnemonic());
082: jCheckBoxAuthor.setModel(uiProperties.JAVADOC_AUTHOR_MODEL);
083: uiProperties.JAVADOC_VERSION_MODEL.setMnemonic(jCheckBoxVersion
084: .getMnemonic());
085: jCheckBoxVersion.setModel(uiProperties.JAVADOC_VERSION_MODEL);
086: jTextFieldWinTitle
087: .setDocument(uiProperties.JAVADOC_WINDOW_TITLE_MODEL);
088: uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic(jCheckBoxPreview
089: .getMnemonic());
090: jCheckBoxPreview.setModel(uiProperties.JAVADOC_PREVIEW_MODEL);
091: jTextFieldAddOptions
092: .setDocument(uiProperties.JAVADOC_ADDITIONALPARAM_MODEL);
093:
094: reenableSplitIndex(null);
095:
096: // XXX Temporarily removing some controls
097:
098: remove(jLabelPackage);
099: remove(jTextFieldPackage);
100: remove(jButtonPackage);
101: remove(jCheckBoxSubpackages);
102: jPanel1.remove(jLabelEncoding);
103: jPanel1.remove(jTextFieldEncoding);
104: }
105:
106: public HelpCtx getHelpCtx() {
107: return new HelpCtx(CustomizerJavadoc.class);
108: }
109:
110: /** This method is called from within the constructor to
111: * initialize the form.
112: * WARNING: Do NOT modify this code. The content of this method is
113: * always regenerated by the Form Editor.
114: */
115: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
116: private void initComponents() {
117: java.awt.GridBagConstraints gridBagConstraints;
118:
119: jLabelPackage = new javax.swing.JLabel();
120: jTextFieldPackage = new javax.swing.JTextField();
121: jButtonPackage = new javax.swing.JButton();
122: jCheckBoxSubpackages = new javax.swing.JCheckBox();
123: jCheckBoxPrivate = new javax.swing.JCheckBox();
124: jLabelGenerate = new javax.swing.JLabel();
125: jCheckBoxTree = new javax.swing.JCheckBox();
126: jCheckBoxUsages = new javax.swing.JCheckBox();
127: jCheckBoxNavigation = new javax.swing.JCheckBox();
128: jCheckBoxIndex = new javax.swing.JCheckBox();
129: jCheckBoxSplitIndex = new javax.swing.JCheckBox();
130: jLabelTags = new javax.swing.JLabel();
131: jCheckBoxAuthor = new javax.swing.JCheckBox();
132: jCheckBoxVersion = new javax.swing.JCheckBox();
133: jPanel1 = new javax.swing.JPanel();
134: jLabelWinTitle = new javax.swing.JLabel();
135: jTextFieldWinTitle = new javax.swing.JTextField();
136: jLabelEncoding = new javax.swing.JLabel();
137: jTextFieldEncoding = new javax.swing.JTextField();
138: jPanel2 = new javax.swing.JPanel();
139: jLabelAddOptions = new javax.swing.JLabel();
140: jTextFieldAddOptions = new javax.swing.JTextField();
141: jLabelAddOptionsInfo = new javax.swing.JLabel();
142: jCheckBoxPreview = new javax.swing.JCheckBox();
143:
144: setLayout(new java.awt.GridBagLayout());
145:
146: jLabelPackage.setLabelFor(jTextFieldPackage);
147: org.openide.awt.Mnemonics.setLocalizedText(jLabelPackage,
148: org.openide.util.NbBundle.getMessage(
149: CustomizerJavadoc.class,
150: "LBL_CustomizeJavadoc_Package_JLabel"));
151: gridBagConstraints = new java.awt.GridBagConstraints();
152: gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
153: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 12);
154: add(jLabelPackage, gridBagConstraints);
155:
156: gridBagConstraints = new java.awt.GridBagConstraints();
157: gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
158: gridBagConstraints.weightx = 1.0;
159: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 6);
160: add(jTextFieldPackage, gridBagConstraints);
161: jTextFieldPackage.getAccessibleContext()
162: .setAccessibleDescription(
163: org.openide.util.NbBundle.getBundle(
164: CustomizerJavadoc.class).getString(
165: "AD_jTextFieldPackage"));
166:
167: org.openide.awt.Mnemonics.setLocalizedText(jButtonPackage,
168: org.openide.util.NbBundle.getMessage(
169: CustomizerJavadoc.class,
170: "LBL_CustomizeJavadoc_Package_JButton"));
171: gridBagConstraints = new java.awt.GridBagConstraints();
172: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
173: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
174: add(jButtonPackage, gridBagConstraints);
175: jButtonPackage.getAccessibleContext().setAccessibleDescription(
176: org.openide.util.NbBundle.getBundle(
177: CustomizerJavadoc.class).getString(
178: "AD_jButtonPackage"));
179:
180: org.openide.awt.Mnemonics.setLocalizedText(
181: jCheckBoxSubpackages,
182: org.openide.util.NbBundle.getMessage(
183: CustomizerJavadoc.class,
184: "LBL_CustomizeJavadoc_Subpackages_JCheckBox"));
185: jCheckBoxSubpackages.setMargin(new java.awt.Insets(0, 0, 0, 2));
186: gridBagConstraints = new java.awt.GridBagConstraints();
187: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
188: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
189: gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
190: add(jCheckBoxSubpackages, gridBagConstraints);
191: jCheckBoxSubpackages.getAccessibleContext()
192: .setAccessibleDescription(
193: org.openide.util.NbBundle.getBundle(
194: CustomizerJavadoc.class).getString(
195: "AD_jCheckBoxSubpackages"));
196:
197: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPrivate,
198: org.openide.util.NbBundle.getMessage(
199: CustomizerJavadoc.class,
200: "LBL_CustomizeJavadoc_Private_JCheckBox"));
201: jCheckBoxPrivate.setMargin(new java.awt.Insets(0, 0, 0, 2));
202: gridBagConstraints = new java.awt.GridBagConstraints();
203: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
204: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
205: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
206: add(jCheckBoxPrivate, gridBagConstraints);
207: jCheckBoxPrivate.getAccessibleContext()
208: .setAccessibleDescription(
209: org.openide.util.NbBundle.getBundle(
210: CustomizerJavadoc.class).getString(
211: "AD_jCheckBoxPrivate"));
212:
213: org.openide.awt.Mnemonics.setLocalizedText(jLabelGenerate,
214: org.openide.util.NbBundle.getMessage(
215: CustomizerJavadoc.class,
216: "LBL_CustomizeJavadoc_Generate_JLabel"));
217: gridBagConstraints = new java.awt.GridBagConstraints();
218: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
219: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
220: gridBagConstraints.insets = new java.awt.Insets(0, 0, 2, 0);
221: add(jLabelGenerate, gridBagConstraints);
222: jLabelGenerate.getAccessibleContext().setAccessibleDescription(
223: org.openide.util.NbBundle.getBundle(
224: CustomizerJavadoc.class).getString(
225: "AD_jLabelGenerate"));
226:
227: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxTree,
228: org.openide.util.NbBundle.getMessage(
229: CustomizerJavadoc.class,
230: "LBL_CustomizeJavadoc_Tree_JCheckBox"));
231: jCheckBoxTree.setMargin(new java.awt.Insets(0, 0, 0, 2));
232: gridBagConstraints = new java.awt.GridBagConstraints();
233: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
234: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
235: gridBagConstraints.insets = new java.awt.Insets(0, 20, 5, 0);
236: add(jCheckBoxTree, gridBagConstraints);
237: jCheckBoxTree.getAccessibleContext().setAccessibleDescription(
238: org.openide.util.NbBundle.getBundle(
239: CustomizerJavadoc.class).getString(
240: "AD_jCheckBoxTree"));
241:
242: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxUsages,
243: org.openide.util.NbBundle.getMessage(
244: CustomizerJavadoc.class,
245: "LBL_CustomizeJavadoc_Usages_JCheckBox"));
246: jCheckBoxUsages.setMargin(new java.awt.Insets(0, 0, 0, 2));
247: gridBagConstraints = new java.awt.GridBagConstraints();
248: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
249: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
250: gridBagConstraints.insets = new java.awt.Insets(0, 20, 5, 0);
251: add(jCheckBoxUsages, gridBagConstraints);
252: jCheckBoxUsages.getAccessibleContext()
253: .setAccessibleDescription(
254: org.openide.util.NbBundle.getBundle(
255: CustomizerJavadoc.class).getString(
256: "AD_jCheckBoxUsages"));
257:
258: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxNavigation,
259: org.openide.util.NbBundle.getMessage(
260: CustomizerJavadoc.class,
261: "LBL_CustomizeJavadoc_Navigation_JCheckBox"));
262: jCheckBoxNavigation.setMargin(new java.awt.Insets(0, 0, 0, 2));
263: gridBagConstraints = new java.awt.GridBagConstraints();
264: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
265: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
266: gridBagConstraints.insets = new java.awt.Insets(0, 20, 5, 0);
267: add(jCheckBoxNavigation, gridBagConstraints);
268: jCheckBoxNavigation.getAccessibleContext()
269: .setAccessibleDescription(
270: org.openide.util.NbBundle.getBundle(
271: CustomizerJavadoc.class).getString(
272: "AD_jCheckBoxNavigation"));
273:
274: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxIndex,
275: org.openide.util.NbBundle.getMessage(
276: CustomizerJavadoc.class,
277: "LBL_CustomizeJavadoc_Index_JCheckBox"));
278: jCheckBoxIndex.setMargin(new java.awt.Insets(0, 0, 0, 2));
279: jCheckBoxIndex
280: .addActionListener(new java.awt.event.ActionListener() {
281: public void actionPerformed(
282: java.awt.event.ActionEvent evt) {
283: reenableSplitIndex(evt);
284: }
285: });
286:
287: gridBagConstraints = new java.awt.GridBagConstraints();
288: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
289: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
290: gridBagConstraints.insets = new java.awt.Insets(0, 20, 5, 0);
291: add(jCheckBoxIndex, gridBagConstraints);
292: jCheckBoxIndex.getAccessibleContext().setAccessibleDescription(
293: org.openide.util.NbBundle.getBundle(
294: CustomizerJavadoc.class).getString(
295: "AD_jCheckBoxIndex"));
296:
297: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxSplitIndex,
298: org.openide.util.NbBundle.getMessage(
299: CustomizerJavadoc.class,
300: "LBL_CustomizeJavadoc_SplitIndex_JCheckBox"));
301: jCheckBoxSplitIndex.setMargin(new java.awt.Insets(0, 0, 0, 2));
302: gridBagConstraints = new java.awt.GridBagConstraints();
303: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
304: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
305: gridBagConstraints.insets = new java.awt.Insets(0, 40, 12, 0);
306: add(jCheckBoxSplitIndex, gridBagConstraints);
307: jCheckBoxSplitIndex.getAccessibleContext()
308: .setAccessibleDescription(
309: org.openide.util.NbBundle.getBundle(
310: CustomizerJavadoc.class).getString(
311: "AD_jCheckBoxSplitIndex"));
312:
313: org.openide.awt.Mnemonics.setLocalizedText(jLabelTags,
314: org.openide.util.NbBundle.getMessage(
315: CustomizerJavadoc.class,
316: "LBL_CustomizeJavadoc_Tags_JLabel"));
317: gridBagConstraints = new java.awt.GridBagConstraints();
318: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
319: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
320: gridBagConstraints.insets = new java.awt.Insets(0, 0, 2, 0);
321: add(jLabelTags, gridBagConstraints);
322: jLabelTags.getAccessibleContext().setAccessibleDescription(
323: org.openide.util.NbBundle.getBundle(
324: CustomizerJavadoc.class).getString(
325: "AD_jLabelTags"));
326:
327: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxAuthor,
328: org.openide.util.NbBundle.getMessage(
329: CustomizerJavadoc.class,
330: "LBL_CustomizeJavadoc_Author_JCheckBox"));
331: jCheckBoxAuthor.setMargin(new java.awt.Insets(0, 0, 0, 2));
332: gridBagConstraints = new java.awt.GridBagConstraints();
333: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
334: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
335: gridBagConstraints.insets = new java.awt.Insets(0, 20, 5, 0);
336: add(jCheckBoxAuthor, gridBagConstraints);
337: jCheckBoxAuthor.getAccessibleContext()
338: .setAccessibleDescription(
339: org.openide.util.NbBundle.getBundle(
340: CustomizerJavadoc.class).getString(
341: "AD_jCheckBoxAuthor"));
342:
343: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxVersion,
344: org.openide.util.NbBundle.getMessage(
345: CustomizerJavadoc.class,
346: "LBL_CustomizeJavadoc_Version_JCheckBox"));
347: jCheckBoxVersion.setMargin(new java.awt.Insets(0, 0, 0, 2));
348: gridBagConstraints = new java.awt.GridBagConstraints();
349: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
350: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
351: gridBagConstraints.insets = new java.awt.Insets(0, 20, 12, 0);
352: add(jCheckBoxVersion, gridBagConstraints);
353: jCheckBoxVersion.getAccessibleContext()
354: .setAccessibleDescription(
355: org.openide.util.NbBundle.getBundle(
356: CustomizerJavadoc.class).getString(
357: "AD_jCheckBoxVersion"));
358:
359: jPanel1.setLayout(new java.awt.GridBagLayout());
360:
361: jLabelWinTitle.setLabelFor(jTextFieldWinTitle);
362: org.openide.awt.Mnemonics.setLocalizedText(jLabelWinTitle,
363: org.openide.util.NbBundle.getMessage(
364: CustomizerJavadoc.class,
365: "LBL_CustomizeJavadoc_WinTitle_JLabel"));
366: gridBagConstraints = new java.awt.GridBagConstraints();
367: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
368: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 6);
369: jPanel1.add(jLabelWinTitle, gridBagConstraints);
370:
371: gridBagConstraints = new java.awt.GridBagConstraints();
372: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
373: gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
374: gridBagConstraints.weightx = 1.0;
375: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
376: jPanel1.add(jTextFieldWinTitle, gridBagConstraints);
377: jTextFieldWinTitle.getAccessibleContext()
378: .setAccessibleDescription(
379: org.openide.util.NbBundle.getBundle(
380: CustomizerJavadoc.class).getString(
381: "AD_jTextFieldWinTitle"));
382:
383: org.openide.awt.Mnemonics.setLocalizedText(jLabelEncoding,
384: org.openide.util.NbBundle.getMessage(
385: CustomizerJavadoc.class,
386: "LBL_CustomizeJavadoc_Encoding_JLabel"));
387: jLabelEncoding.setLabelFor(jTextFieldEncoding);
388: gridBagConstraints = new java.awt.GridBagConstraints();
389: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
390: gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6);
391: jPanel1.add(jLabelEncoding, gridBagConstraints);
392:
393: jTextFieldEncoding.setMinimumSize(new java.awt.Dimension(150,
394: 22));
395: jTextFieldEncoding.setPreferredSize(new java.awt.Dimension(150,
396: 22));
397: gridBagConstraints = new java.awt.GridBagConstraints();
398: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
399: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
400: gridBagConstraints.weightx = 1.0;
401: jPanel1.add(jTextFieldEncoding, gridBagConstraints);
402: jTextFieldEncoding.getAccessibleContext()
403: .setAccessibleDescription(
404: org.openide.util.NbBundle.getBundle(
405: CustomizerJavadoc.class).getString(
406: "AD_jTextFieldEncoding"));
407:
408: gridBagConstraints = new java.awt.GridBagConstraints();
409: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
410: gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
411: gridBagConstraints.weightx = 1.0;
412: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
413: add(jPanel1, gridBagConstraints);
414:
415: jPanel2.setLayout(new java.awt.GridBagLayout());
416:
417: jLabelAddOptions.setLabelFor(jTextFieldAddOptions);
418: org.openide.awt.Mnemonics.setLocalizedText(jLabelAddOptions,
419: org.openide.util.NbBundle.getMessage(
420: CustomizerJavadoc.class,
421: "LBL_CustomizeJavadoc_AddOptions_JLabel"));
422: gridBagConstraints = new java.awt.GridBagConstraints();
423: gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
424: jPanel2.add(jLabelAddOptions, gridBagConstraints);
425:
426: gridBagConstraints = new java.awt.GridBagConstraints();
427: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
428: gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
429: gridBagConstraints.weightx = 1.0;
430: gridBagConstraints.insets = new java.awt.Insets(0, 6, 0, 0);
431: jPanel2.add(jTextFieldAddOptions, gridBagConstraints);
432:
433: org.openide.awt.Mnemonics.setLocalizedText(
434: jLabelAddOptionsInfo,
435: org.openide.util.NbBundle.getMessage(
436: CustomizerJavadoc.class,
437: "LBL_CustomizeJavadoc_AddOptionsInfo_JLabel"));
438: gridBagConstraints = new java.awt.GridBagConstraints();
439: gridBagConstraints.gridx = 1;
440: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
441: gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
442: gridBagConstraints.weightx = 1.0;
443: gridBagConstraints.insets = new java.awt.Insets(6, 6, 0, 0);
444: jPanel2.add(jLabelAddOptionsInfo, gridBagConstraints);
445:
446: gridBagConstraints = new java.awt.GridBagConstraints();
447: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
448: gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
449: gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
450: add(jPanel2, gridBagConstraints);
451:
452: org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPreview,
453: org.openide.util.NbBundle.getMessage(
454: CustomizerJavadoc.class,
455: "LBL_CustomizeJavadoc_Preview_JCheckBox"));
456: jCheckBoxPreview.setMargin(new java.awt.Insets(0, 0, 0, 2));
457: gridBagConstraints = new java.awt.GridBagConstraints();
458: gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
459: gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
460: gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
461: gridBagConstraints.weighty = 1.0;
462: add(jCheckBoxPreview, gridBagConstraints);
463: jCheckBoxPreview.getAccessibleContext()
464: .setAccessibleDescription(
465: org.openide.util.NbBundle.getBundle(
466: CustomizerJavadoc.class).getString(
467: "AD_jCheckBoxPreview"));
468:
469: }
470:
471: // </editor-fold>//GEN-END:initComponents
472:
473: private void reenableSplitIndex(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_reenableSplitIndex
474: jCheckBoxSplitIndex.setEnabled(jCheckBoxIndex.isSelected());
475: }//GEN-LAST:event_reenableSplitIndex
476:
477: // Variables declaration - do not modify//GEN-BEGIN:variables
478: private javax.swing.JButton jButtonPackage;
479: private javax.swing.JCheckBox jCheckBoxAuthor;
480: private javax.swing.JCheckBox jCheckBoxIndex;
481: private javax.swing.JCheckBox jCheckBoxNavigation;
482: private javax.swing.JCheckBox jCheckBoxPreview;
483: private javax.swing.JCheckBox jCheckBoxPrivate;
484: private javax.swing.JCheckBox jCheckBoxSplitIndex;
485: private javax.swing.JCheckBox jCheckBoxSubpackages;
486: private javax.swing.JCheckBox jCheckBoxTree;
487: private javax.swing.JCheckBox jCheckBoxUsages;
488: private javax.swing.JCheckBox jCheckBoxVersion;
489: private javax.swing.JLabel jLabelAddOptions;
490: private javax.swing.JLabel jLabelAddOptionsInfo;
491: private javax.swing.JLabel jLabelEncoding;
492: private javax.swing.JLabel jLabelGenerate;
493: private javax.swing.JLabel jLabelPackage;
494: private javax.swing.JLabel jLabelTags;
495: private javax.swing.JLabel jLabelWinTitle;
496: private javax.swing.JPanel jPanel1;
497: private javax.swing.JPanel jPanel2;
498: private javax.swing.JTextField jTextFieldAddOptions;
499: private javax.swing.JTextField jTextFieldEncoding;
500: private javax.swing.JTextField jTextFieldPackage;
501: private javax.swing.JTextField jTextFieldWinTitle;
502: // End of variables declaration//GEN-END:variables
503:
504: }
|