| org.araneaframework.framework.container.StandardFlowContainerWidget org.araneaframework.uilib.flowcontext.transitionhandler.CancelConfirmingTransitionHandler
CancelConfirmingTransitionHandler | public class CancelConfirmingTransitionHandler extends StandardFlowContainerWidget.StandardTransitionHandler (Code) | | TransitionHandler with some special confirmation handling for
FlowContext.TRANSITION_CANCEL events. It attaches event listener to active
flow when its cancellation request is received and asks user to confirm the action
whenever the predicate shouldConfirm evaluates to true .
author: Taimo Peelo (taimo@araneaframework.org) since: 1.1 |
CancelConfirmingTransitionHandler | public CancelConfirmingTransitionHandler(Predicate shouldConfirm, String confirmationMessage)(Code) | | |
doTransition | public void doTransition(int transitionType, Widget activeFlow, Closure transition)(Code) | | |
Methods inherited from org.araneaframework.framework.container.StandardFlowContainerWidget | protected void addFrameWidget(CallFrame frame)(Code)(Java Doc) public void addNestedEnvironmentEntry(ApplicationWidget scope, Object entryId, Object envEntry)(Code)(Java Doc) public void cancel()(Code)(Java Doc) protected void destroy() throws Exception(Code)(Java Doc) protected void doCancel()(Code)(Java Doc) protected void doFinish(Object returnValue)(Code)(Java Doc) protected void doReplace(Widget flow, Configurator configurator)(Code)(Java Doc) protected void doReset(EnvironmentAwareCallback callback)(Code)(Java Doc) protected void doStart(Widget flow, Configurator configurator, Handler handler)(Code)(Java Doc) protected void doTransition(TransitionHandler transitionHandler, int transitionType, Closure closure)(Code)(Java Doc) public void finish(Object returnValue)(Code)(Java Doc) protected CallFrame getActiveCallFrame()(Code)(Java Doc) protected Widget getActiveFlow()(Code)(Java Doc) protected LinkedList getCallStack()(Code)(Java Doc) protected Environment getChildWidgetEnvironment() throws Exception(Code)(Java Doc) public FlowContext.FlowReference getCurrentReference()(Code)(Java Doc) public TransitionHandler getTransitionHandler()(Code)(Java Doc) protected void init() throws Exception(Code)(Java Doc) public boolean isNested()(Code)(Java Doc) protected CallFrame makeCallFrame(Widget callable, Configurator configurator, Handler handler, CallFrame previous)(Code)(Java Doc) protected void putLocalEnvironmentEntries(Map nestedEnvironmentEntries)(Code)(Java Doc) protected void render(OutputData output) throws Exception(Code)(Java Doc) public void replace(Widget flow)(Code)(Java Doc) public void replace(Widget flow, Configurator configurator)(Code)(Java Doc) public void reset(EnvironmentAwareCallback callback)(Code)(Java Doc) public void setFinishable(boolean finishable)(Code)(Java Doc) public void setTop(Widget topWidget)(Code)(Java Doc) public void setTransitionHandler(TransitionHandler transitionHandler)(Code)(Java Doc) public void start(Widget flow)(Code)(Java Doc) public void start(Widget flow, Handler handler)(Code)(Java Doc) public void start(Widget flow, Configurator configurator, Handler handler)(Code)(Java Doc)
|
|
|