org.apache.myfaces.custom.suggest
Class AbstractInputSuggest

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.UIInput
                  extended by javax.faces.component.html.HtmlInputText
                      extended by org.apache.myfaces.custom.suggest.AbstractInputSuggest
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, org.apache.myfaces.component.ForceIdAware, org.apache.myfaces.component.LocationAware
Direct Known Subclasses:
InputSuggest

public abstract class AbstractInputSuggest
extends javax.faces.component.html.HtmlInputText
implements org.apache.myfaces.component.ForceIdAware, org.apache.myfaces.component.LocationAware

Provides an input textbox with "suggest" functionality.


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
AbstractInputSuggest()
           
 
Method Summary
abstract  java.lang.String getImageLocation()
          Gets An alternate location to find image resources.
abstract  java.lang.String getJavascriptLocation()
          Gets An alternate location to find javascript resources.
abstract  java.lang.String getStyleLocation()
          Gets An alternate location to find stylesheet resources.
abstract  boolean isForceId()
          Gets If true, this component will force the use of the specified id when rendering.
abstract  boolean isForceIdIndex()
          Gets If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)
abstract  void setForceId(boolean forceId)
           
 
Methods inherited from class javax.faces.component.html.HtmlInputText
getAccesskey, getAlt, getDir, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, restoreState, saveState, setAccesskey, setAlt, setDir, setDisabled, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, 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
 
Methods inherited from interface org.apache.myfaces.component.ForceIdAware
setForceIdIndex
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

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

AbstractInputSuggest

public AbstractInputSuggest()
Method Detail

isForceId

public abstract boolean isForceId()
Gets If true, this component will force the use of the specified id when rendering.

Specified by:
isForceId in interface org.apache.myfaces.component.ForceIdAware
Returns:
the new forceId value

setForceId

public abstract void setForceId(boolean forceId)
Specified by:
setForceId in interface org.apache.myfaces.component.ForceIdAware

isForceIdIndex

public abstract boolean isForceIdIndex()
Gets If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)

Specified by:
isForceIdIndex in interface org.apache.myfaces.component.ForceIdAware
Returns:
the new forceIdIndex value

getJavascriptLocation

public abstract java.lang.String getJavascriptLocation()
Gets An alternate location to find javascript resources. If no values is specified, javascript will be loaded from the resources directory using AddResource and ExtensionsFilter.

Specified by:
getJavascriptLocation in interface org.apache.myfaces.component.LocationAware
Returns:
the new javascriptLocation value

getImageLocation

public abstract java.lang.String getImageLocation()
Gets An alternate location to find image resources. If no values is specified, images will be loaded from the resources directory using AddResource and ExtensionsFilter.

Specified by:
getImageLocation in interface org.apache.myfaces.component.LocationAware
Returns:
the new imageLocation value

getStyleLocation

public abstract java.lang.String getStyleLocation()
Gets An alternate location to find stylesheet resources. If no values is specified, stylesheets will be loaded from the resources directory using AddResource and ExtensionsFilter.

Specified by:
getStyleLocation in interface org.apache.myfaces.component.LocationAware
Returns:
the new styleLocation value


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