public class RichRegion extends PartialRichRegion
CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CONTENT_DELIVERY_IMMEDIATE, CONTENT_DELIVERY_KEY, CONTENT_DELIVERY_LAZY_UNCACHED, CUSTOMIZATION_ID_KEY, DONT_PERSIST_KEY, INLINE_STYLE_KEY, MAXIMIZE_LISTENER_KEY, MAXIMIZED_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, SHOW_MAXIMIZE_ALWAYS, SHOW_MAXIMIZE_AUTO, SHOW_MAXIMIZE_KEY, SHOW_MAXIMIZE_NEVER, STYLE_CLASS_KEY, TEXT_KEY, TYPE, UNCOMMITTED_DATA_WARNING_KEY, UNCOMMITTED_DATA_WARNING_OFF, UNCOMMITTED_DATA_WARNING_ON, UNSECURE_KEY, VISIBLE_KEY
DISCLOSED_KEY, DISCLOSURE_LISTENER_KEY, HELP_TOPIC_ID_KEY, IMMEDIATE_KEY, REGION_NAVIGATION_LISTENER_KEY, VALUE_KEY
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Modifier | Constructor and Description |
---|---|
|
RichRegion()
Construct an instance of the RichRegion.
|
protected |
RichRegion(String rendererType)
Construct an instance of the RichRegion.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addClientBehavior, getBeanType, getClientAttributes, getClientBehaviors, getClientListeners, getContentDelivery, getCustomizationId, getDefaultEventName, getDontPersist, getEventNames, getFamily, getInlineStyle, getMaximizeListener, getPartialTriggers, getPersist, getShortDesc, getShowHeader, getShowMaximize, getStyleClass, getText, getUncommittedDataWarning, getUnsecure, isClientComponent, isMaximized, isShowDisclosure, isVisible, setClientAttributes, setClientComponent, setClientListeners, setContentDelivery, setCustomizationId, setDontPersist, setInlineStyle, setMaximized, setMaximizeListener, setPartialTriggers, setPersist, setShortDesc, setShowDisclosure, setShowHeader, setShowMaximize, setStyleClass, setText, setUncommittedDataWarning, setUnsecure, setVisible
broadcast, decodeChildrenImpl, encodeBegin, encodeEnd, getContainerClientId, getRegionModel, getUpdatedRegionEvent, invokeOnComponent, isRemoteRegionModel, isRendered, processEvent, processRegion, queueEvent, refresh, setRegionModel, setupChildrenVisitingContext, tearDownChildrenVisitingContext, updateChildrenImpl, validateChildrenImpl, visitChildren
addDisclosureListener, addRegionNavigationListener, addRegionRemoteRefreshListener, getDisclosureListener, getDisclosureListeners, getHelpTopicId, getRegionNavigationListener, getRegionNavigationListeners, getRegionRemoteRefreshListeners, getValue, isDisclosed, isImmediate, removeDisclosureListener, removeRegionNavigationListener, removeRegionRemoteRefreshListener, setDisclosed, setDisclosureListener, setHelpTopicId, setImmediate, setRegionNavigationListener, setValue
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, 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
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public RichRegion()
protected RichRegion(String rendererType)
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)
actionExpression
- a reference to an action method sent by the command component, or the static outcome of an actionlaunchListenerMethodExpression
- the launch listener that will be used to create a method expression if the action corresponds to a dialog navigationreturnListenerMethodExpression
- the return listener that will be used to create a method expression if the action corresponds to a dialog navigationuseWindow
- 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 windowwindowHeight
- the height of the window, if this command is used to launch a windowphaseId
- the ID of the phase the action event should be executedprotected void setupFacetsAndChildren(javax.faces.context.FacesContext context)
setupFacetsAndChildren
in class UIXRegion
public javax.faces.component.UIComponent createMenuFacet()
createMenuFacetChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
.public void createMenuFacetChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent menuBar)
context
-menuBar
- the component in the 'menu' facet