Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


oracle.adf.view.rich.component.rich
Class RichDynamicComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by org.apache.myfaces.trinidad.component.UIXValue
                  extended by org.apache.myfaces.trinidad.component.UIXEditableValue
                      extended by org.apache.myfaces.trinidad.component.UIXInput
                          extended by oracle.adf.view.rich.component.PartialUIXInputPopup
                              extended by oracle.adf.view.rich.component.UIXInputPopup
                                  extended by oracle.adf.view.rich.component.rich.PartialRichDynamicComponent
                                      extended by oracle.adf.view.rich.component.rich.RichDynamicComponent

All Implemented Interfaces:
EventListener, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class RichDynamicComponent
extends PartialRichDynamicComponent
implements javax.faces.component.ActionSource, javax.faces.component.ActionSource2

RichDynamicComponent is a base class for dynamic component which supports different real type components. The real type is defined by its attribute "componentType", attributes are provided in its attribute "attributeModel".


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.adf.view.rich.component.UIXInputPopup
UIXInputPopup.ComboCollectionModel

 

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey ACTION_EXPRESSION_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey ACTION_LISTENER_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey COMPONENT_TYPE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONVERTERS_KEY
           
static String REQUIRED_MESSAGE_ID
           
static org.apache.myfaces.trinidad.bean.PropertyKey RETURN_LISTENER_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
static String UNSUPPORTED_MODEL_TYPE_MESSAGE_ID
           
static org.apache.myfaces.trinidad.bean.PropertyKey VALIDATORS_KEY
           

 

Fields inherited from class oracle.adf.view.rich.component.rich.PartialRichDynamicComponent
ACCESS_KEY_KEY, ATTRIBUTE_MODEL_KEY, AUTO_COMPLETE_KEY, AUTO_COMPLETE_OFF, AUTO_COMPLETE_ON, AUTO_SUBMIT_KEY, AUTO_TAB_KEY, CHANGED_DESC_KEY, CHANGED_KEY, CHOOSE_ID_KEY, CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COLUMNS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CONTENT_DELIVERY_IMMEDIATE, CONTENT_DELIVERY_KEY, CONTENT_DELIVERY_LAZY, CONTENT_STYLE_KEY, CONTEXT_FACET, CUSTOM_ACTIONS_FACET, CUSTOMIZATION_ID_KEY, DIMENSIONS_FROM_AUTO, DIMENSIONS_FROM_CONTENT, DIMENSIONS_FROM_KEY, DIMENSIONS_FROM_PARENT, DISABLED_DAYS_KEY, DISABLED_DAYS_OF_WEEK_KEY, DISABLED_KEY, DISABLED_MONTHS_KEY, EDITABLE_ALWAYS, EDITABLE_INHERIT, EDITABLE_KEY, EDITABLE_ON_ACCESS, GROUP_KEY, HELP_FACET, HELP_TOPIC_ID_KEY, INLINE_STYLE_KEY, ITEMS_KEY, LABEL_KEY, LABEL_STYLE_KEY, LAYOUT_HORIZONTAL, LAYOUT_KEY, LAYOUT_VERTICAL, LAZY_SELECTED_LABELS_KEY, MAX_VALUE_KEY, MAXIMUM_LENGTH_KEY, MIN_VALUE_KEY, MODE_COMPACT, MODE_DEFAULT, MODE_KEY, NULL_VALUE_MEANS_KEY, NULL_VALUE_MEANS_MIXED, NULL_VALUE_MEANS_NULL, PARTIAL_TRIGGERS_KEY, PLACEHOLDER_KEY, POPUP_TITLE_KEY, READ_ONLY_KEY, RECENT_ITEMS_KEY, RESULTS_TABLE_FACET, ROWS_KEY, SEARCH_CONTENT_FACET, SEARCH_DESC_KEY, SEARCH_DIALOG_DEFAULT, SEARCH_DIALOG_KEY, SEARCH_DIALOG_NONE, SECRET_KEY, SELECT_ALL_VISIBLE_KEY, SHORT_DESC_KEY, SHOW_REQUIRED_KEY, SIMPLE_KEY, SIZE_KEY, SPELL_CHECK_DEFAULT, SPELL_CHECK_KEY, SPELL_CHECK_OFF, SPELL_CHECK_ON, STYLE_CLASS_KEY, TEXT_KEY, TIME_ZONE_LIST_KEY, UNSECURE_KEY, UNSELECTED_LABEL_KEY, USAGE_AUTO, USAGE_KEY, USAGE_SEARCH, USAGE_TEXT, VALUE_PASS_THRU_KEY, VAR_KEY, VISIBLE_KEY, WRAP_HARD, WRAP_KEY, WRAP_OFF, WRAP_SOFT

 

