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.fragment
Class RichRegion

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 oracle.adf.view.rich.component.fragment.PartialUIXRegion
                  extended by oracle.adf.view.rich.component.fragment.UIXRegion
                      extended by oracle.adf.view.rich.component.rich.fragment.PartialRichRegion
                          extended by oracle.adf.view.rich.component.rich.fragment.RichRegion

All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class RichRegion
extends PartialRichRegion

Field Summary

 

Fields inherited from class oracle.adf.view.rich.component.rich.fragment.PartialRichRegion
CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CUSTOMIZATION_ID_KEY, DONT_PERSIST_KEY, INLINE_STYLE_KEY, PARTIAL_TRIGGERS_KEY, PERSIST_KEY, SHORT_DESC_KEY, SHOW_DISCLOSURE_KEY, SHOW_HEADER_ALWAYS, SHOW_HEADER_IF_NEEDED, SHOW_HEADER_KEY, SHOW_HEADER_NEVER, STYLE_CLASS_KEY, TEXT_KEY, TYPE, UNCOMMITTED_DATA_WARNING_KEY, UNCOMMITTED_DATA_WARNING_OFF, UNCOMMITTED_DATA_WARNING_ON, UNSECURE_KEY, VISIBLE_KEY

 

Fields inherited from class oracle.adf.view.rich.component.fragment.PartialUIXRegion
DISCLOSED_KEY, DISCLOSURE_LISTENER_KEY, HELP_TOPIC_ID_KEY, IMMEDIATE_KEY, REGION_NAVIGATION_LISTENER_KEY, 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

 

Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR

 

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

 

Method Summary
 javax.faces.component.UIComponent createMenuFacet()
          Creates a RichMenuBar component that is the top level component in the 'menu' facet, if the showHeader property is set to be anything other than 'never'.
 void createMenuFacetChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent menuBar)
          Adds the RichMenu containing the Region actions.
 void queueActionEventInRegion(javax.el.MethodExpression actionExpression, javax.el.MethodExpression launchListenerMethodExpression, javax.el.MethodExpression returnListenerMethodExpression, Boolean useWindow, Integer windowWidth, Integer windowHeight, javax.faces.event.PhaseId phaseId)
          Queues an ActionEvent so that it behaves as if you queued it on a UIXCommand component that exists inside of the region where that UIXCommand had all of these action-related settings assigned.
protected  void setupFacetsAndChildren(javax.faces.context.FacesContext context)
          Sets up the menu facet that renders a menu of RegionAction commands.

 

Methods inherited from class oracle.adf.view.rich.component.rich.fragment.PartialRichRegion
addClientBehavior, getBeanType, getClientAttributes, getClientBehaviors, getClientListeners, getCustomizationId, getDefaultEventName, getDontPersist, getEventNames, getFamily, getInlineStyle, getPartialTriggers, getPersist, getShortDesc, getShowHeader, getStyleClass, getText, getUncommittedDataWarning, getUnsecure, isClientComponent, isShowDisclosure, isVisible, setClientAttributes, setClientComponent, setClientListeners, setCustomizationId, setDontPersist, setInlineStyle, setPartialTriggers, setPersist, setShortDesc, setShowDisclosure, setShowHeader, setStyleClass, setText, setUncommittedDataWarning, setUnsecure, setVisible

 

Methods inherited from class oracle.adf.view.rich.component.fragment.UIXRegion
broadcast, decodeChildrenImpl, encodeBegin, encodeEnd, getContainerClientId, getRegionModel, invokeOnComponent, isRendered, processEvent, processRegion, queueEvent, refresh, setRegionModel, setupChildrenVisitingContext, tearDownChildrenVisitingContext, updateChildrenImpl, validateChildrenImpl, visitChildren

 

Methods inherited from class oracle.adf.view.rich.component.fragment.PartialUIXRegion
addDisclosureListener, addRegionNavigationListener, getDisclosureListener, getDisclosureListeners, getHelpTopicId, getRegionNavigationListener, getRegionNavigationListeners, getValue, isDisclosed, isImmediate, removeDisclosureListener, removeRegionNavigationListener, setDisclosed, setDisclosureListener, setHelpTopicId, setImmediate, setRegionNavigationListener, setValue

 

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

 

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, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitTree, visitTree

 

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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

RichRegion

public RichRegion()
Construct an instance of the RichRegion.

RichRegion

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

Method Detail

queueActionEventInRegion

public void queueActionEventInRegion(javax.el.MethodExpression actionExpression,
                                     javax.el.MethodExpression launchListenerMethodExpression,
                                     javax.el.MethodExpression returnListenerMethodExpression,
                                     Boolean useWindow,
                                     Integer windowWidth,
                                     Integer windowHeight,
                                     javax.faces.event.PhaseId phaseId)
Queues an ActionEvent so that it behaves as if you queued it on a UIXCommand component that exists inside of the region where that UIXCommand had all of these action-related settings assigned.
Parameters:
actionExpression - a reference to an action method sent by the command component, or the static outcome of an action
launchListenerMethodExpression - the launch listener that will be used to create a method expression if the action corresponds to a dialog navigation
returnListenerMethodExpression - the return listener that will be used to create a method expression if the action corresponds to a dialog navigation
useWindow - whether processes launched by this command should be launched in a secondary dialog window. "useWindow" works only in the case of dialogs i.e, if the "action" starts with a "dialog:". Setting useWindow to "false" for the dialog to be opened in the existing window is not possible for regions since regions require fragment content when inline.
windowWidth - the width of the window, if this command is used to launch a window
windowHeight - the height of the window, if this command is used to launch a window
phaseId - the ID of the phase the action event should be executed

setupFacetsAndChildren

protected void setupFacetsAndChildren(javax.faces.context.FacesContext context)
Sets up the menu facet that renders a menu of RegionAction commands.
Overrides:
setupFacetsAndChildren in class UIXRegion

createMenuFacet

public javax.faces.component.UIComponent createMenuFacet()
Creates a RichMenuBar component that is the top level component in the 'menu' facet, if the showHeader property is set to be anything other than 'never'. This method does not create the facet's children. See createMenuFacetChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent).
Returns:
UIComponent a RichMenubar instance that is the 'menu' facet.

createMenuFacetChildren

public void createMenuFacetChildren(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent menuBar)
Adds the RichMenu containing the Region actions. When this method is called, the region component is expected to be in the right context for processing its children.
Parameters:
context -
menuBar - the component in the 'menu' facet

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.