Java Doc for IWizard.java in  » IDE-Eclipse » jface » org » eclipse » jface » 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 » IDE Eclipse » jface » org.eclipse.jface.wizard 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.jface.wizard.IWizard

All known Subclasses:   org.eclipse.jface.wizard.Wizard,
IWizard
public interface IWizard (Code)
Interface for a wizard. A wizard maintains a list of wizard pages, stacked on top of each other in card layout fashion.

The class Wizard provides an abstract implementation of this interface. However, clients are also free to implement this interface if Wizard does not suit their needs.


See Also:   Wizard




Method Summary
public  voidaddPages()
     Adds any last-minute pages to this wizard.
public  booleancanFinish()
     Returns whether this wizard could be finished without further user interaction.
public  voidcreatePageControls(Composite pageContainer)
     Creates this wizard's controls in the given parent control.

The wizard container calls this method to create the controls for the wizard's pages before the wizard is opened.

public  voiddispose()
     Disposes of this wizard and frees all SWT resources.
public  IWizardContainergetContainer()
     Returns the container of this wizard.
public  ImagegetDefaultPageImage()
     Returns the default page image for this wizard.
public  IDialogSettingsgetDialogSettings()
     Returns the dialog settings for this wizard.
public  IWizardPagegetNextPage(IWizardPage page)
     Returns the successor of the given page.
public  IWizardPagegetPage(String pageName)
     Returns the wizard page with the given name belonging to this wizard.
public  intgetPageCount()
     Returns the number of pages in this wizard.
public  IWizardPage[]getPages()
     Returns all the pages in this wizard.
public  IWizardPagegetPreviousPage(IWizardPage page)
     Returns the predecessor of the given page.
public  IWizardPagegetStartingPage()
     Returns the first page to be shown in this wizard.
public  RGBgetTitleBarColor()
     Returns the title bar color for this wizard.
public  StringgetWindowTitle()
     Returns the window title string for this wizard.
public  booleanisHelpAvailable()
     Returns whether help is available for this wizard.
public  booleanneedsPreviousAndNextButtons()
     Returns whether this wizard needs Previous and Next buttons.
public  booleanneedsProgressMonitor()
     Returns whether this wizard needs a progress monitor.
public  booleanperformCancel()
     Performs any actions appropriate in response to the user having pressed the Cancel button, or refuse if canceling now is not permitted.
public  booleanperformFinish()
     Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted. Normally this method is only called on the container's current wizard.
public  voidsetContainer(IWizardContainer wizardContainer)
     Sets or clears the container of this wizard.



Method Detail
addPages
public void addPages()(Code)
Adds any last-minute pages to this wizard.

This method is called just before the wizard becomes visible, to give the wizard the opportunity to add any lazily created pages.




canFinish
public boolean canFinish()(Code)
Returns whether this wizard could be finished without further user interaction.

The result of this method is typically used by the wizard container to enable or disable the Finish button.

true if the wizard could be finished,and false otherwise



createPageControls
public void createPageControls(Composite pageContainer)(Code)
Creates this wizard's controls in the given parent control.

The wizard container calls this method to create the controls for the wizard's pages before the wizard is opened. This allows the wizard to size correctly; otherwise a resize may occur when moving to a new page.


Parameters:
  pageContainer - the parent control



dispose
public void dispose()(Code)
Disposes of this wizard and frees all SWT resources.



getContainer
public IWizardContainer getContainer()(Code)
Returns the container of this wizard. the wizard container, or null if thiswizard has yet to be added to a container



getDefaultPageImage
public Image getDefaultPageImage()(Code)
Returns the default page image for this wizard.

This image can be used for pages which do not supply their own image.

the default page image



getDialogSettings
public IDialogSettings getDialogSettings()(Code)
Returns the dialog settings for this wizard.

The dialog store is used to record state between wizard invocations (for example, radio button selections, last directory, etc.).

the dialog settings, or null if none



getNextPage
public IWizardPage getNextPage(IWizardPage page)(Code)
Returns the successor of the given page.

This method is typically called by a wizard page


Parameters:
  page - the page the next page, or null if none



getPage
public IWizardPage getPage(String pageName)(Code)
Returns the wizard page with the given name belonging to this wizard.
Parameters:
  pageName - the name of the wizard page the wizard page with the given name, or null if none



getPageCount
public int getPageCount()(Code)
Returns the number of pages in this wizard. the number of wizard pages



getPages
public IWizardPage[] getPages()(Code)
Returns all the pages in this wizard. a list of pages



getPreviousPage
public IWizardPage getPreviousPage(IWizardPage page)(Code)
Returns the predecessor of the given page.

This method is typically called by a wizard page


Parameters:
  page - the page the previous page, or null if none



getStartingPage
public IWizardPage getStartingPage()(Code)
Returns the first page to be shown in this wizard. the first wizard page



getTitleBarColor
public RGB getTitleBarColor()(Code)
Returns the title bar color for this wizard. the title bar color



getWindowTitle
public String getWindowTitle()(Code)
Returns the window title string for this wizard. the window title string, or null for no title



isHelpAvailable
public boolean isHelpAvailable()(Code)
Returns whether help is available for this wizard.

The result of this method is typically used by the container to show or hide the Help button.

true if help is available,and false if this wizard is helpless



needsPreviousAndNextButtons
public boolean needsPreviousAndNextButtons()(Code)
Returns whether this wizard needs Previous and Next buttons.

The result of this method is typically used by the container.

true if Previous and Next buttons are required,and false if none are needed



needsProgressMonitor
public boolean needsProgressMonitor()(Code)
Returns whether this wizard needs a progress monitor.

The result of this method is typically used by the container.

true if a progress monitor is required,and false if none is needed



performCancel
public boolean performCancel()(Code)
Performs any actions appropriate in response to the user having pressed the Cancel button, or refuse if canceling now is not permitted. true to indicate the cancel requestwas accepted, and false to indicatethat the cancel request was refused



performFinish
public boolean performFinish()(Code)
Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted. Normally this method is only called on the container's current wizard. However if the current wizard is a nested wizard this method will also be called on all wizards in its parent chain. Such parents may use this notification to save state etc. However, the value the parents return from this method is ignored. true to indicate the finish requestwas accepted, and false to indicatethat the finish request was refused



setContainer
public void setContainer(IWizardContainer wizardContainer)(Code)
Sets or clears the container of this wizard.
Parameters:
  wizardContainer - the wizard container, or null



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