|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RichRenderingContext
Interface for rich client specific rendering operations. A RichRenderingContext can be retrieved from a RenderingContext with RichRenderer.getRichRenderingContext(org.apache.myfaces.trinidad.context.RenderingContext)
.
Method Summary | |
---|---|
ClientComponent |
addClientComponent(ClientComponent.Type type, ClientMetadata metadata, java.lang.String constructorName, java.lang.String clientId) Creates a ClientComponent of a specified type, metadata, constructor, and ID. |
void |
addClientIcon(java.lang.String iconKey, java.lang.String altText) Sends an icon to the client. |
void |
addClientSkinProperty(java.lang.String propertyKey, java.lang.Object propertyValue) Sends a skin property to the client. |
void |
addFeature(java.lang.String featureName) Adds a dependency on the specified feature, ensuring that the corresponding JavaScript code is provided. |
void |
addStreamingComponent(javax.faces.component.UIComponent targetComponent, java.lang.Object fetchConstraint, ClientEvent fetchEvent) Marks a component as taking part in data streaming. |
boolean |
getClientComponentsForced() Returns true if client components should currently be generated for all server components. |
ClientEncoder |
getClientEncoder() Returns the appropriate client encoder for marshalling objects to the client environement |
java.lang.String |
getContextualText() Retrieve contextual text generated by a stamping component during render response phase for use by stamped child components |
boolean |
getLazyDataFetchAllowed(javax.faces.component.UIComponent component) Determines whether lazey data fetch is allowed |
SuppressId |
getSuppressIdHint(javax.faces.component.UIComponent component) Returns a hint indicating what type of id suppression is allowed for the specified component. |
java.lang.String |
getTheme() Get the current component theme. |
java.lang.String |
popTheme() Pop the current theme from the component theme stack. |
void |
pushTheme(java.lang.String theme) Set the current component theme by pushing a theme onto the theme stack. |
Method Detail |
---|
ClientComponent addClientComponent(ClientComponent.Type type, ClientMetadata metadata, java.lang.String constructorName, java.lang.String clientId) throws java.io.IOException
java.io.IOException
boolean getClientComponentsForced()
true
if client components should currently be generated for all server components.
An example of when this is true is when testing automation is enabled
true
if client components should currently be generated for all server components.void addClientIcon(java.lang.String iconKey, java.lang.String altText)
void addClientSkinProperty(java.lang.String propertyKey, java.lang.Object propertyValue)
void addStreamingComponent(javax.faces.component.UIComponent targetComponent, java.lang.Object fetchConstraint, ClientEvent fetchEvent)
targetComponent
- Component to register for streaming datafetchConstraint
- Optional Serializable criteria to pass to AsyncFetch model when the data is actually fetched while streaming.fetchEvent
- Optional event made available when the targetComponent is rendering the result of the stremaing data fetch. The event must not have the component property specified since this event must last between requests. Components already supporting client fetch events can use a single code path for both their fetch events and their streaming events by passing their fetch ClientEvent here.java.lang.IllegalArgumentException
- if targetComponent isn't specified, the fetchConstraint is specified but not Serializable or the fetchEvent has the component property set.AsyncFetch
java.lang.String getTheme()
pushTheme(String)
void pushTheme(java.lang.String theme)
theme
- the theme to push onto the stackpopTheme()
java.lang.String popTheme()
pushTheme(String)
ClientEncoder getClientEncoder()
void addFeature(java.lang.String featureName)
featureName
- Name of a feature defined by an adf-js-features.xml configuration file.boolean getLazyDataFetchAllowed(javax.faces.component.UIComponent component)
component
-true
if the lazy data fetch is allowed for the componentSuppressId getSuppressIdHint(javax.faces.component.UIComponent component)
component
- the component to checkSuppressId
java.lang.String getContextualText()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |