pt.moredata.wizard
Class SimpleWizard

java.lang.Object
  extended bypt.moredata.wizard.SimpleWizard
All Implemented Interfaces:
Wizard

public class SimpleWizard
extends java.lang.Object
implements Wizard

SimpleWizard.java Classe mãe (base) para construção de wizards
Toda a interacção do programador com os wizards é por intermédio desta classe e da classe relativa a cada acção.
Funciona com base no modelo MVC Company MoreData

Version:
$Revision: 1.5 $
Author:
pcarmo

Field Summary
 
Fields inherited from interface pt.moredata.wizard.Wizard
CANCEL, FINISH
 
Constructor Summary
SimpleWizard(java.awt.Frame parent)
           
 
Method Summary
 boolean isModal()
          Indicates whether the dialog is modal.
 void setActions(int actionOrder, WizardAction action)
          Afecta a acção na ordem pretendida
 void setActions(WizardAction action)
          Afecta a acção na ordem pretendida
 void setModal(boolean b)
          Specifies whether this dialog should be modal.
 void setParent(java.awt.Component parent)
          Setter for property parent.
 void setTitle(java.lang.String title)
          Altera o nome da janela do wizard.
 int showWizard()
          Mostra o wizard para que o utilizador inicie a sua interacção e fiaca a espera de uma resposta.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleWizard

public SimpleWizard(java.awt.Frame parent)
Method Detail

setActions

public void setActions(int actionOrder,
                       WizardAction action)
Afecta a acção na ordem pretendida

Specified by:
setActions in interface Wizard

setActions

public void setActions(WizardAction action)
Afecta a acção na ordem pretendida

Specified by:
setActions in interface Wizard

showWizard

public int showWizard()
Mostra o wizard para que o utilizador inicie a sua interacção e fiaca a espera de uma resposta.

Specified by:
showWizard in interface Wizard

setTitle

public void setTitle(java.lang.String title)
Altera o nome da janela do wizard.

Specified by:
setTitle in interface Wizard
Parameters:
title - O novo titulo da janela do wizard.

setParent

public void setParent(java.awt.Component parent)
Setter for property parent.

Specified by:
setParent in interface Wizard
Parameters:
parent - New value of property parent.

isModal

public boolean isModal()
Indicates whether the dialog is modal. When a modal Dialog is made visible, user input will be blocked to the other windows in the application, except for any windows created with this dialog as their owner.

Returns:
true if this dialog window is modal; false otherwise.

setModal

public void setModal(boolean b)
Specifies whether this dialog should be modal.