|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.Renderer
ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer
ilog.views.faces.dhtml.renderkit.IlvDHTMLSizedRenderer
ilog.views.faces.dhtml.renderkit.IlvDHTMLImageButtonRenderer
public class IlvDHTMLImageButtonRenderer
The IlvDHTMLImageButtonRenderer is the renderer designed to render an
IlvDHTMLImageButton component.
This renderer generates an instance of the IlvImageButtonProxy JavaScript proxy class.
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer |
|---|
scriptDescriptor |
| Constructor Summary | |
|---|---|
IlvDHTMLImageButtonRenderer()
Creates a new IlvDHTMLImageButtonRenderer instance. |
|
| Method Summary | |
|---|---|
void |
decode(FacesContext context,
UIComponent component)
The "Apply Request Values" phase of JSF life cycle implementation. |
protected void |
emitJSCreation(FacesContext facesContext,
UIComponent component)
Emits the JavaScript proxy declaration of the component that is rendered. |
protected void |
emitJSSetProperties(FacesContext facesContext,
UIComponent component)
Emits the setting of the properties of the JavaScript object representation. |
protected UIForm |
getParentForm(FacesContext context,
UICommand command)
Deprecated. Beginning with JViews 8.1, UIComponent might be contain
in forms not inheriting from UIForm. Use
IlvRendererUtil.getFormClientId(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
instead. |
static String |
getRendererType()
Returns the type of this renderer. |
protected void |
renderAttributesDT(FacesContext context,
UIComponent component,
ResponseWriter out)
Renders the tag attributes of the component representation during the design time. This method is called by the encodeBegin method
if we are in design time mode. |
protected void |
renderEndDT(FacesContext context,
UIComponent component,
ResponseWriter out)
Closes the DIV opened in the renderStartDT method. |
protected void |
renderStartDT(FacesContext context,
UIComponent component,
ResponseWriter out)
Renders a DIV tag to represent the sized component in design time mode. |
protected void |
resolveDependencies(UIComponent component,
IlvDependencyManager depManager)
Resolves the dependencies needed by this component or register listeners on the dependency manager if some dependencies cannot be resolved. |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLSizedRenderer |
|---|
emitOnLoadHandler, encodeBegin, encodeEnd, getPlaceHolderId, getReferenceNodeRef, getReferencodeNodeRef |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer |
|---|
emitJSToHTML, emitResolvedDependencies, emitScriptsLoad, emitStateSavingHTMLObject, getParameterMap, getScriptDescriptor, getScriptDescriptor, getTestParameterMap, resolveDependency, resolveDependency, resolveVBDependency, resolveVBDependency, setTestParameterMap |
| Methods inherited from class javax.faces.render.Renderer |
|---|
convertClientId, encodeChildren, getConvertedValue, getRendersChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDHTMLImageButtonRenderer()
IlvDHTMLImageButtonRenderer instance.
| Method Detail |
|---|
public static String getRendererType()
protected void renderStartDT(FacesContext context,
UIComponent component,
ResponseWriter out)
throws IOException
DIV tag to represent the sized component in design time mode.
renderStartDT in class IlvDHTMLSizedRenderercontext - The current faces context.component - The component processed by this renderer.out - The response writer.
IOException
protected void renderEndDT(FacesContext context,
UIComponent component,
ResponseWriter out)
throws IOException
DIV opened in the renderStartDT method.
renderEndDT in class IlvDHTMLSizedRenderercontext - The current faces context.component - The component processed by this renderer.out - The response writer.
IOException
protected void renderAttributesDT(FacesContext context,
UIComponent component,
ResponseWriter out)
throws IOException
encodeBegin method
if we are in design time mode.
renderAttributesDT in class IlvDHTMLSizedRenderercontext - The current faces context.component - The component processed by this renderer.out - The response writer.
IOException
protected void emitJSCreation(FacesContext facesContext,
UIComponent component)
throws IOException
toHTML must NOT be generated here. The ID of
the JavaScript object must be the client ID of the component. It must be
called by the subclass.
emitJSCreation in class IlvDHTMLRendererfacesContext - The current faces context.component - The component processed by this renderer.
IOException
protected void emitJSSetProperties(FacesContext facesContext,
UIComponent component)
throws IOException
emitJSSetProperties in class IlvDHTMLRendererfacesContext - The current faces context.component - The component processed by this renderer.
IOException
protected UIForm getParentForm(FacesContext context,
UICommand command)
UIComponent might be contain
in forms not inheriting from UIForm. Use
IlvRendererUtil.getFormClientId(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
instead.
null otherwise.
context - The faces context.command - The base component to start the search with.
null if not found.
protected void resolveDependencies(UIComponent component,
IlvDependencyManager depManager)
resolveDependencies in class IlvDHTMLRenderercomponent - The component processed by this renderer.depManager - The dependency manager.
public void decode(FacesContext context,
UIComponent component)
decode in class IlvDHTMLSizedRenderer
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||