|
||||||||||
| 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.IlvDHTMLViewRenderer
ilog.views.faces.dhtml.renderkit.IlvFacesViewRenderer
public class IlvFacesViewRenderer
This class is the DHTML renderer for a IlvFacesDHTMLView component.
This renderer generates an instance of the IlvFacesViewProxy JavaScript proxy class.
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer |
|---|
scriptDescriptor |
| Fields inherited from interface ilog.views.faces.dhtml.IlvDHTMLFrameworkConstants |
|---|
SESSION_ID_PREFIX, STATE_URL, STATIC_LAYERS_COUNT_PARAM, TILE_MANAGER, UPDATE_INTERVAL |
| Fields inherited from interface ilog.views.faces.IlvFrameworkConstants |
|---|
ACTION_NAME, AUTO_REFRESH, BOUNDING_BOX, CONSTRAINED_ON_CONTENTS, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TILE_SIZE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS |
| Constructor Summary | |
|---|---|
IlvFacesViewRenderer()
Creates a new IlvFacesViewRenderer instance. |
|
| Method Summary | |
|---|---|
void |
decode(FacesContext context,
UIComponent component)
Implementation of the "Apply Values from Request" phase of the JSF life cycle. |
protected void |
emitJSCreation(FacesContext context,
UIComponent component)
Emits the JavaScript proxy declaration of the component that is rendered. |
protected void |
emitJSSetProperties(FacesContext context,
UIComponent component)
Emits the setting of the properties of the JavaScript object representation. |
static String |
getRendererType()
Returns the type of this renderer. |
boolean |
getRendersChildren()
Return a flag indicating whether this renderer is responsible for rendering the children the component it is asked to render. |
IlvScriptDescriptor |
getScriptDescriptor()
Returns the script descriptor of this renderer. |
IlvScriptDescriptor |
getScriptDescriptor(UIComponent component)
Returns the script descriptor of this component. |
protected IlvFacesTiledViewRenderer |
getTiledRenderer()
Returns the renderer of a tiled view. |
protected void |
installImageMapAreaGenerator(IlvFacesDHTMLViewSupport view)
Installs the image map generator specified on all the objects contained by the manager. |
protected boolean |
isTiled(UIComponent component)
Returns true is the view is tiled, false otherwise. |
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.IlvDHTMLViewRenderer |
|---|
createDHTMLHelper, encodeRecursive |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLSizedRenderer |
|---|
emitOnLoadHandler, encodeBegin, encodeEnd, getPlaceHolderId, getReferenceNodeRef, getReferencodeNodeRef, renderAttributesDT, renderEndDT, renderStartDT |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer |
|---|
emitJSToHTML, emitResolvedDependencies, emitScriptsLoad, emitStateSavingHTMLObject, getParameterMap, getTestParameterMap, resolveDependency, resolveDependency, resolveVBDependency, resolveVBDependency, setTestParameterMap |
| Methods inherited from class javax.faces.render.Renderer |
|---|
convertClientId, encodeChildren, getConvertedValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFacesViewRenderer()
IlvFacesViewRenderer instance.
| Method Detail |
|---|
protected IlvFacesTiledViewRenderer getTiledRenderer()
public IlvScriptDescriptor getScriptDescriptor()
getScriptDescriptor in class IlvDHTMLRendererpublic IlvScriptDescriptor getScriptDescriptor(UIComponent component)
getScriptDescriptor in class IlvDHTMLRenderercomponent - The component to render
public static String getRendererType()
protected void emitJSCreation(FacesContext context,
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 IlvDHTMLRenderercontext - The current faces context.component - The component processed by this renderer.
IOException
protected void emitJSSetProperties(FacesContext context,
UIComponent component)
throws IOException
emitJSSetProperties in class IlvDHTMLViewRenderercontext - The current faces context.component - The component that is being rendered.
IOException
protected void resolveDependencies(UIComponent component,
IlvDependencyManager depManager)
resolveDependencies in class IlvDHTMLViewRenderercomponent - The component processed by this renderer.depManager - The dependency manager.
public void decode(FacesContext context,
UIComponent component)
decode in class IlvDHTMLViewRendererpublic boolean getRendersChildren()
Return a flag indicating whether this renderer is responsible for rendering the children the component it is asked to render.
This implementation returns true.
getRendersChildren in class Rendererprotected boolean isTiled(UIComponent component)
true is the view is tiled, false otherwise.
component - The component to render.
true is the view is tiled, false otherwise.protected void installImageMapAreaGenerator(IlvFacesDHTMLViewSupport view)
view - The view component.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||