org.richfaces.renderkit
Class InplaceInputRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.richfaces.renderkit.RendererBase
          extended by org.richfaces.renderkit.InputRendererBase
              extended by org.richfaces.renderkit.InplaceInputRendererBase
Direct Known Subclasses:
InplaceInputRenderer, InplaceSelectRendererBase

public class InplaceInputRendererBase
extends InputRendererBase

Author:
Anton Belevich

Field Summary
protected static Map<String,ComponentAttribute> INPLACE_INPUT_HANDLER_ATTRIBUTES
           
 
Constructor Summary
InplaceInputRendererBase()
           
 
Method Summary
 String getChangedStateCss(org.richfaces.component.InplaceComponent component)
           
 String getContainerStyleClasses(javax.faces.component.UIComponent component)
           
 String getDisableStateCss(org.richfaces.component.InplaceComponent component)
           
 String getEditCss(org.richfaces.component.InplaceComponent component)
           
protected  String getEditEvent(javax.faces.component.UIComponent component)
           
 String getEditStateCss(org.richfaces.component.InplaceComponent component)
           
 String getEditStyleClass(javax.faces.component.UIComponent component, org.richfaces.component.InplaceState inplaceState)
           
 org.richfaces.component.InplaceState getInplaceState(javax.faces.component.UIComponent component)
           
protected  String getInputWidth(javax.faces.component.UIComponent component)
           
 String getNoneCss(org.richfaces.component.InplaceComponent component)
           
 String getReadyStateCss(org.richfaces.component.InplaceComponent component)
           
 String getResourcePath(javax.faces.context.FacesContext context, String library, String resourceName)
           
 String getStateStyleClass(javax.faces.component.UIComponent component, org.richfaces.component.InplaceState inplaceState)
           
 String getValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void renderInputHandlers(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.richfaces.renderkit.InputRendererBase
doDecode, getConvertedValue, getInputValue
 
Methods inherited from class org.richfaces.renderkit.RendererBase
concatClasses, concatStyles, decode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getSkin, getUtils, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPLACE_INPUT_HANDLER_ATTRIBUTES

protected static final Map<String,ComponentAttribute> INPLACE_INPUT_HANDLER_ATTRIBUTES
Constructor Detail

InplaceInputRendererBase

public InplaceInputRendererBase()
Method Detail

renderInputHandlers

public void renderInputHandlers(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent component)
                         throws IOException
Throws:
IOException

getInplaceState

public org.richfaces.component.InplaceState getInplaceState(javax.faces.component.UIComponent component)

getValue

public String getValue(javax.faces.context.FacesContext facesContext,
                       javax.faces.component.UIComponent component)
                throws IOException
Throws:
IOException

getResourcePath

public String getResourcePath(javax.faces.context.FacesContext context,
                              String library,
                              String resourceName)

getStateStyleClass

public String getStateStyleClass(javax.faces.component.UIComponent component,
                                 org.richfaces.component.InplaceState inplaceState)

getContainerStyleClasses

public String getContainerStyleClasses(javax.faces.component.UIComponent component)

getEditStyleClass

public String getEditStyleClass(javax.faces.component.UIComponent component,
                                org.richfaces.component.InplaceState inplaceState)

getReadyStateCss

public String getReadyStateCss(org.richfaces.component.InplaceComponent component)

getEditStateCss

public String getEditStateCss(org.richfaces.component.InplaceComponent component)

getChangedStateCss

public String getChangedStateCss(org.richfaces.component.InplaceComponent component)

getDisableStateCss

public String getDisableStateCss(org.richfaces.component.InplaceComponent component)

getEditCss

public String getEditCss(org.richfaces.component.InplaceComponent component)

getNoneCss

public String getNoneCss(org.richfaces.component.InplaceComponent component)

getInputWidth

protected String getInputWidth(javax.faces.component.UIComponent component)

getEditEvent

protected String getEditEvent(javax.faces.component.UIComponent component)


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