org.apache.myfaces.custom.suggestajax.tablesuggestajax
Class HtmlOutputText

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.html.HtmlOutputText
                  extended by org.apache.myfaces.component.html.ext.AbstractHtmlOutputText
                      extended by org.apache.myfaces.component.html.ext.HtmlOutputText
                          extended by org.apache.myfaces.custom.suggestajax.tablesuggestajax.AbstractHtmlOutputText
                              extended by org.apache.myfaces.custom.suggestajax.tablesuggestajax.HtmlOutputText
All Implemented Interfaces:
javax.faces.component.StateHolder, javax.faces.component.ValueHolder, org.apache.myfaces.component.EventAware, org.apache.myfaces.component.ForceIdAware, org.apache.myfaces.component.UniversalProperties, org.apache.myfaces.component.UserRoleAware

public class HtmlOutputText
extends AbstractHtmlOutputText


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Constructor Summary
HtmlOutputText()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.String getFor()
          Specify the id of the dom element where the label should be put in
 java.lang.String getForValue()
          Specify the id of the dom element where the value should be put in.
 java.lang.String getLabel()
          To provide a second value in form of a label.
 void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setFor(java.lang.String forParam)
           
 void setForValue(java.lang.String forValue)
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class org.apache.myfaces.custom.suggestajax.tablesuggestajax.AbstractHtmlOutputText
encodeBegin, encodeChildren, encodeEnd, getRendersChildren
 
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlOutputText
getDir, getEnabledOnUserRole, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getTitle, getVisibleOnUserRole, isForceId, isForceIdIndex, setDir, setEnabledOnUserRole, setForceId, setForceIdIndex, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTitle, setVisibleOnUserRole
 
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlOutputText
getClientId, isRendered
 
Methods inherited from class javax.faces.component.html.HtmlOutputText
getStyle, getStyleClass, isEscape, setEscape, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

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

COMPONENT_TYPE

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

DEFAULT_RENDERER_TYPE

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

HtmlOutputText

public HtmlOutputText()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class org.apache.myfaces.component.html.ext.HtmlOutputText

getFor

public java.lang.String getFor()
Description copied from class: AbstractHtmlOutputText
Specify the id of the dom element where the label should be put in

Specified by:
getFor in class AbstractHtmlOutputText

setFor

public void setFor(java.lang.String forParam)

getForValue

public java.lang.String getForValue()
Description copied from class: AbstractHtmlOutputText
Specify the id of the dom element where the value should be put in. This value is also included in the suggested table, but only in a hidden span element following the span for the label in one row.

Specified by:
getForValue in class AbstractHtmlOutputText

setForValue

public void setForValue(java.lang.String forValue)

getLabel

public java.lang.String getLabel()
Description copied from class: AbstractHtmlOutputText
To provide a second value in form of a label. Usage like SelectItem. Label is brought to client in a hidden span element near the value.

Specified by:
getLabel in class AbstractHtmlOutputText

setLabel

public void setLabel(java.lang.String label)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class org.apache.myfaces.component.html.ext.HtmlOutputText

restoreState

public void restoreState(javax.faces.context.FacesContext facesContext,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class org.apache.myfaces.component.html.ext.HtmlOutputText


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.