Package | Description |
---|---|
oracle.adf.view.rich.render |
Modifier and Type | Method and Description |
---|---|
ClientComponent |
RichRenderingContext.addClientComponent(ClientComponent.Type type, ClientMetadata metadata, String constructorName, String clientId)
Creates a ClientComponent of a specified type, metadata, constructor, and ID.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RichRenderer.delegateRenderer(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean, org.apache.myfaces.trinidad.render.CoreRenderer renderer)
Delegate to a child Renderer, building attributes into the same client component.
|
protected abstract void |
RichRenderer.encodeAll(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Hook for implementing renderer-specific rendering.
|
protected <S> boolean |
RichRenderer.encodeFlattenedComponents(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.component.ComponentProcessingContext cpContext, org.apache.myfaces.trinidad.component.ComponentProcessor<S> childProcessor, S callbackContext, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Encode the flattened components.
|
protected String |
RichRenderer.getClientId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, ClientComponent client)
A convenience method to return a clientId, taking advantage of the cached value in the ClientComponent if it is available.
|
protected String |
RichRenderer.getPrependedInlineStyle(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Returns null or extra styles to prepend to the inlineStyle.
|
protected String |
RichRenderer.getVisualRootStretchingStyles(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Returns null or extra styles (that would stretch a DOM element, assuming it supports stretching) to prepend to the inlineStyle if the specified component client ID is for a component that was determined to be the visual root component.
|
protected void |
RichRenderer.renderAllRootAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
This should be called once on the root dom element.
|
protected void |
RichRenderer.renderAllRootAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean, boolean renderStyleAttrs)
Render the main renderer-specific attributes: "title", "class", "style", and all the Javascript attributes.
|
protected void |
RichRenderer.renderId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, ClientComponent client)
Renders the client ID as an "id".
|
protected void |
RichRenderer.renderRootStyleAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Deprecated.
this version of the method doesn't specify a UIComponent
|
protected void |
RichRenderer.renderRootStyleAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean, String defaultStyleClass)
Deprecated.
this version of the method doesn't specify a UIComponent
|
protected void |
RichRenderer.renderRootStyleAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Renders the root style attributes, merging in a defaultStyleClass (passed to this method) and any state style classes.
|
protected void |
RichRenderer.renderRootStyleAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean, String defaultStyleClass)
Renders the root style attributes, merging in a defaultStyleClass (passed to this method) and any state style classes.
|
protected void |
RichRenderer.renderRootStyleClasses(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean, String defaultStyleClass, List<String> stateStyleClasses)
Renders the style classes on the root DOM element.
|
protected void |
RichRenderer.renderShortDescAttribute(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc, ClientComponent client, org.apache.myfaces.trinidad.bean.FacesBean bean)
Renders the shortDesc attribute as a "title" property, and adds it to the client component.
|