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


org.araneaframework.core.BaseWidget
   org.araneaframework.core.BaseApplicationWidget
      org.araneaframework.framework.container.StandardFlowContainerWidget

All known Subclasses:   org.araneaframework.uilib.flowcontext.transitionhandler.CancelConfirmingTransitionHandler,  org.araneaframework.framework.container.RootFlowContainerWidget,  org.araneaframework.framework.container.ExceptionHandlingFlowContainerWidget,
StandardFlowContainerWidget
public class StandardFlowContainerWidget extends BaseApplicationWidget implements FlowContextWidget(Code)
A org.araneaframework.framework.FlowContext where the flows are structured as a stack.
author:
   "Toomas Römer"
author:
   Jevgeni Kabanov (ekabanov at araneaframework dot org)

Inner Class :protected class FlowReference implements FlowContext.FlowReference
Inner Class :protected static class CallFrame implements Serializable
Inner Class :protected class CancelClosure implements Closure,Serializable
Inner Class :protected class ResetClosure implements Closure,Serializable
Inner Class :protected class FinishClosure implements Closure,Serializable
Inner Class :protected class ReplaceClosure implements Closure,Serializable
Inner Class :protected class StartClosure implements Closure,Serializable
Inner Class :public static class StandardTransitionHandler implements FlowContext.TransitionHandler

Field Summary
protected  LinkedListcallStack
     The stack of all the calls.
protected  booleanfinishable
    
protected  Widgettop
     The top callable widget.

Constructor Summary
public  StandardFlowContainerWidget(Widget topWidget)
     Constructs a StandardFlowContainerWidget with topWidget being the first flow on the top of flow stack.
public  StandardFlowContainerWidget()
    

Method Summary
protected  voidaddFrameWidget(CallFrame frame)
     Activates the widget represented by the CallFrame .
public  voidaddNestedEnvironmentEntry(ApplicationWidget scope, Object entryId, Object envEntry)
    
public  voidcancel()
    
protected  voiddestroy()
    
protected  voiddoCancel()
    
protected  voiddoFinish(Object returnValue)
    
protected  voiddoReplace(Widget flow, Configurator configurator)
    
protected  voiddoReset(EnvironmentAwareCallback callback)
    
protected  voiddoStart(Widget flow, Configurator configurator, Handler handler)
    
protected  voiddoTransition(TransitionHandler transitionHandler, int transitionType, Closure closure)
    
public  voidfinish(Object returnValue)
    
protected  CallFramegetActiveCallFrame()
    
protected  WidgetgetActiveFlow()
    
protected  LinkedListgetCallStack()
    
protected  EnvironmentgetChildWidgetEnvironment()
    
public  FlowContext.FlowReferencegetCurrentReference()
    
public  TransitionHandlergetTransitionHandler()
    
protected  voidinit()
    
public  booleanisNested()
    
protected  CallFramemakeCallFrame(Widget callable, Configurator configurator, Handler handler, CallFrame previous)
     Returns a new CallFrame constructed of the callable, configurator and handler.
protected  voidputLocalEnvironmentEntries(Map nestedEnvironmentEntries)
    
protected  voidrender(OutputData output)
     Invokes render on the top frame on the stack of callframes.
public  voidreplace(Widget flow)
    
public  voidreplace(Widget flow, Configurator configurator)
    
public  voidreset(EnvironmentAwareCallback callback)
    
public  voidsetFinishable(boolean finishable)
     Determines whether this StandardFlowContainerWidget will ever return control to FlowContext higher in the org.araneaframework.Component hierarchy.
public  voidsetTop(Widget topWidget)
    
public  voidsetTransitionHandler(TransitionHandler transitionHandler)
    
public  voidstart(Widget flow)
    
public  voidstart(Widget flow, Handler handler)
    
public  voidstart(Widget flow, Configurator configurator, Handler handler)
    

Field Detail
callStack
protected LinkedList callStack(Code)
The stack of all the calls.



finishable
protected boolean finishable(Code)



top
protected Widget top(Code)
The top callable widget.




Constructor Detail
StandardFlowContainerWidget
public StandardFlowContainerWidget(Widget topWidget)(Code)
Constructs a StandardFlowContainerWidget with topWidget being the first flow on the top of flow stack.



StandardFlowContainerWidget
public StandardFlowContainerWidget()(Code)




Method Detail
addFrameWidget
protected void addFrameWidget(CallFrame frame)(Code)
Activates the widget represented by the CallFrame .
since:
   1.1



addNestedEnvironmentEntry
public void addNestedEnvironmentEntry(ApplicationWidget scope, Object entryId, Object envEntry)(Code)



cancel
public void cancel()(Code)



destroy
protected void destroy() throws Exception(Code)



doCancel
protected void doCancel()(Code)

since:
   1.1



doFinish
protected void doFinish(Object returnValue)(Code)

since:
   1.1



doReplace
protected void doReplace(Widget flow, Configurator configurator)(Code)

since:
   1.1



doReset
protected void doReset(EnvironmentAwareCallback callback)(Code)

since:
   1.1



doStart
protected void doStart(Widget flow, Configurator configurator, Handler handler)(Code)

since:
   1.1



doTransition
protected void doTransition(TransitionHandler transitionHandler, int transitionType, Closure closure)(Code)

since:
   1.1



finish
public void finish(Object returnValue)(Code)



getActiveCallFrame
protected CallFrame getActiveCallFrame()(Code)



getActiveFlow
protected Widget getActiveFlow()(Code)

since:
   1.1



getCallStack
protected LinkedList getCallStack()(Code)



getChildWidgetEnvironment
protected Environment getChildWidgetEnvironment() throws Exception(Code)



getCurrentReference
public FlowContext.FlowReference getCurrentReference()(Code)



getTransitionHandler
public TransitionHandler getTransitionHandler()(Code)



init
protected void init() throws Exception(Code)



isNested
public boolean isNested()(Code)



makeCallFrame
protected CallFrame makeCallFrame(Widget callable, Configurator configurator, Handler handler, CallFrame previous)(Code)
Returns a new CallFrame constructed of the callable, configurator and handler.



putLocalEnvironmentEntries
protected void putLocalEnvironmentEntries(Map nestedEnvironmentEntries)(Code)



render
protected void render(OutputData output) throws Exception(Code)
Invokes render on the top frame on the stack of callframes.



replace
public void replace(Widget flow)(Code)



replace
public void replace(Widget flow, Configurator configurator)(Code)



reset
public void reset(EnvironmentAwareCallback callback)(Code)



setFinishable
public void setFinishable(boolean finishable)(Code)
Determines whether this StandardFlowContainerWidget will ever return control to FlowContext higher in the org.araneaframework.Component hierarchy. If such FlowContext exists and finishable is set to true, this StandardFlowContainerWidget will return control to it when last running flow inside it is finished ( FlowContext.finish(Object) ) or canceled ( FlowContext.cancel ). Default is true.
Parameters:
  finishable -
since:
   1.1



setTop
public void setTop(Widget topWidget)(Code)



setTransitionHandler
public void setTransitionHandler(TransitionHandler transitionHandler)(Code)



start
public void start(Widget flow)(Code)



start
public void start(Widget flow, Handler handler)(Code)



start
public void start(Widget flow, Configurator configurator, Handler handler)(Code)



Methods inherited from org.araneaframework.core.BaseApplicationWidget
public Composite.Interface _getComposite()(Code)(Java Doc)
public Viewable.Interface _getViewable()(Code)(Java Doc)
protected void action(Path path, InputData input, OutputData output) throws Exception(Code)(Java Doc)
public void addActionListener(Object actionId, ActionListener listener)(Code)(Java Doc)
public void addEventListener(Object eventId, EventListener listener)(Code)(Java Doc)
public void addWidget(Object key, Widget child, Environment env)(Code)(Java Doc)
public void addWidget(Object key, Widget child)(Code)(Java Doc)
public void clearActionListeners(Object actionId)(Code)(Java Doc)
public void clearEventlisteners(Object eventId)(Code)(Java Doc)
public void clearGlobalEventListener()(Code)(Java Doc)
public void disableWidget(Object key)(Code)(Java Doc)
public void enableWidget(Object key)(Code)(Java Doc)
protected void event(Path path, InputData input) throws Exception(Code)(Java Doc)
protected Object getActionId(InputData input)(Code)(Java Doc)
final public Environment getChildEnvironment()(Code)(Java Doc)
protected Environment getChildWidgetEnvironment() throws Exception(Code)(Java Doc)
public Map getChildren()(Code)(Java Doc)
public Environment getEnvironment()(Code)(Java Doc)
protected String getEventId(InputData input)(Code)(Java Doc)
public Object getViewModel() throws Exception(Code)(Java Doc)
public Widget getWidget(Object key)(Code)(Java Doc)
protected void handleAction(InputData input, OutputData output) throws Exception(Code)(Java Doc)
protected void handleEvent(InputData input) throws Exception(Code)(Java Doc)
protected void handleUpdate(InputData input) throws Exception(Code)(Java Doc)
protected void propagate(Message message) throws Exception(Code)(Java Doc)
public void putViewData(String key, Object customDataItem)(Code)(Java Doc)
public void putViewDataOnce(String key, Object customDataItem)(Code)(Java Doc)
public void removeActionListener(ActionListener listener)(Code)(Java Doc)
public void removeEventListener(EventListener listener)(Code)(Java Doc)
public void removeViewData(String key)(Code)(Java Doc)
public void removeWidget(Object key)(Code)(Java Doc)
protected void render(OutputData output) throws Exception(Code)(Java Doc)
public void setGlobalEventListener(EventListener eventListener)(Code)(Java Doc)
protected void update(InputData input) throws Exception(Code)(Java Doc)

Methods inherited from org.araneaframework.core.BaseWidget
public Widget.Interface _getWidget()(Code)(Java Doc)
protected void event(Path path, InputData input) throws Exception(Code)(Java Doc)
protected InputData getInputData()(Code)(Java Doc)
protected OutputData getOutputData()(Code)(Java Doc)
protected void handleWidgetException(Exception e) throws Exception(Code)(Java Doc)
protected void render(OutputData output) throws Exception(Code)(Java Doc)
protected void update(InputData input) throws Exception(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.