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


java.lang.Object
   org.pietschy.wizard.AbstractWizardModel

All known Subclasses:   org.pietschy.wizard.models.MultiPathModel,  org.pietschy.wizard.models.StaticModel,  org.pietschy.wizard.models.DynamicModel,
AbstractWizardModel
abstract public class AbstractWizardModel implements WizardModel(Code)
This class provides a base for implementors of WizardModel . It provides the basic PropertyChangeListener management and fires the appropriate events when the various properties are changed.

Subclasses will generally override AbstractWizardModel.refreshModelState to update the state of the various model properties.




Constructor Summary
public  AbstractWizardModel()
    

Method Summary
protected  voidaddCompleteListener(WizardStep step)
     Adds a listener to the "complete" property of the WizardStep .
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.
public  booleanisCancelAvailable()
    
public  booleanisLastAvailable()
     Checks if the last button should be enabled.
public  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  voidrefreshModelState()
     This is an empty method that is intended for subclasses to override to update their various properties based on the active step.
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Removes a PropertyChangeListener from this model.
public  voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Removes a PropertyChangeListener from this model.
protected  voidsetActiveStep(WizardStep activeStep)
     Provided for subclasses to change the current step in response to a call to AbstractWizardModel.nextStep or its related methods.
protected  voidsetCancelAvailable(boolean cancelAvailable)
     Configures if the cncel button should be enabled.
protected  voidsetLastAvailable(boolean lastAvailable)
     Configures if the last button should be enabled.
public  voidsetLastVisible(boolean lastVisible)
     Configures if the last button should be displayed.
protected  voidsetNextAvailable(boolean nextAvailable)
     Configures if the next button should be enabled.
protected  voidsetPreviousAvailable(boolean previousAvailable)
     Configures if the previous button should be enabled.


Constructor Detail
AbstractWizardModel
public AbstractWizardModel()(Code)




Method Detail
addCompleteListener
protected void addCompleteListener(WizardStep step)(Code)
Adds a listener to the "complete" property of the WizardStep . Any changes to this property will in automatically invoke AbstractWizardModel.refreshModelState() .
Parameters:
  step - the WizardStep to monitor.



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
public 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:   AbstractWizardModel.isLastVisible



isLastVisible
public boolean isLastVisible()(Code)
Checks if the last button should be displayed. This method should only return true if the AbstractWizardModel.isLastAvailable will return true at any point. Returning false will prevent the last button from appearing on the wizard at all. true if the previou last 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.



refreshModelState
public void refreshModelState()(Code)
This is an empty method that is intended for subclasses to override to update their various properties based on the active step.



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.



setActiveStep
protected void setActiveStep(WizardStep activeStep)(Code)
Provided for subclasses to change the current step in response to a call to AbstractWizardModel.nextStep or its related methods.
Parameters:
  activeStep - the new step.



setCancelAvailable
protected void setCancelAvailable(boolean cancelAvailable)(Code)
Configures if the cncel button should be enabled.
Parameters:
  cancelAvailable - true to enable the cancel button, false otherwise.



setLastAvailable
protected void setLastAvailable(boolean lastAvailable)(Code)
Configures if the last button should be enabled.
Parameters:
  lastAvailable - true to enable the last button, false otherwise.



setLastVisible
public void setLastVisible(boolean lastVisible)(Code)
Configures if the last button should be displayed.
Parameters:
  lastVisible - true to display the last button, false otherwise.
See Also:   AbstractWizardModel.isLastVisible



setNextAvailable
protected void setNextAvailable(boolean nextAvailable)(Code)
Configures if the next button should be enabled.
Parameters:
  nextAvailable - true to enable the next button, false otherwise.



setPreviousAvailable
protected void setPreviousAvailable(boolean previousAvailable)(Code)
Configures if the previous button should be enabled.
Parameters:
  previousAvailable - true to enable the previous button, false otherwise.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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