Java Doc for WizardModel.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.WizardModel

All known Subclasses:   org.pietschy.wizard.AbstractWizardModel,
WizardModel
public interface WizardModel (Code)
This interface defines the Model for wizards. It provides various methods for determining the steps of the wizard along with the current traversal state of the wizard. The Wizard monitors the model using a PropertyChangeListener so all changes to the model properties must fire PropertyChangeEvent s.

Most users should subclass either StaticModel or MultiPathModel . Implementors of more specialized models should consider extending AbstractWizardModel as it provides the basic methods and propery change management required by all models.





Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Adds a PropertyChangeListener to this model.
public  voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Adds a PropertyChangeListener to this model.
public  WizardStepgetActiveStep()
     Gets the current active step the wizard should display.
 booleanisCancelAvailable()
    
public  booleanisLastAvailable()
     Checks if the last button should be enabled.
public  booleanisLastStep(WizardStep step)
     Checks if the specified step is the last step in the wizard.
 booleanisLastVisible()
     Checks if the last button should be displayed.
public  booleanisNextAvailable()
     Checks if the next button should be enabled.
public  booleanisPreviousAvailable()
     Checks if the previous button should be enabled.
public  voidlastStep()
     Takes the model to the last step in the wizard and fires the appropriate property change events.
public  voidnextStep()
     Increments the model the the next step and fires the appropriate property change events.
public  voidpreviousStep()
     Takes the model back to the previsou step and fires the appropriate property change events.
public  voidrefreshModelState()
     Called to request the model to update it current state.
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Removes a PropertyChangeListener from this model.
public  voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Removes a PropertyChangeListener from this model.
public  voidreset()
     Takes the model back to the first step and fires the appropriate property change events.
public  IteratorstepIterator()
     Returns an iterator over all the steps in the model.



Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Adds a PropertyChangeListener to this model.
Parameters:
  listener - the listener to add.



addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Adds a PropertyChangeListener to this model.
Parameters:
  propertyName - the property to listen to.
Parameters:
  listener - the listener to add.



getActiveStep
public WizardStep getActiveStep()(Code)
Gets the current active step the wizard should display. the active step.



isCancelAvailable
boolean isCancelAvailable()(Code)



isLastAvailable
public boolean isLastAvailable()(Code)
Checks if the last button should be enabled. true if the last button should be enabled, false otherwise.
See Also:   WizardModel.isLastVisible



isLastStep
public boolean isLastStep(WizardStep step)(Code)
Checks if the specified step is the last step in the wizard.
Parameters:
  step - the step to check true if its the final step in the wizard, false otherwise.



isLastVisible
boolean isLastVisible()(Code)
Checks if the last button should be displayed. This method should only return true if the WizardModel.isLastAvailable will return true at any point. Returning false will prevent the last button from appearing on the wizard at all. true if the last button should be displayed, false otherwise.



isNextAvailable
public boolean isNextAvailable()(Code)
Checks if the next button should be enabled. true if the next button should be enabled, false otherwise.



isPreviousAvailable
public boolean isPreviousAvailable()(Code)
Checks if the previous button should be enabled. true if the previou button should be enabled, false otherwise.



lastStep
public void lastStep()(Code)
Takes the model to the last step in the wizard and fires the appropriate property change events. This method must only be called if WizardModel.isLastAvailable returns true.



nextStep
public void nextStep()(Code)
Increments the model the the next step and fires the appropriate property change events. This method must only be called if WizardModel.isNextAvailable returns true.



previousStep
public void previousStep()(Code)
Takes the model back to the previsou step and fires the appropriate property change events. This method must only be called if WizardModel.isPreviousAvailable returns true.



refreshModelState
public void refreshModelState()(Code)
Called to request the model to update it current state. This will be called when ever a step transition occurs but may also be called by the current WizardStep to force a refresh.



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Removes a PropertyChangeListener from this model.
Parameters:
  listener - the listener to remove.



removePropertyChangeListener
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Removes a PropertyChangeListener from this model.
Parameters:
  propertyName - the property to stop listening to.
Parameters:
  listener - the listener to remove.



reset
public void reset()(Code)
Takes the model back to the first step and fires the appropriate property change events.



stepIterator
public Iterator stepIterator()(Code)
Returns an iterator over all the steps in the model. The iteration order is not guarenteed to the be the order of traversal. an iterator over all the steps of the model



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