oracle.adf.view.faces.component
Class SingleStepBase
java.lang.Object
|
+--javax.faces.component.UIComponent
|
+--oracle.adf.view.faces.component.UIXComponent
|
+--oracle.adf.view.faces.component.UIXComponentBase
|
+--oracle.adf.view.faces.component.SingleStepBase
- All Implemented Interfaces:
- javax.faces.component.ActionSource, javax.faces.component.StateHolder
- Direct Known Subclasses:
- UIXSingleStep
- public abstract class SingleStepBase
- extends UIXComponentBase
- implements javax.faces.component.ActionSource
Base class for singleStep components
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase |
addFacesListener, createFacesBean, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttribute, getAttributes, getBeanType, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getFamily, getId, getIntProperty, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreState, setAttribute, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NEXT_ACTION_TYPE
public static final java.lang.Object NEXT_ACTION_TYPE
PREVIOUS_ACTION_TYPE
public static final java.lang.Object PREVIOUS_ACTION_TYPE
SingleStepBase
public SingleStepBase()
getPreviousActionListener
public abstract javax.faces.el.MethodBinding getPreviousActionListener()
getNextActionListener
public abstract javax.faces.el.MethodBinding getNextActionListener()
getPreviousAction
public abstract javax.faces.el.MethodBinding getPreviousAction()
getNextAction
public abstract javax.faces.el.MethodBinding getNextAction()
setPreviousActionListener
public abstract void setPreviousActionListener(javax.faces.el.MethodBinding listener)
setNextActionListener
public abstract void setNextActionListener(javax.faces.el.MethodBinding listener)
setPreviousAction
public abstract void setPreviousAction(javax.faces.el.MethodBinding action)
setNextAction
public abstract void setNextAction(javax.faces.el.MethodBinding action)
queueEvent
public void queueEvent(javax.faces.event.FacesEvent e)
- Overrides:
queueEvent
in class UIXComponentBase
getActionType
public java.lang.Object getActionType()
setActionType
public void setActionType(java.lang.Object actionType)
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class UIXComponentBase
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in class UIXComponentBase
javax.faces.event.AbortProcessingException
getAction
public javax.faces.el.MethodBinding getAction()
- Specified by:
getAction
in interface javax.faces.component.ActionSource
setAction
public void setAction(javax.faces.el.MethodBinding action)
- Specified by:
setAction
in interface javax.faces.component.ActionSource
getActionListener
public javax.faces.el.MethodBinding getActionListener()
- Specified by:
getActionListener
in interface javax.faces.component.ActionSource
setActionListener
public void setActionListener(javax.faces.el.MethodBinding listener)
- Specified by:
setActionListener
in interface javax.faces.component.ActionSource
addActionListener
public void addActionListener(javax.faces.event.ActionListener listener)
- Specified by:
addActionListener
in interface javax.faces.component.ActionSource
removeActionListener
public void removeActionListener(javax.faces.event.ActionListener listener)
- Specified by:
removeActionListener
in interface javax.faces.component.ActionSource
getActionListeners
public javax.faces.event.ActionListener[] getActionListeners()
- Specified by:
getActionListeners
in interface javax.faces.component.ActionSource
isImmediate
public boolean isImmediate()
- returns true if the actionType is PREVIOUS_ACTION_TYPE
- Specified by:
isImmediate
in interface javax.faces.component.ActionSource
setImmediate
public void setImmediate(boolean immediate)
- no-op.
For UIXSingleStep components, even though it implements ActionSource,
we do no have an immediate attribute.
By default, if actionType is PREVIOUS_ACTION_TYPE,
we set the phase to PhaseId.APPLY_REQUEST_VALUES, else we set the
phase to PhaseId.INVOKE_APPLICATION.
- Specified by:
setImmediate
in interface javax.faces.component.ActionSource
Copyright © 2003-2004 Oracle Corporation. All Rights Reserved.