|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.faces.component.UIComponent
oracle.adf.view.faces.component.UIXComponent
oracle.adf.view.faces.component.UIXComponentBase
oracle.adf.view.faces.component.UIXCommand
UIXCommand is a base abstraction for components that implement ActionSource and DialogSource.
| Type | Phases | Description |
|---|---|---|
javax.faces.event.ActionEvent |
Invoke Application Apply Request Values |
Event delivered when the "action" of the component has been invoked; for example, by clicking on a button. The action may result in page navigation. |
oracle.adf.view.faces.event.ReturnEvent |
Apply Request Values | Event delivered when the dialog has completed successfully. |
oracle.adf.view.faces.event.LaunchEvent |
Invoke Application Apply Request Values |
Event delivered to prompt the command to launch a dialog. |
| Field Summary | |
static PropertyKey |
ACTION_KEY
|
static PropertyKey |
ACTION_LISTENER_KEY
|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static PropertyKey |
IMMEDIATE_KEY
|
static PropertyKey |
LAUNCH_LISTENER_KEY
|
static PropertyKey |
RETURN_LISTENER_KEY
|
static FacesBean.Type |
TYPE
|
| Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase |
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
| Constructor Summary | |
|
UIXCommand()
Construct an instance of the UIXCommand. |
protected |
UIXCommand(java.lang.String rendererType)
Construct an instance of the UIXCommand. |
| Method Summary | |
void |
addActionListener(ActionListener listener)
|
void |
addLaunchListener(LaunchListener listener)
Add a LaunchListener. |
void |
addReturnListener(ReturnListener listener)
Add a ReturnListener. |
void |
broadcast(FacesEvent event)
|
MethodBinding |
getAction()
Gets a reference to an action method sent by the command component, or the static outcome of an action |
MethodBinding |
getActionListener()
Gets a method reference to an action listener |
ActionListener[] |
getActionListeners()
|
protected FacesBean.Type |
getBeanType()
|
java.lang.String |
getFamily()
|
MethodBinding |
getLaunchListener()
Gets a method reference to a launch listener |
LaunchListener[] |
getLaunchListeners()
Launch all added LaunchListeners. |
MethodBinding |
getReturnListener()
Gets a method reference to an return listener |
ReturnListener[] |
getReturnListeners()
Return all added ReturnListeners. |
boolean |
isImmediate()
Gets whether or not data validation - client-side or server-side - should take place when events are generated by this component. |
void |
queueEvent(FacesEvent e)
Intercept queueEvent and mark the phaseId for the
event to be PhaseId.APPLY_REQUEST_VALUES if the
immediate flag is true,
PhaseId.INVOKE_APPLICATION otherwise. |
void |
removeActionListener(ActionListener listener)
|
void |
removeLaunchListener(LaunchListener listener)
Remove a LaunchListener. |
void |
removeReturnListener(ReturnListener listener)
Remove a ReturnListener. |
void |
setAction(MethodBinding action)
Sets a reference to an action method sent by the command component, or the static outcome of an action |
void |
setActionListener(MethodBinding actionListener)
Sets a method reference to an action listener |
void |
setImmediate(boolean immediate)
Sets whether or not data validation - client-side or server-side - should take place when events are generated by this component. |
void |
setLaunchListener(MethodBinding launchListener)
Sets a method reference to a launch listener |
void |
setReturnListener(MethodBinding returnListener)
Sets a method reference to an return listener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final FacesBean.Type TYPE
public static final PropertyKey ACTION_KEY
public static final PropertyKey ACTION_LISTENER_KEY
public static final PropertyKey RETURN_LISTENER_KEY
public static final PropertyKey LAUNCH_LISTENER_KEY
public static final PropertyKey IMMEDIATE_KEY
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
public UIXCommand()
protected UIXCommand(java.lang.String rendererType)
| Method Detail |
public void addActionListener(ActionListener listener)
addActionListener in interface ActionSourcepublic void removeActionListener(ActionListener listener)
removeActionListener in interface ActionSourcepublic ActionListener[] getActionListeners()
getActionListeners in interface ActionSourcepublic void addReturnListener(ReturnListener listener)
addReturnListener in interface DialogSourcepublic void removeReturnListener(ReturnListener listener)
removeReturnListener in interface DialogSourcepublic ReturnListener[] getReturnListeners()
getReturnListeners in interface DialogSourcepublic void addLaunchListener(LaunchListener listener)
addLaunchListener in interface DialogSourcepublic void removeLaunchListener(LaunchListener listener)
removeLaunchListener in interface DialogSourcepublic LaunchListener[] getLaunchListeners()
getLaunchListeners in interface DialogSourcepublic void queueEvent(FacesEvent e)
Intercept queueEvent and mark the phaseId for the
event to be PhaseId.APPLY_REQUEST_VALUES if the
immediate flag is true,
PhaseId.INVOKE_APPLICATION otherwise.
queueEvent in class UIXComponentBase
public void broadcast(FacesEvent event)
throws AbortProcessingException
broadcast in class UIXComponentBaseAbortProcessingExceptionpublic final MethodBinding getAction()
getAction in interface ActionSourcepublic final void setAction(MethodBinding action)
setAction in interface ActionSourcepublic final MethodBinding getActionListener()
getActionListener in interface ActionSourcepublic final void setActionListener(MethodBinding actionListener)
setActionListener in interface ActionSourcepublic final MethodBinding getReturnListener()
getReturnListener in interface DialogSourcepublic final void setReturnListener(MethodBinding returnListener)
setReturnListener in interface DialogSourcepublic final MethodBinding getLaunchListener()
getLaunchListener in interface DialogSourcepublic final void setLaunchListener(MethodBinding launchListener)
setLaunchListener in interface DialogSourcepublic final boolean isImmediate()
isImmediate in interface ActionSourcepublic final void setImmediate(boolean immediate)
setImmediate in interface ActionSourcepublic java.lang.String getFamily()
getFamily in class UIXComponentBaseprotected FacesBean.Type getBeanType()
getBeanType in class UIXComponentBase
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||