ariba.ui.widgets
Class ActionHandler

java.lang.Object
  extended by ariba.ui.widgets.BaseHandler
      extended by ariba.ui.widgets.ActionHandler
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DisabledActionHandler, HelpActionHandler, MetaNavCommandBar.NavActionHandler, SiteActionHandler, ToggleSidebarActionHandler, WizardExitActionHandler

public class ActionHandler
extends BaseHandler


Constructor Summary
ActionHandler()
           
ActionHandler(boolean isEnabled, boolean isInterrupting, java.lang.String url)
           
 
Method Summary
 AWResponseGenerating actionClicked(AWRequestContext requestContext)
           
 boolean isEnabled(AWRequestContext requestContext)
           
 boolean isExternal(AWRequestContext requestContext)
           
 boolean isInterrupting(AWRequestContext requestContext)
           
 java.lang.String onClick(AWRequestContext requestContext)
           
static ActionHandler resolveHandler(java.lang.String action)
           
static ActionHandler resolveHandlerInComponent(java.lang.String action, AWComponent component)
           
static ActionHandler resolveHandlerInComponent(java.lang.String action, AWComponent component, ActionHandler defaultHandler)
           
static void setDefaultHandler(ActionHandler handler)
           
static void setHandler(java.lang.String action, ActionHandler handler)
           
 boolean submitFormToComponentAction()
           
 boolean submitFormToUrl()
           
 java.lang.String target(AWRequestContext requestContext)
           
 java.lang.String url(AWRequestContext requestContext)
           
 boolean useComponentAction(AWRequestContext requestContext)
           
 java.lang.String windowAttributes(AWRequestContext requestContext)
           
 
Methods inherited from class ariba.ui.widgets.BaseHandler
clone, name, resolveHandler, resolveHandler, setDefaultHandler, setHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionHandler

public ActionHandler()

ActionHandler

public ActionHandler(boolean isEnabled,
                     boolean isInterrupting,
                     java.lang.String url)
Method Detail

setDefaultHandler

public static void setDefaultHandler(ActionHandler handler)

setHandler

public static void setHandler(java.lang.String action,
                              ActionHandler handler)

resolveHandlerInComponent

public static ActionHandler resolveHandlerInComponent(java.lang.String action,
                                                      AWComponent component,
                                                      ActionHandler defaultHandler)

resolveHandlerInComponent

public static ActionHandler resolveHandlerInComponent(java.lang.String action,
                                                      AWComponent component)

resolveHandler

public static ActionHandler resolveHandler(java.lang.String action)

isEnabled

public boolean isEnabled(AWRequestContext requestContext)

isExternal

public boolean isExternal(AWRequestContext requestContext)

isInterrupting

public boolean isInterrupting(AWRequestContext requestContext)

target

public java.lang.String target(AWRequestContext requestContext)

windowAttributes

public java.lang.String windowAttributes(AWRequestContext requestContext)

url

public java.lang.String url(AWRequestContext requestContext)

onClick

public java.lang.String onClick(AWRequestContext requestContext)

submitFormToUrl

public boolean submitFormToUrl()

submitFormToComponentAction

public boolean submitFormToComponentAction()

useComponentAction

public boolean useComponentAction(AWRequestContext requestContext)

actionClicked

public AWResponseGenerating actionClicked(AWRequestContext requestContext)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.