Java Doc for WizardProcessPanel.java in  » Database-Client » executequery » org » underworldlabs » swing » 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 » Database Client » executequery » org.underworldlabs.swing.wizard 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.underworldlabs.swing.wizard.WizardProcessPanel

All known Subclasses:   org.executequery.gui.scriptgenerators.GenerateScriptsWizard,  org.executequery.gui.importexport.ImportExportExcelPanel,  org.executequery.gui.importexport.ImportExportDelimitedPanel,  org.executequery.gui.importexport.ImportExportXMLPanel,
WizardProcessPanel
abstract public class WizardProcessPanel extends JPanel implements ActionListener(Code)
Base wizard process panel.
author:
   Takis Diakoumis
version:
   $Revision: 1.6 $


Field Summary
protected  JButtonhelpButton
    

Constructor Summary
public  WizardProcessPanel()
    
public  WizardProcessPanel(WizardProcessModel model)
    

Method Summary
public  voidactionPerformed(ActionEvent e)
     Executes the actions associated with the button selctions.
public  voidaddPanel(JPanel panel, String title)
     Adds the specified panel to the layout with the specified name.
protected  voidback()
     Performs the action on the selection on back.
abstract public  voidcancel()
     Performs the cancel action.
public  WizardProcessModelgetModel()
     Returns the wizard model for this instance.
public  intgetSelectedIndex()
     Returns the currently selected index.
public  booleanisButtonsEnabled()
     Returns whether the buttons are enabled.
protected  voidnext()
     Performs the action on the selection on next.
protected  voidprepare()
    
protected  voidresetButtons()
     Enables/diables buttons based on the current selected index.
public  voidsetBackButtonEnabled(boolean enable)
     Enables/disables the next button.
public  voidsetBackButtonText(String text)
     Sets the text label on the back (previous) button to that specified.
public  voidsetButtonsEnabled(boolean buttonsEnabled)
     Sets the buttons to be enabled.
public  voidsetCancelButtonEnabled(boolean enable)
     Enables/disables the next button.
public  voidsetCancelButtonText(String text)
     Sets the text label on the cancel button to that specified.
protected  voidsetHelpAction(Action a)
     Sets the action for the help button to that specified.
protected  voidsetHelpAction(Action a, String actionCommand)
     Sets the action for the help button to that specified with the specified action command string.
public  voidsetModel(WizardProcessModel model)
     Sets the wizard model to that specified.
public  voidsetNextButtonEnabled(boolean enable)
     Enables/disables the next button.
public  voidsetNextButtonText(String text)
     Sets the text label on the next button to that specified.
protected  voidsetSelectedStep(int index)
     Reformats the label display at the specified index.
protected  voidsetTitleLabelText(String text)
     Sets the title label text to that specified.

Field Detail
helpButton
protected JButton helpButton(Code)
the help button




Constructor Detail
WizardProcessPanel
public WizardProcessPanel()(Code)
Creates a new instance of WizardProcessPanel



WizardProcessPanel
public WizardProcessPanel(WizardProcessModel model)(Code)
Creates a new instance of WizardProcessPanel




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)
Executes the actions associated with the button selctions.
Parameters:
  e - - the originating event



addPanel
public void addPanel(JPanel panel, String title)(Code)
Adds the specified panel to the layout with the specified name. The name must be the string value of the index of the specified panel.
Parameters:
  panel - - the panel
Parameters:
  title - - the layout name



back
protected void back()(Code)
Performs the action on the selection on back.



cancel
abstract public void cancel()(Code)
Performs the cancel action.



getModel
public WizardProcessModel getModel()(Code)
Returns the wizard model for this instance. the model



getSelectedIndex
public int getSelectedIndex()(Code)
Returns the currently selected index. the current index



isButtonsEnabled
public boolean isButtonsEnabled()(Code)
Returns whether the buttons are enabled. If the buttons are not set enabled, any changes to them using setEnabled(..) is ignored. true | false



next
protected void next()(Code)
Performs the action on the selection on next.



prepare
protected void prepare()(Code)



resetButtons
protected void resetButtons()(Code)
Enables/diables buttons based on the current selected index.



setBackButtonEnabled
public void setBackButtonEnabled(boolean enable)(Code)
Enables/disables the next button. true | false



setBackButtonText
public void setBackButtonText(String text)(Code)
Sets the text label on the back (previous) button to that specified.
Parameters:
  text - - the 'BACK' button text



setButtonsEnabled
public void setButtonsEnabled(boolean buttonsEnabled)(Code)
Sets the buttons to be enabled.
Parameters:
  buttonsEnabled - - true | false



setCancelButtonEnabled
public void setCancelButtonEnabled(boolean enable)(Code)
Enables/disables the next button. true | false



setCancelButtonText
public void setCancelButtonText(String text)(Code)
Sets the text label on the cancel button to that specified.
Parameters:
  text - - the 'CANCEL' button text



setHelpAction
protected void setHelpAction(Action a)(Code)
Sets the action for the help button to that specified.
Parameters:
  a - - the help action to be applied



setHelpAction
protected void setHelpAction(Action a, String actionCommand)(Code)
Sets the action for the help button to that specified with the specified action command string. This will also set a null icon value and set the button text to 'Help'.
Parameters:
  a - - the help action to be applied
Parameters:
  actionCommand - - the action command string



setModel
public void setModel(WizardProcessModel model)(Code)
Sets the wizard model to that specified.
Parameters:
  model - - the model to be used



setNextButtonEnabled
public void setNextButtonEnabled(boolean enable)(Code)
Enables/disables the next button. true | false



setNextButtonText
public void setNextButtonText(String text)(Code)
Sets the text label on the next button to that specified.
Parameters:
  text - - the 'NEXT' button text



setSelectedStep
protected void setSelectedStep(int index)(Code)
Reformats the label display at the specified index.
Parameters:
  index - - the label index



setTitleLabelText
protected void setTitleLabelText(String text)(Code)
Sets the title label text to that specified.
Parameters:
  text - - the title text



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.