Richfaces UI Components UI 4.1.0.20110910-M2

org.richfaces.renderkit.html
Class PanelMenuGroupRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.richfaces.renderkit.RendererBase
          extended by org.richfaces.renderkit.html.DivPanelRenderer
              extended by org.richfaces.renderkit.html.PanelMenuGroupRenderer

public class PanelMenuGroupRenderer
extends DivPanelRenderer

Since:
2010-10-25
Author:
akolonitsky

Field Summary
static java.lang.String BEFORE_COLLAPSE
           
static java.lang.String BEFORE_EXPAND
           
static java.lang.String BEFORE_SELECT
           
static java.lang.String BEFORE_SWITCH
           
static java.lang.String COLLAPSE
           
static java.lang.String EXPAND
           
static java.lang.String SELECT
           
static java.lang.String SWITCH
           
 
Constructor Summary
PanelMenuGroupRenderer()
           
 
Method Summary
protected  void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Template method for custom decoding of concrete renderer.
protected  void doEncodeBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Template method for custom start encoding of concrete renderer.
protected  void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Template method for custom finish encoding of concrete renderer.
protected  java.lang.Class<? extends javax.faces.component.UIComponent> getComponentClass()
          Get base component slass , targetted for this renderer.
 java.lang.String getCssClass(AbstractPanelMenuItem item, java.lang.String postfix)
           
 boolean getRendersChildren()
           
protected  org.ajax4jsf.javascript.JSObject getScriptObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  java.util.Map<java.lang.String,java.lang.Object> getScriptObjectOptions(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  java.lang.String getStyleClass(javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.richfaces.renderkit.html.DivPanelRenderer
attributeAsString, attributeAsString, attributeAsStyle, attributeAsStyle, capitalize, doEncodeItemBegin, doEncodeItemEnd, getPassThroughAttributes, getStyle, styleElement, writeJavaScript
 
Methods inherited from class org.richfaces.renderkit.RendererBase
concatClasses, concatStyles, decode, encodeBegin, encodeChildren, encodeEnd, getSkin, getUtils, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLAPSE

public static final java.lang.String COLLAPSE
See Also:
Constant Field Values

EXPAND

public static final java.lang.String EXPAND
See Also:
Constant Field Values

SWITCH

public static final java.lang.String SWITCH
See Also:
Constant Field Values

BEFORE_COLLAPSE

public static final java.lang.String BEFORE_COLLAPSE
See Also:
Constant Field Values

BEFORE_EXPAND

public static final java.lang.String BEFORE_EXPAND
See Also:
Constant Field Values

BEFORE_SWITCH

public static final java.lang.String BEFORE_SWITCH
See Also:
Constant Field Values

BEFORE_SELECT

public static final java.lang.String BEFORE_SELECT
See Also:
Constant Field Values

SELECT

public static final java.lang.String SELECT
See Also:
Constant Field Values
Constructor Detail

PanelMenuGroupRenderer

public PanelMenuGroupRenderer()
Method Detail

doDecode

protected void doDecode(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component)
Description copied from class: RendererBase
Template method for custom decoding of concrete renderer. All parameters checking if performed in original decode method.

Overrides:
doDecode in class RendererBase

doEncodeBegin

protected void doEncodeBegin(javax.faces.context.ResponseWriter writer,
                             javax.faces.context.FacesContext context,
                             javax.faces.component.UIComponent component)
                      throws java.io.IOException
Description copied from class: RendererBase
Template method for custom start encoding of concrete renderer. All parameters checking and writer is performed in original encodeBegin method.

Overrides:
doEncodeBegin in class DivPanelRenderer
Throws:
java.io.IOException

getCssClass

public java.lang.String getCssClass(AbstractPanelMenuItem item,
                                    java.lang.String postfix)

getStyleClass

protected java.lang.String getStyleClass(javax.faces.component.UIComponent component)
Overrides:
getStyleClass in class DivPanelRenderer

getScriptObject

protected org.ajax4jsf.javascript.JSObject getScriptObject(javax.faces.context.FacesContext context,
                                                           javax.faces.component.UIComponent component)
Overrides:
getScriptObject in class DivPanelRenderer

getScriptObjectOptions

protected java.util.Map<java.lang.String,java.lang.Object> getScriptObjectOptions(javax.faces.context.FacesContext context,
                                                                                  javax.faces.component.UIComponent component)
Overrides:
getScriptObjectOptions in class DivPanelRenderer

doEncodeEnd

protected void doEncodeEnd(javax.faces.context.ResponseWriter writer,
                           javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
                    throws java.io.IOException
Description copied from class: RendererBase
Template method for custom finish encoding of concrete renderer. All parameters checking and writer is performed in original encodeEnd method.

Overrides:
doEncodeEnd in class DivPanelRenderer
Throws:
java.io.IOException

getComponentClass

protected java.lang.Class<? extends javax.faces.component.UIComponent> getComponentClass()
Description copied from class: RendererBase
Get base component slass , targetted for this renderer. Used for check arguments in decode/encode.

Overrides:
getComponentClass in class RendererBase
Returns:

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.render.Renderer

doEncodeChildren

protected void doEncodeChildren(javax.faces.context.ResponseWriter writer,
                                javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component)
                         throws java.io.IOException
Overrides:
doEncodeChildren in class RendererBase
Throws:
java.io.IOException

Richfaces UI Components UI 4.1.0.20110910-M2

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.