Java Doc for WizardContext.java in  » Web-Framework » aranea-mvc-1.1.1 » org » araneaframework » example » common » framework » context » 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 » Web Framework » aranea mvc 1.1.1 » org.araneaframework.example.common.framework.context 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.araneaframework.example.common.framework.context.WizardContext

All known Subclasses:   org.araneaframework.example.common.framework.container.StandardWizardWidget,
WizardContext
public interface WizardContext (Code)
A context consisting of Widgets that could be switched through different requests. Default page index is 0. submit(), cancel() and all gotoXXX() methods invoke all event listeners with respective method.
See Also:   org.araneaframework.example.common.framework.container.StandardWizardWidget
author:
   Rein Raudjärv

Inner Class :interface EventListener extends Serializable



Method Summary
 voidaddEventListener(EventListener listener)
     Adds new event listener.
 voidaddPage(int index, Widget page)
     Adds new page with specific index (current page indexes are modified respectively).
 voidaddPage(Widget page)
     Adds new page as last element.
 voidcancel()
     Calls onCancel() on eventListeners.
 voidclearEventListeners()
     Removes all event listeners.
 voidclearPages()
     Removes all pages.
 booleancontainsIndex(int index)
     Returns whether the specified index match the page index bounds.
Parameters:
  index - page index.
 booleancontainsPage(Widget page)
     Returns whether the specified page has been added.
Parameters:
  page - page.
 intcountPages()
     Count all pages.
 Widget[]getAllPages()
     Returns all pages.
 WidgetgetCurrentPage()
     Returns the current page.
 intgetCurrentPageIndex()
     Returns the index of current page.
 intgetIndexOfPage(Widget page)
     Returns an index of specified page.
Parameters:
  page - page.
 WidgetgetPage(int index)
     Returns a page with specified index.
Parameters:
  index - page index.
 voidgotoFirst()
     Switch to the first page.
 voidgotoLast()
     Switch to the last page.
 voidgotoNext()
     Switch to the next page.
 voidgotoPage(Widget page)
     Switch to the specified page.
 voidgotoPage(int index)
     Switch to a page with specified index.
 voidgotoPrevious()
     Switch to the previous page.
 voidremoveEventListener(EventListener listener)
     Removes a specified event listener.
 voidremovePage(Widget page)
     Removes a page.
 voidremovePage(int index)
     Removes a page.
 voidsubmit()
     Calls onSubmit() on eventListeners.



Method Detail
addEventListener
void addEventListener(EventListener listener)(Code)
Adds new event listener.
Parameters:
  listener - listener.



addPage
void addPage(int index, Widget page) throws Exception(Code)
Adds new page with specific index (current page indexes are modified respectively). Wizard must be initialized before adding pages to it.
Parameters:
  index - page index.
Parameters:
  page - page.
throws:
  Exception -



addPage
void addPage(Widget page) throws Exception(Code)
Adds new page as last element. Wizard must be initialized before adding pages to it.
Parameters:
  page - page.
throws:
  Exception -



cancel
void cancel()(Code)
Calls onCancel() on eventListeners.



clearEventListeners
void clearEventListeners()(Code)
Removes all event listeners.



clearPages
void clearPages() throws Exception(Code)
Removes all pages. Page index will be reset to 0.
throws:
  Exception -



containsIndex
boolean containsIndex(int index)(Code)
Returns whether the specified index match the page index bounds.
Parameters:
  index - page index. whether the specified index match the page index bounds.



containsPage
boolean containsPage(Widget page)(Code)
Returns whether the specified page has been added.
Parameters:
  page - page. whether the specified page has been added.



countPages
int countPages()(Code)
Count all pages. page count.



getAllPages
Widget[] getAllPages()(Code)
Returns all pages. all pages.



getCurrentPage
Widget getCurrentPage()(Code)
Returns the current page. page.



getCurrentPageIndex
int getCurrentPageIndex()(Code)
Returns the index of current page. page index.



getIndexOfPage
int getIndexOfPage(Widget page)(Code)
Returns an index of specified page.
Parameters:
  page - page. page index.



getPage
Widget getPage(int index)(Code)
Returns a page with specified index.
Parameters:
  index - page index. page with specified index.



gotoFirst
void gotoFirst()(Code)
Switch to the first page.



gotoLast
void gotoLast()(Code)
Switch to the last page.



gotoNext
void gotoNext()(Code)
Switch to the next page.



gotoPage
void gotoPage(Widget page)(Code)
Switch to the specified page.
Parameters:
  page - page.



gotoPage
void gotoPage(int index)(Code)
Switch to a page with specified index.
Parameters:
  index - page index.



gotoPrevious
void gotoPrevious()(Code)
Switch to the previous page.



removeEventListener
void removeEventListener(EventListener listener)(Code)
Removes a specified event listener.
Parameters:
  listener - listener.



removePage
void removePage(Widget page) throws Exception(Code)
Removes a page. Next (previous if this was the last one) page will be selected.
Parameters:
  page - page.
throws:
  Exception -



removePage
void removePage(int index) throws Exception(Code)
Removes a page. Next (previous if this was the last one) page will be selected.
Parameters:
  index - page index.
throws:
  Exception -



submit
void submit()(Code)
Calls onSubmit() on eventListeners.



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