|
||||||||||
| 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
ilog.views.diagrammer.faces.dhtml.renderkit.IlvFacesDiagrammerBaseRenderer
ilog.views.diagrammer.faces.dhtml.renderkit.IlvFacesDiagrammerViewRenderer
public class IlvFacesDiagrammerViewRenderer
This class is the DHTML renderer for a IlvFacesDHTMLDiagrammerView component.
This renderer generates an instance of the IlvDiagrammerViewProxy JavaScript proxy class.
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer |
|---|
scriptDescriptor |
| 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 |
| Fields inherited from interface ilog.views.diagrammer.faces.IlvFacesDiagrammerConstants |
|---|
DASHBOARD_DIAGRAM, DATA_SOURCE, DATA_SOURCE_ID, DATA_URL, DIAGRAMMER, EDITABLE, INPUT_XSL, OUTPUT_XSL, PARAM_CSS, PARAM_XML, PROPERTY_ACCESSOR, STYLE_SHEETS |
| Fields inherited from interface ilog.views.faces.dhtml.IlvDHTMLFrameworkConstants |
|---|
SESSION_ID_PREFIX, STATE_URL, STATIC_LAYERS_COUNT_PARAM, TILE_MANAGER, UPDATE_INTERVAL |
| Constructor Summary | |
|---|---|
IlvFacesDiagrammerViewRenderer()
Creates a new IlvFacesDiagrammerViewRenderer instance. |
|
| Method Summary | |
|---|---|
void |
decode(FacesContext context,
UIComponent component)
Implementation of the "Apply Values from Request" phase of the JSF life cycle. Decodes from the request the update data for this component, and updates the component according to this data. |
protected void |
emitJSCreation(FacesContext context,
UIComponent component)
Emits the JavaScript proxy declaration of the component that is rendered. Warning: the 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. |
protected void |
emitJSSetProperties(FacesContext context,
UIComponent component)
Emits the setting of the properties of the JavaScript object representation. |
void |
encodeBegin(FacesContext context,
UIComponent component)
This method is used in the "Render Response" phase of the JSF life cycle implementation. It handles the start of the rendering process for the specified UIComponent to the output stream or writer
associated with the response we are creating. Note that it is used at design time
only. |
static String |
getRendererType()
Returns the type of this renderer. |
protected void |
maybeSaveViewInSession(FacesContext context,
UIComponent component)
Stores in the session the bound SDM view instance to be displayed and the ID property as identifier if the view is not null. |
protected boolean |
processData(FacesContext context,
UIComponent component,
Object data)
This method processes the data property to configure the component correctly. |
protected void |
resetData(UIComponent component)
Resets the data property to properly remove the configuration of a specific component. |
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.diagrammer.faces.dhtml.renderkit.IlvFacesDiagrammerBaseRenderer |
|---|
getScriptDescriptor, getScriptDescriptor, getTiledRenderer, installImageMapAreaGenerator, maybeSaveViewInsession |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvFacesViewRenderer |
|---|
getRendersChildren, isTiled |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLViewRenderer |
|---|
createDHTMLHelper, encodeRecursive |
| Methods inherited from class ilog.views.faces.dhtml.renderkit.IlvDHTMLSizedRenderer |
|---|
emitOnLoadHandler, 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 IlvFacesDiagrammerViewRenderer()
IlvFacesDiagrammerViewRenderer instance.
| Method Detail |
|---|
public static String getRendererType()
protected void resolveDependencies(UIComponent component,
IlvDependencyManager depManager)
resolveDependencies in class IlvFacesViewRenderercomponent - The component processed by this renderer.depManager - The dependency manager.
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 IlvFacesDiagrammerBaseRenderercontext - The current faces context.component - The component processed by this renderer.
IOException
protected void emitJSSetProperties(FacesContext context,
UIComponent component)
throws IOException
emitJSSetProperties in class IlvFacesViewRenderercontext - The current faces context.component - The component that is being rendered.
IOException
public void encodeBegin(FacesContext context,
UIComponent component)
throws IOException
UIComponent to the output stream or writer
associated with the response we are creating. Note that it is used at design time
only.
encodeBegin in class IlvDHTMLSizedRendererIOException
public void decode(FacesContext context,
UIComponent component)
decode in class IlvFacesViewRenderer
protected void resetData(UIComponent component)
throws Exception
component - The component that is being rendered.
Exception
protected boolean processData(FacesContext context,
UIComponent component,
Object data)
throws Exception
context - The faces context.component - The component that is being rendered.data - The data to set.
true is returned.
Exception
protected void maybeSaveViewInSession(FacesContext context,
UIComponent component)
null.
maybeSaveViewInSession in class IlvFacesDiagrammerBaseRenderercontext - The current faces context.component - The component that is being rendered.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||