KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > javadoc > comments > EmptyTagPanel


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.javadoc.comments;
21
22 import org.openide.src.JavaDocTag;
23
24 /**
25  *
26  * @author
27  * @version
28  */

29 public class EmptyTagPanel extends TagPanel {
30
31     private static final String JavaDoc cardName = "CRD_EMPTY"; // NOI18N
32

33     static final long serialVersionUID =7707027689326548947L;
34     /** Initializes the Form */
35     public EmptyTagPanel( JavaDocEditorPanel editorPanel ) {
36         super( editorPanel );
37         initComponents ();
38         initAccessibility();
39     }
40
41     private void initAccessibility()
42     {
43         jLabel1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(EmptyTagPanel.class).getString("ACS_EmptyTagPanel.jLabel1.textA11yDesc")); // NOI18N
44
}
45
46     /** This method is called from within the constructor to
47      * initialize the form.
48      * WARNING: Do NOT modify this code. The content of this method is
49      * always regenerated by the FormEditor.
50      */

51     private void initComponents() {//GEN-BEGIN:initComponents
52
java.awt.GridBagConstraints JavaDoc gridBagConstraints;
53
54         jLabel1 = new javax.swing.JLabel JavaDoc();
55
56         setLayout(new java.awt.GridBagLayout JavaDoc());
57
58         jLabel1.setText(org.openide.util.NbBundle.getBundle(EmptyTagPanel.class).getString("CTL_EmptyTagPanel.jLabel1.text"));
59         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
60         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHEAST;
61         gridBagConstraints.insets = new java.awt.Insets JavaDoc(2, 2, 2, 1);
62         add(jLabel1, gridBagConstraints);
63
64     }//GEN-END:initComponents
65

66
67     // Variables declaration - do not modify//GEN-BEGIN:variables
68
private javax.swing.JLabel JavaDoc jLabel1;
69     // End of variables declaration//GEN-END:variables
70

71     void setData( JavaDocTag tag ) {
72     }
73
74     JavaDocTag getTag( String JavaDoc tagName ) {
75         return null;
76     }
77
78     String JavaDoc getCardName() {
79         return cardName;
80     }
81
82     void grabFirstFocus() {}
83
84 }
85
Popular Tags