KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > tool > common > wizard > TBWizardPanel


1
2 /*
3  * Enhydra Java Application Server Project
4  *
5  * The contents of this file are subject to the Enhydra Public License
6  * Version 1.1 (the "License"); you may not use this file except in
7  * compliance with the License. You may obtain a copy of the License on
8  * the Enhydra web site ( http://www.enhydra.org/ ).
9  *
10  * Software distributed under the License is distributed on an "AS IS"
11  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
12  * the License for the specific terms governing rights and limitations
13  * under the License.
14  *
15  * The Initial Developer of the Enhydra Application Server is Lutris
16  * Technologies, Inc. The Enhydra Application Server and portions created
17  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
18  * All Rights Reserved.
19  *
20  * Contributor(s):
21  * Paul Mahar
22  *
23  */

24 package org.enhydra.tool.common.wizard;
25
26 // Standard imports
27
import javax.swing.JPanel JavaDoc;
28 import java.io.File JavaDoc;
29
30 /**
31  * This class defines the type of panel you can add to an
32  * OpenTool's BasicWizardPage or an CodeGenPage. Do to limitations
33  * in the JBuilder UI designer, this class and some of it's methods
34  * are not left as abstract.
35  */

36 public class TBWizardPanel extends JPanel JavaDoc {
37
38     /**
39      * Create an ToolBoxWizardPanel for use in an OpenTool BasicWizardPage
40      * or an ToolBoxWizardPage.
41      */

42     public TBWizardPanel() {}
43
44     /**
45      * Get the title to use on the current page. Override this
46      * to set a custom title.
47      *
48      * @return
49      * A string to place at the top of a CodeGen wizard panel.
50      */

51     public String JavaDoc getPageTitle() {
52         return "PAGE TITLE"; // nores
53
}
54
55     /**
56      * Get the instructions for entering option values for the
57      * current page. Override this to set instructions.
58      *
59      * @return
60      * A string to place below the page title. The string will
61      * wrap if too wide to fit in text control.
62      */

63     public String JavaDoc getInstructions() {
64         return new String JavaDoc();
65     }
66
67 }
68
Popular Tags