|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
oracle.adf.view.rich.component.PartialUIXPopup
oracle.adf.view.rich.component.UIXPopup
oracle.adf.view.rich.component.rich.PartialRichPopup
oracle.adf.view.rich.component.rich.RichPopup
public class RichPopup
Popup component.
| Nested Class Summary | |
|---|---|
static interface |
RichPopup.PopupContextCallbackMarker interface applied to the ContextCallabck for invokeOnComponent. |
static class |
RichPopup.PopupHintsServer-side representation of popup hints passed to the RichPopup's show method. |
| Field Summary | |
|---|---|
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
| 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 | |
|---|---|
|
RichPopup()Construct an instance of the RichPopup. |
protected |
RichPopup(String rendererType)Construct an instance of the RichPopup. |
| Method Summary | |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
void |
cancel()Hides the popup component and queues the (@link oracle.adf.view.rich.event.PopupCanceledEvent} pending completion of the JSF lifecycle. |
static boolean |
captureFetchRequest(javax.faces.context.FacesContext context, RichPopup popup)Called at JSP tag and Facelets handler execution time to save the client id as a scope indicator. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
javax.faces.component.UIComponent |
getParent() |
void |
hide()Hides the popup component pending completion of the JSF lifecycle. |
static boolean |
isFetchRequest(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.bean.FacesBean bean, String clientId)Called form the render phase of the popup to determine if the popup has queued a fetch event for a stamped instance during this request/reponse. |
static void |
markFetchRequest(javax.faces.context.FacesContext context, RichPopup popup)Called immediately after queuing a popup fetch event to mark a stamped instance of a popup as having queued a popup event. |
void |
queueEvent(javax.faces.event.FacesEvent event) |
void |
show(RichPopup.PopupHints hints)Causes the popup to be shown on the client pending completion of the JSF lifecycle. |
| Methods inherited from class oracle.adf.view.rich.component.UIXPopup |
|---|
processDecodes |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, 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, 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 |
| Field Detail |
|---|
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
| Constructor Detail |
|---|
public RichPopup()
protected RichPopup(String rendererType)
| Method Detail |
|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class PartialRichPopup
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class org.apache.myfaces.trinidad.component.UIXComponentBasejavax.faces.event.AbortProcessingExceptionpublic void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic void show(RichPopup.PopupHints hints)
RichPopup.PopupHints characteristics about how the popup is shown. The popup must also be in the right context when this method is invoked. Meaning that if the popup is within a UIData family component or another stamped component, the model must be positioned in order for this component's client id to be encoded with the correct context. If the show method is called before the render response phase, the popup's content will be delivered in the same request. Otherwise, the popup's content delivery will require a second trip to the server provided the content delivery is not immediate. Example:
public void showPopup(ActionEvent event)
{
UIComponent source = (UIComponent) event.getSource();
RichPopup popup = this.getPopup();
RichPopup.PopupHints hints = new RichPopup.PopupHints();
hints.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID, source)
.add(RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID, source)
.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN, RichPopup.PopupHints.AlignTypes.ALIGN_AFTER_END);
popup.show(hints);
}
hints - defines characteristics about how the popup is shownpublic void cancel()
public void hide()
public javax.faces.component.UIComponent getParent()
getParent in class org.apache.myfaces.trinidad.component.UIXComponentBase
public static boolean captureFetchRequest(javax.faces.context.FacesContext context,
RichPopup popup)
PopupFetchEvent was queued during this request/response (applies to a postback).context - faces contextpopup - not in stamped context but at tag execution timetrue if PopupFetchEvent was queued during this request
public static void markFetchRequest(javax.faces.context.FacesContext context,
RichPopup popup)
context - faces contextpopup - instance of the popup in (stamped) context
public static boolean isFetchRequest(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.bean.FacesBean bean,
String clientId)
context - faces contextbean - popup state holderclientId - id in (stamped) contexttrue if the popup has queued a fetch event.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2013 Oracle Corporation. All Rights Reserved.