Fields inherited from class oracle.adf.view.rich.component.PartialUIXInputPopup
CREATE_POPUP_ID_KEY, EDIT_MODE_INPUT, EDIT_MODE_KEY, EDIT_MODE_SELECT, LAUNCH_POPUP_LISTENER_KEY, MODEL_KEY, RESULTS_TABLE_COLUMN_STRETCHING_BLANK, RESULTS_TABLE_COLUMN_STRETCHING_KEY, RESULTS_TABLE_COLUMN_STRETCHING_LAST, RESULTS_TABLE_COLUMN_STRETCHING_NONE, RETURN_POPUP_DATA_LISTENER_KEY, RETURN_POPUP_DATA_VALUE_KEY, RETURN_POPUP_LISTENER_KEY

 

Fields inherited from class org.apache.myfaces.trinidad.component.UIXEditableValue
CONVERSION_MESSAGE_ID, IMMEDIATE_KEY, LOCAL_VALUE_SET_KEY, REQUIRED_KEY, REQUIRED_MESSAGE_DETAIL_KEY, SUBMITTED_VALUE_KEY, TRINIDAD_BEAN_VALIDATION_AVAILABLE, TRINIDAD_EMPTY_VALUES_AS_NULL_PARAM_NAME, VALID_KEY, VALIDATE_EMPTY_FIELDS_PARAM_NAME, VALIDATOR_KEY, VALUE_CHANGE_LISTENER_KEY

 

Fields inherited from class org.apache.myfaces.trinidad.component.UIXValue
VALUE_KEY

 

Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY

 

Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY

 

Constructor Summary
  RichDynamicComponent()
          Construct an instance of the RichDynamicComponent.
protected RichDynamicComponent(String rendererType)
          Construct an instance of the RichDynamicComponent.

 

Method Summary
 void addActionListener(javax.faces.event.ActionListener listener)
          Adds a action listener.
 void addConverter(javax.faces.convert.Converter converter)
           
 void addReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
          Adds a return listener.
 void broadcast(javax.faces.event.FacesEvent event)
          
protected  boolean compareCollectionValues(Object previous, Object value)
           
protected  boolean compareValues(Object previous, Object value)
           
protected  org.apache.myfaces.trinidad.bean.FacesBean createFacesBean(String rendererType)
           
 javax.faces.el.MethodBinding getAction()
          Deprecated. 
 javax.el.MethodExpression getActionExpression()
          Gets a reference to an action method sent by the commandButton, or the static outcome of an action
 javax.faces.el.MethodBinding getActionListener()
          Deprecated. 
 javax.faces.event.ActionListener[] getActionListeners()
          Returns an array of attached action listeners.
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 List getChildren()
           
 AttributeDescriptor.ComponentType getComponentType()
           
 javax.faces.convert.Converter[] getConverters()
           
 javax.el.MethodExpression getReturnListener()
          Gets a method reference to an return listener
 org.apache.myfaces.trinidad.event.ReturnListener[] getReturnListeners()
          Returns an array of attached listeners.
protected  javax.faces.component.UISelectItems getSelectItems()
           
protected  boolean isEmpty(Object value)
           
 void queueEvent(javax.faces.event.FacesEvent e)
          Intercept queueEvent and mark the phaseId for any ActionEvents to be PhaseId.APPLY_REQUEST_VALUES.
 void removeActionListener(javax.faces.event.ActionListener listener)
          Removes a action listener.
 void removeConverter(javax.faces.convert.Converter converter)
           
 void removeReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
          Removes a return listener.
 void setAction(javax.faces.el.MethodBinding binding)
          Deprecated. 
 void setActionExpression(javax.el.MethodExpression actionExpression)
          Sets a reference to an action method sent by the commandButton, or the static outcome of an action
 void setActionListener(javax.faces.el.MethodBinding actionListener)
          Deprecated. 
 void setReturnListener(javax.faces.el.MethodBinding binding)
          Deprecated. 
 void setReturnListener(javax.el.MethodExpression returnListener)
          Sets a method reference to an return listener

 

