pt.moredata.netbeans.modules.moredatatemplates.wizard
Class Wizard

java.lang.Object
  extended bypt.moredata.netbeans.modules.moredatatemplates.wizard.Wizard
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.beans.PropertyChangeListener, WizardInterface

public class Wizard
extends java.lang.Object
implements WizardInterface, java.awt.event.ActionListener, java.beans.PropertyChangeListener

The database form generation wizard entry class. This is part of the Moredata (http://www.moredata.pt) java development module. This is the class referenced in the mf-layer.xml

Author:
Sergio Ferreira

Field Summary
static java.lang.String applicationSaved
           
static java.lang.String bundleFormView
           
static java.lang.String bundleTableView
           
static java.lang.String bundleTextFieldView
           
static int COLUMN_PANEL
          Define the order panel where the columns are selected
static java.lang.String connectDialogTitle
           
static int CONNECTION_PANEL
          Define throws connection panel order
static java.lang.String creatingApplication
           
static int FINISH_PANEL
          Define the order of the finish panel
static java.lang.String generatingFiles
           
static java.lang.String openingApplication
           
static java.lang.String savingApplication
           
static int WELCOME_PANEL
          Define the welcome panel order
 
Constructor Summary
Wizard()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionevent)
          Executed when Action performed event ocurr.
 Data getData()
          Get a rerence to the Data oject that have all the information colected
 WizardPanel getPanel(int i)
          Get a panel by order, from the wizard array.
 void propertyChange(java.beans.PropertyChangeEvent propertychangeevent)
           
static org.openide.loaders.TemplateWizard.Iterator singleton()
          Executed to generate a singleton object by netbeans.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WELCOME_PANEL

public static final int WELCOME_PANEL
Define the welcome panel order

See Also:
Constant Field Values

CONNECTION_PANEL

public static final int CONNECTION_PANEL
Define throws connection panel order

See Also:
Constant Field Values

COLUMN_PANEL

public static final int COLUMN_PANEL
Define the order panel where the columns are selected

See Also:
Constant Field Values

FINISH_PANEL

public static final int FINISH_PANEL
Define the order of the finish panel

See Also:
Constant Field Values

creatingApplication

public static java.lang.String creatingApplication

generatingFiles

public static java.lang.String generatingFiles

openingApplication

public static java.lang.String openingApplication

savingApplication

public static java.lang.String savingApplication

applicationSaved

public static java.lang.String applicationSaved

bundleTableView

public static java.lang.String bundleTableView

bundleTextFieldView

public static java.lang.String bundleTextFieldView

bundleFormView

public static java.lang.String bundleFormView

connectDialogTitle

public static java.lang.String connectDialogTitle
Constructor Detail

Wizard

public Wizard()
Method Detail

getData

public Data getData()
Get a rerence to the Data oject that have all the information colected

Specified by:
getData in interface WizardInterface
Returns:
A reference to the information

singleton

public static org.openide.loaders.TemplateWizard.Iterator singleton()
Executed to generate a singleton object by netbeans. Executed when the wizard is instantiated by openide API. The wizard is instantiated whenever the New template is executed. The data object is instatated here.

Returns:
Description of the Return Value

getPanel

public WizardPanel getPanel(int i)
Get a panel by order, from the wizard array.

Specified by:
getPanel in interface WizardInterface
Parameters:
i - The order of the panel
Returns:
The panel value

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionevent)
Executed when Action performed event ocurr.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
actionevent - The event ocurred.

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent propertychangeevent)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Parameters:
propertychangeevent - Description of the Parameter