|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.render.Renderer
com.esri.adf.web.faces.renderkit.xml.TocRenderer
public class TocRenderer
A renderer for the TocControl. Generates an XML representation of the control and then uses XSLT to
transform it to the required markup.
| Field Summary | |
|---|---|
static java.lang.String |
CHECKED_NODE_VALUE
The value of the request parameter for a checked node. |
static java.lang.String |
CLICK_OPERATION
The value of the request parameter representing a node click operation. |
static java.lang.String |
CONTEXT_MENU_OPERATION
The value of the request parameter representing a context menu operation. |
static java.lang.String |
EXPAND_COLLAPSE_OPERATION
The value of the request parameter representing a node expand/collapse operation. |
static java.lang.String |
NODE_KEY_SUFFIX
The nodeKey request parameter representing the key of the node responsible for the operation. |
static java.lang.String |
NODE_OPERATION_SUFFIX
The request parameter "nodeOperation" must equal 0 for an expand/collapse operation, 1 for a check/uncheck operation, 2 for a context menu operation, or an integer other than -1, 0, 1 or 2 for a custom operation. |
static java.lang.String |
UNCHECKED_NODE_VALUE
The value of the request parameter for an unchecked node. |
| Constructor Summary | |
|---|---|
TocRenderer()
|
|
| Method Summary | |
|---|---|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Determines if the associated TOC has to handle this event. |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Begin the encoding of a given context. |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Encodes the children of a given context. |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Generates an XML representation of the TocControl and then encodes using XSLT to transform to the required
markup. |
| Methods inherited from class javax.faces.render.Renderer |
|---|
convertClientId, getConvertedValue, getRendersChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NODE_KEY_SUFFIX
public static final java.lang.String NODE_OPERATION_SUFFIX
public static final java.lang.String CLICK_OPERATION
public static final java.lang.String CONTEXT_MENU_OPERATION
public static final java.lang.String EXPAND_COLLAPSE_OPERATION
public static final java.lang.String CHECKED_NODE_VALUE
public static final java.lang.String UNCHECKED_NODE_VALUE
| Constructor Detail |
|---|
public TocRenderer()
| Method Detail |
|---|
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
decode in class javax.faces.render.RendererfacesContext - the FacesContextcomponent - the JSF component
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
TocControl and then encodes using XSLT to transform to the required
markup.
encodeEnd in class javax.faces.render.RendererfacesContext - the FacesContextcomponent - the JSF component
java.io.IOException
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
encodeBegin in class javax.faces.render.RendererfacesContext - the FacesContextcomponent - the JSF component
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
encodeChildren in class javax.faces.render.RendererfacesContext - the FacesContextcomponent - the JSF component
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||