KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > jellytools > modules > xml > catalog > NbCatalogCustomizerDialogOperator


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  * NbCatalogCustomizerDialogDialogOperator.java
21  *
22  * Created on 11/13/03 4:22 PM
23  */

24 package org.netbeans.jellytools.modules.xml.catalog;
25
26 import org.netbeans.jemmy.operators.*;
27 import org.netbeans.jellytools.*;
28 import org.netbeans.jellytools.properties.PropertySheetOperator;
29
30 /** Class implementing all necessary methods for handling "Customizer Dialog" NbDialog.
31  *
32  * @author ms113234
33  * @version 1.0
34  */

35 public class NbCatalogCustomizerDialogOperator extends NbDialogOperator {
36
37     /** Creates new NbCatalogCustomizerDialogDialogOperator that can handle it.
38      */

39     public NbCatalogCustomizerDialogOperator() {
40         super("Customizer Dialog");
41     }
42
43     private JTextAreaOperator _txtSystemCatalogCustomizer$1;
44
45
46     //******************************
47
// Subcomponents definition part
48
//******************************
49

50     /** Tries to find null SystemCatalogCustomizer$1 in this dialog.
51      * @return JTextAreaOperator
52      */

53     public JTextAreaOperator txtSystemCatalogCustomizer$1() {
54         if (_txtSystemCatalogCustomizer$1==null) {
55             _txtSystemCatalogCustomizer$1 = new JTextAreaOperator(this);
56         }
57         return _txtSystemCatalogCustomizer$1;
58     }
59
60
61     //****************************************
62
// Low-level functionality definition part
63
//****************************************
64

65     /** gets text for txtSystemCatalogCustomizer$1
66      * @return String text
67      */

68     public String JavaDoc getSystemCatalogCustomizer$1() {
69         return txtSystemCatalogCustomizer$1().getText();
70     }
71
72     /** sets text for txtSystemCatalogCustomizer$1
73      * @param text String text
74      */

75     public void setSystemCatalogCustomizer$1(String JavaDoc text) {
76         txtSystemCatalogCustomizer$1().setText(text);
77     }
78
79     /** types text for txtSystemCatalogCustomizer$1
80      * @param text String text
81      */

82     public void typeSystemCatalogCustomizer$1(String JavaDoc text) {
83         txtSystemCatalogCustomizer$1().typeText(text);
84     }
85
86
87     //*****************************************
88
// High-level functionality definition part
89
//*****************************************
90

91     /** Performs verification of NbCatalogCustomizerDialogDialogOperator by accessing all its components.
92      */

93     public void verify() {
94         txtSystemCatalogCustomizer$1();
95     }
96
97     /** Performs simple test of NbCatalogCustomizerDialogDialogOperator
98     * @param args the command line arguments
99     */

100     public static void main(String JavaDoc args[]) {
101         new NbCatalogCustomizerDialogOperator().verify();
102         System.out.println("NbCatalogCustomizerDialogDialogOperator verification finished.");
103     }
104 }
105
106
Popular Tags