Methods inherited from class oracle.adf.view.rich.component.rich.PartialRichDynamicComponent
addClientBehavior, getAccessKey, getAttributeModel, getAutoComplete, getChangedDesc, getChooseId, getClientAttributes, getClientBehaviors, getClientListeners, getColumns, getContentDelivery, getContentStyle, getContext, getCustomActions, getCustomizationId, getDefaultEventName, getDimensionsFrom, getDisabledDays, getDisabledDaysOfWeek, getDisabledMonths, getEditable, getEventNames, getFamily, getGroup, getHelp, getHelpTopicId, getInlineStyle, getItems, getLabel, getLabelStyle, getLayout, getLazySelectedLabels, getMaximumLength, getMaxValue, getMinValue, getMode, getNullValueMeans, getPartialTriggers, getPlaceholder, getPopupTitle, getRecentItems, getResultsTable, getRows, getSearchContent, getSearchDesc, getSearchDialog, getShortDesc, getSize, getSpellCheck, getStyleClass, getText, getTimeZoneList, getUnsecure, getUnselectedLabel, getUsage, getVar, getWrap, isAutoSubmit, isAutoTab, isChanged, isClientComponent, isDisabled, isReadOnly, isSecret, isSelectAllVisible, isShowRequired, isSimple, isValuePassThru, isVisible, setAccessKey, setAttributeModel, setAutoComplete, setAutoSubmit, setAutoTab, setChanged, setChangedDesc, setChooseId, setClientAttributes, setClientComponent, setClientListeners, setColumns, setContentDelivery, setContentStyle, setContext, setCustomActions, setCustomizationId, setDimensionsFrom, setDisabled, setDisabledDays, setDisabledDaysOfWeek, setDisabledMonths, setEditable, setGroup, setHelp, setHelpTopicId, setInlineStyle, setItems, setLabel, setLabelStyle, setLayout, setLazySelectedLabels, setMaximumLength, setMaxValue, setMinValue, setMode, setNullValueMeans, setPartialTriggers, setPlaceholder, setPopupTitle, setReadOnly, setRecentItems, setResultsTable, setRows, setSearchContent, setSearchDesc, setSearchDialog, setSecret, setSelectAllVisible, setShortDesc, setShowRequired, setSimple, setSize, setSpellCheck, setStyleClass, setText, setTimeZoneList, setUnsecure, setUnselectedLabel, setUsage, setValuePassThru, setVar, setVisible, setWrap

 

Methods inherited from class oracle.adf.view.rich.component.UIXInputPopup
decode, encodeBegin, getRenderedFacetsAndChildren, getUniqueIdForCollectionModel, invokeOnComponent, satisfiesPartialTrigger, setLaunchPopupListener, setReturnPopupDataListener, setReturnPopupListener, validateValue

 

Methods inherited from class oracle.adf.view.rich.component.PartialUIXInputPopup
addLaunchPopupListener, addReturnPopupDataListener, addReturnPopupListener, getCreatePopupId, getEditMode, getLaunchPopupListener, getLaunchPopupListeners, getModel, getResultsTableColumnStretching, getReturnPopupDataListener, getReturnPopupDataListeners, getReturnPopupDataValue, getReturnPopupListener, getReturnPopupListeners, removeLaunchPopupListener, removeReturnPopupDataListener, removeReturnPopupListener, setCreatePopupId, setEditMode, setLaunchPopupListener, setModel, setResultsTableColumnStretching, setReturnPopupDataListener, setReturnPopupDataValue, setReturnPopupListener

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXEditableValue
addValidator, addValueChangeListener, getConvertedValue, getRequiredMessageDetail, getRequiredMessageKey, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setImmediate, setLocalValueSet, setRequired, setRequiredMessageDetail, setSubmittedValue, setValid, setValidator, setValueChangeListener, shouldInterpretEmptyStringSubmittedValuesAsNull, shouldValidateEmptyFields, updateModel, validate

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXValue
getConverter, getLocalValue, getValue, setConverter, setValue

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearInitialState, decodeChildren, decodeChildrenImpl, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent
addPartialTarget, clearCachedClientIds, clearCachedClientIds, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTree

 

Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView

 

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 org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

CONVERTERS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTERS_KEY

CONVERTER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONVERTER_KEY

VALIDATORS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey VALIDATORS_KEY

COMPONENT_TYPE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey COMPONENT_TYPE_KEY

ACTION_EXPRESSION_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTION_EXPRESSION_KEY

ACTION_LISTENER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTION_LISTENER_KEY

RETURN_LISTENER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RETURN_LISTENER_KEY

REQUIRED_MESSAGE_ID

public static final String REQUIRED_MESSAGE_ID
See Also:
Constant Field Values

UNSUPPORTED_MODEL_TYPE_MESSAGE_ID

public static final String UNSUPPORTED_MODEL_TYPE_MESSAGE_ID
See Also:
Constant Field Values

Constructor Detail

RichDynamicComponent

public RichDynamicComponent()
Construct an instance of the RichDynamicComponent.

