|
|||||||||
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 String |
CHECKED_NODE_VALUE
The value of the request parameter for a checked node. |
static String |
CLICK_OPERATION
The value of the request parameter representing a node click operation. |
static String |
CONTEXT_MENU_OPERATION
The value of the request parameter representing a context menu operation. |
static String |
EXPAND_COLLAPSE_OPERATION
The value of the request parameter representing a node expand/collapse operation. |
static String |
NODE_KEY_SUFFIX
The nodeKey request parameter representing the key of the node responsible for the operation. |
static 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 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 String NODE_KEY_SUFFIX
public static final String NODE_OPERATION_SUFFIX
public static final String CLICK_OPERATION
public static final String CONTEXT_MENU_OPERATION
public static final String EXPAND_COLLAPSE_OPERATION
public static final String CHECKED_NODE_VALUE
public static final 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.Renderer
facesContext
- the FacesContext
component
- the JSF componentpublic void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException
TocControl
and then encodes using XSLT to transform to the required
markup.
encodeEnd
in class javax.faces.render.Renderer
facesContext
- the FacesContext
component
- the JSF component
IOException
public void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
encodeBegin
in class javax.faces.render.Renderer
facesContext
- the FacesContext
component
- the JSF componentpublic void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
encodeChildren
in class javax.faces.render.Renderer
facesContext
- the FacesContext
component
- the JSF component
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |