oracle.adf.view.faces.component
Class UIXSelectInput

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byoracle.adf.view.faces.component.UIXComponent
          extended byoracle.adf.view.faces.component.UIXComponentBase
              extended byoracle.adf.view.faces.component.UIXValue
                  extended byoracle.adf.view.faces.component.UIXEditableValue
                      extended byoracle.adf.view.faces.component.UIXSelectInput
All Implemented Interfaces:
ActionSource, EditableValueHolder, StateHolder, ValueHolder
Direct Known Subclasses:
CoreSelectInputColor, CoreSelectInputDate, CoreSelectInputText

public class UIXSelectInput
extends UIXEditableValue
implements ActionSource

selectInput is a base abstraction for components that allow both input and selection from a list of possible values.

Events:

Type Phases Description
javax.faces.event.ActionEvent Apply Request Values Event delivered when the "action" of the selectInput has been invoked. The action should generally result in launching a dialog.
oracle.adf.view.faces.event.ReturnEvent Apply Request Values Event delivered when a dialog launched by the selectInput has completed successfully.
javax.faces.event.ValueChangeEvent Process Validations
Apply Request Values
Event delivered when a new value is entered by a user.


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 RETURN_LISTENER_KEY
           
static FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.component.UIXEditableValue
CONVERSION_MESSAGE_ID, IMMEDIATE_KEY, LOCAL_VALUE_SET_KEY, REQUIRED_KEY, REQUIRED_MESSAGE_DETAIL_KEY, REQUIRED_MESSAGE_ID, SUBMITTED_VALUE_KEY, VALID_KEY, VALIDATOR_KEY, VALIDATORS_KEY, VALUE_CHANGE_LISTENER_KEY
 
Fields inherited from class oracle.adf.view.faces.component.UIXValue
CONVERTER_KEY, VALUE_KEY
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Constructor Summary
  UIXSelectInput()
          Construct an instance of the UIXSelectInput.
protected UIXSelectInput(java.lang.String rendererType)
          Construct an instance of the UIXSelectInput.
 
Method Summary
 void addActionListener(ActionListener listener)
           
 void addReturnListener(ReturnListener listener)
          Add a ReturnListener.
 void broadcast(FacesEvent event)
          In addition to to the default UIComponent.broadcast(javax.faces.event.FacesEvent) processing, pass the ValueChangeEvent being broadcast to the method referenced by valueChangeListener (if any).
 MethodBinding getAction()
          Gets a reference to an action method sent by the commandButton, 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 getReturnListener()
          Gets a method reference to an return listener
 ReturnListener[] getReturnListeners()
          Return all added ReturnListeners.
 void queueEvent(FacesEvent e)
          Intercept queueEvent and mark the phaseId for any ActionEvents to be PhaseId.APPLY_REQUEST_VALUES.
 void removeActionListener(ActionListener listener)
           
 void removeReturnListener(ReturnListener listener)
          Remove a ReturnListener.
 void setAction(MethodBinding action)
          Sets a reference to an action method sent by the commandButton, or the static outcome of an action
 void setActionListener(MethodBinding actionListener)
          Sets a method reference to an action listener
 void setReturnListener(MethodBinding returnListener)
          Sets a method reference to an return listener
 
Methods inherited from class oracle.adf.view.faces.component.UIXEditableValue
addValidator, addValueChangeListener, compareValues, getConvertedValue, getRequiredMessageDetail, getRequiredMessageKey, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setImmediate, setLocalValueSet, setRequired, setRequiredMessageDetail, setSubmittedValue, setValid, setValidator, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class oracle.adf.view.faces.component.UIXValue
getConverter, getLocalValue, getValue, setConverter, setValue
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addAttributeChange, addAttributeChange, addAttributeChangeListener, addFacesListener, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.faces.component.ActionSource
isImmediate, setImmediate
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, getValue, setConverter, setValue
 

Field Detail

TYPE

public static final FacesBean.Type TYPE

ACTION_KEY

public static final PropertyKey ACTION_KEY

ACTION_LISTENER_KEY

public static final PropertyKey ACTION_LISTENER_KEY

RETURN_LISTENER_KEY

public static final PropertyKey RETURN_LISTENER_KEY

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

UIXSelectInput

public UIXSelectInput()
Construct an instance of the UIXSelectInput.


UIXSelectInput

protected UIXSelectInput(java.lang.String rendererType)
Construct an instance of the UIXSelectInput.

Method Detail

addActionListener

public void addActionListener(ActionListener listener)
Specified by:
addActionListener in interface ActionSource

removeActionListener

public void removeActionListener(ActionListener listener)
Specified by:
removeActionListener in interface ActionSource

getActionListeners

public ActionListener[] getActionListeners()
Specified by:
getActionListeners in interface ActionSource

addReturnListener

public void addReturnListener(ReturnListener listener)
Add a ReturnListener.


removeReturnListener

public void removeReturnListener(ReturnListener listener)
Remove a ReturnListener.


getReturnListeners

public ReturnListener[] getReturnListeners()
Return all added ReturnListeners.


queueEvent

public void queueEvent(FacesEvent e)

Intercept queueEvent and mark the phaseId for any ActionEvents to be PhaseId.APPLY_REQUEST_VALUES.

Overrides:
queueEvent in class UIXComponentBase

broadcast

public void broadcast(FacesEvent event)
               throws AbortProcessingException
In addition to to the default UIComponent.broadcast(javax.faces.event.FacesEvent) processing, pass the ValueChangeEvent being broadcast to the method referenced by valueChangeListener (if any).

Overrides:
broadcast in class UIXEditableValue
Parameters:
event - FacesEvent to be broadcast
Throws:
AbortProcessingException - Signal the JavaServer Faces implementation that no further processing on the current event should be performed

getAction

public final MethodBinding getAction()
Gets a reference to an action method sent by the commandButton, or the static outcome of an action

Specified by:
getAction in interface ActionSource

setAction

public final void setAction(MethodBinding action)
Sets a reference to an action method sent by the commandButton, or the static outcome of an action

Specified by:
setAction in interface ActionSource

getActionListener

public final MethodBinding getActionListener()
Gets a method reference to an action listener

Specified by:
getActionListener in interface ActionSource

setActionListener

public final void setActionListener(MethodBinding actionListener)
Sets a method reference to an action listener

Specified by:
setActionListener in interface ActionSource

getReturnListener

public final MethodBinding getReturnListener()
Gets a method reference to an return listener


setReturnListener

public final void setReturnListener(MethodBinding returnListener)
Sets a method reference to an return listener


getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class UIXEditableValue

getBeanType

protected FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXEditableValue


Copyright © 2003-2007 Oracle Corporation. All Rights Reserved.