RichDynamicComponent

protected RichDynamicComponent(String rendererType)
Construct an instance of the RichDynamicComponent.

Method Detail

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class PartialRichDynamicComponent

isEmpty

protected boolean isEmpty(Object value)
Overrides:
isEmpty in class org.apache.myfaces.trinidad.component.UIXEditableValue

compareValues

protected boolean compareValues(Object previous,
                                Object value)
Overrides:
compareValues in class org.apache.myfaces.trinidad.component.UIXEditableValue
Returns:
true if the values are different

compareCollectionValues

protected boolean compareCollectionValues(Object previous,
                                          Object value)

getReturnListener

public final javax.el.MethodExpression getReturnListener()
Gets a method reference to an return listener
Returns:
the new returnListener value

setReturnListener

public final void setReturnListener(javax.el.MethodExpression returnListener)
Sets a method reference to an return listener
Parameters:
returnListener - the new returnListener value

setReturnListener

@Deprecated
public void setReturnListener(javax.faces.el.MethodBinding binding)
Deprecated. 

getAction

@Deprecated
public javax.faces.el.MethodBinding getAction()
Deprecated. 
Specified by:
getAction in interface javax.faces.component.ActionSource

setAction

@Deprecated
public void setAction(javax.faces.el.MethodBinding binding)
Deprecated. 
Specified by:
setAction in interface javax.faces.component.ActionSource

getActionExpression

public final javax.el.MethodExpression getActionExpression()
Gets a reference to an action method sent by the commandButton, or the static outcome of an action
Specified by:
getActionExpression in interface javax.faces.component.ActionSource2
Returns:
the new actionExpression value

setActionExpression

public final void setActionExpression(javax.el.MethodExpression actionExpression)
Sets a reference to an action method sent by the commandButton, or the static outcome of an action
Specified by:
setActionExpression in interface javax.faces.component.ActionSource2
Parameters:
actionExpression - the new actionExpression value

getActionListener

@Deprecated
public final javax.faces.el.MethodBinding getActionListener()
Deprecated. 
Gets a method reference to an action listener
Specified by:
getActionListener in interface javax.faces.component.ActionSource
Returns:
the new actionListener value

setActionListener

@Deprecated
public final void setActionListener(javax.faces.el.MethodBinding actionListener)
Deprecated. 
Sets a method reference to an action listener
Specified by:
setActionListener in interface javax.faces.component.ActionSource
Parameters:
actionListener - the new actionListener value

addActionListener

public final void addActionListener(javax.faces.event.ActionListener listener)
Adds a action listener.
Specified by:
addActionListener in interface javax.faces.component.ActionSource
Parameters:
listener - the action listener to add

removeActionListener

public final void removeActionListener(javax.faces.event.ActionListener listener)
Removes a action listener.
Specified by:
removeActionListener in interface javax.faces.component.ActionSource
Parameters:
listener - the action listener to remove

getActionListeners

public final javax.faces.event.ActionListener[] getActionListeners()
Returns an array of attached action listeners.
Specified by:
getActionListeners in interface javax.faces.component.ActionSource
Returns:
an array of attached action listeners.

addReturnListener

public final void addReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
Adds a return listener.
Parameters:
listener - the return listener to add

removeReturnListener

public final void removeReturnListener(org.apache.myfaces.trinidad.event.ReturnListener listener)
Removes a return listener.
Parameters:
listener - the return listener to remove

getReturnListeners

public final org.apache.myfaces.trinidad.event.ReturnListener[] getReturnListeners()
Returns an array of attached listeners.
Returns:
an array of attached listeners.

queueEvent

public void queueEvent(javax.faces.event.FacesEvent e)

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

Overrides:
queueEvent in class UIXInputPopup

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class UIXInputPopup
Throws:
javax.faces.event.AbortProcessingException

createFacesBean

protected org.apache.myfaces.trinidad.bean.FacesBean createFacesBean(String rendererType)
Overrides:
createFacesBean in class org.apache.myfaces.trinidad.component.UIXComponentBase

getComponentType

public AttributeDescriptor.ComponentType getComponentType()

addConverter

public void addConverter(javax.faces.convert.Converter converter)

getConverters

public javax.faces.convert.Converter[] getConverters()

removeConverter

public void removeConverter(javax.faces.convert.Converter converter)

getChildren

public List getChildren()
Overrides:
getChildren in class org.apache.myfaces.trinidad.component.UIXComponentBase

getSelectItems

protected javax.faces.component.UISelectItems getSelectItems()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


Copyright © 2013 Oracle Corporation. All Rights Reserved.