Java Doc for WizardStep.java in  » Swing-Library » wizard-framework » org » pietschy » wizard » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » wizard framework » org.pietschy.wizard 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.pietschy.wizard.WizardStep

All known Subclasses:   org.pietschy.wizard.AbstractWizardStep,  org.pietschy.wizard.PanelWizardStep,
WizardStep
public interface WizardStep (Code)
All changes to properties must fire property change events.
author:
   andrewp
version:
   $Revision: 1.14 $


Field Summary
final static  String_ID_
    


Method Summary
 voidabortBusy()
     Called by the wizard if the user presses cancel while the step is in a WizardStep.isBusy busy state.
 voidaddPropertyChangeListener(PropertyChangeListener listener)
    
 voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
    
 voidapplyState()
     This method is called whenever the user presses next while this step is active.

If this method will take a long time to complete, subclasses should consider executing the work and a separate thread and displaying some kind of progress indicator.

This method will only be called if WizardModel.isNextAvailable and WizardStep.isComplete return true.
throws:
  InvalidStateException - if an error occurs and the wizard can't progress to the nextstep.

public  IcongetIcon()
     Gets the javax.swing.Icon that represents this step.
public  StringgetName()
     Gets the name of this step.
 DimensiongetPreferredSize()
     This method must return the maximum preferred size of this wizard step.
public  StringgetSummary()
     Gets the summary of this step.
public  ComponentgetView()
     Returns the current view this step is displaying.
 voidinit(WizardModel model)
     Called to initialize the step.
 booleanisBusy()
     Checks if the current task is busy.
 booleanisComplete()
     Checks if this step is compete.
 voidprepare()
     Called to prepare this step to display.
 voidremovePropertyChangeListener(PropertyChangeListener listener)
    
 voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
    

Field Detail
_ID_
final static String _ID_(Code)





Method Detail
abortBusy
void abortBusy()(Code)
Called by the wizard if the user presses cancel while the step is in a WizardStep.isBusy busy state. This method will be called after the user has confirmed the abort process and as such may be invoked after the step is no longer busy.



addPropertyChangeListener
void addPropertyChangeListener(PropertyChangeListener listener)(Code)



addPropertyChangeListener
void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)



applyState
void applyState() throws InvalidStateException(Code)
This method is called whenever the user presses next while this step is active.

If this method will take a long time to complete, subclasses should consider executing the work and a separate thread and displaying some kind of progress indicator.

This method will only be called if WizardModel.isNextAvailable and WizardStep.isComplete return true.
throws:
  InvalidStateException - if an error occurs and the wizard can't progress to the nextstep. By default the message of this exception will be displayed to the user. If you wish toprevent this behaviour please ensure InvalidStateException.setShowUser is called witha value of false.




getIcon
public Icon getIcon()(Code)
Gets the javax.swing.Icon that represents this step. the javax.swing.Icon that represents this step, or null if the stepdoesn't have an icon.



getName
public String getName()(Code)
Gets the name of this step. This will be displayed in the title of the wizard while this step is active. the name of this step.



getPreferredSize
Dimension getPreferredSize()(Code)
This method must return the maximum preferred size of this wizard step. This method will be called during wizard initialization to determine the correct size of the wizard. This method will be called after WizardStep.init . the preferred size of this step.



getSummary
public String getSummary()(Code)
Gets the summary of this step. This will be displayed in the title of the wizard while this step is active. The summary is typically an overview of the step or some usage guidelines for the user. the summary of this step.



getView
public Component getView()(Code)
Returns the current view this step is displaying. This component will be displayed in the main section of the wizard with this step is active. This may changed at any time by as long as an appropriate property change event is fired. the current view of the step.



init
void init(WizardModel model)(Code)
Called to initialize the step. This method will be called when the wizard is first initialising.
Parameters:
  model - the model to which the step belongs.



isBusy
boolean isBusy()(Code)
Checks if the current task is busy. This usually indicates that the step is performing a time consuming task on a background thread. true if step is busy performing a background operation, falseotherwise.
See Also:   WizardStep.abortBusy()



isComplete
boolean isComplete()(Code)
Checks if this step is compete. This method should return true if the wizard can proceed to the next step. true if the wizard can proceed from this step, false otherwise.



prepare
void prepare()(Code)
Called to prepare this step to display. Subclasses should query the model and configure their view appropriately.

This method will be called whenever the step is to be displayed, regardless of whether the user pressed next or previous.




removePropertyChangeListener
void removePropertyChangeListener(PropertyChangeListener listener)(Code)



removePropertyChangeListener
void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.