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
           
static String OPTIONS_BUTTON_CANCEL
           
static String OPTIONS_BUTTON_OK
           
static String OPTIONS_CHANGED_CSS
           
static String OPTIONS_DEFAULT_LABEL
           
static String OPTIONS_EDIT_CONTAINER
           
static String OPTIONS_EDIT_CSS
           
static String OPTIONS_EDIT_EVENT
           
static String OPTIONS_FOCUS
           
static String OPTIONS_INITIAL_VALUE
           
static String OPTIONS_INPUT
           
static String OPTIONS_LABEL
           
static String OPTIONS_NONE_CSS
           
static String OPTIONS_SAVE_ON_BLUR
           
static String OPTIONS_SHOWCONTROLS
           
static String OPTIONS_STATE
           
 
Constructor Summary
InplaceInputRendererBase()
           
 
Method Summary
 String getChangedStateCss(org.richfaces.component.InplaceComponent 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

OPTIONS_EDIT_EVENT

public static final String OPTIONS_EDIT_EVENT
See Also:
Constant Field Values

OPTIONS_STATE

public static final String OPTIONS_STATE
See Also:
Constant Field Values

OPTIONS_EDIT_CONTAINER

public static final String OPTIONS_EDIT_CONTAINER
See Also:
Constant Field Values

OPTIONS_INPUT

public static final String OPTIONS_INPUT
See Also:
Constant Field Values

OPTIONS_FOCUS

public static final String OPTIONS_FOCUS
See Also:
Constant Field Values

OPTIONS_BUTTON_OK

public static final String OPTIONS_BUTTON_OK
See Also:
Constant Field Values

OPTIONS_LABEL

public static final String OPTIONS_LABEL
See Also:
Constant Field Values

OPTIONS_DEFAULT_LABEL

public static final String OPTIONS_DEFAULT_LABEL
See Also:
Constant Field Values

OPTIONS_BUTTON_CANCEL

public static final String OPTIONS_BUTTON_CANCEL
See Also:
Constant Field Values

OPTIONS_SHOWCONTROLS

public static final String OPTIONS_SHOWCONTROLS
See Also:
Constant Field Values

OPTIONS_NONE_CSS

public static final String OPTIONS_NONE_CSS
See Also:
Constant Field Values

OPTIONS_CHANGED_CSS

public static final String OPTIONS_CHANGED_CSS
See Also:
Constant Field Values

OPTIONS_EDIT_CSS

public static final String OPTIONS_EDIT_CSS
See Also:
Constant Field Values

OPTIONS_INITIAL_VALUE

public static final String OPTIONS_INITIAL_VALUE
See Also:
Constant Field Values

OPTIONS_SAVE_ON_BLUR

public static final String OPTIONS_SAVE_ON_BLUR
See Also:
Constant Field Values

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)

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.