|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputText
org.apache.myfaces.component.html.ext.AbstractHtmlInputText
org.apache.myfaces.component.html.ext.HtmlInputText
org.apache.myfaces.custom.suggestajax.AbstractSuggestAjax
org.apache.myfaces.custom.suggestajax.SuggestAjax
org.apache.myfaces.custom.suggestajax.tablesuggestajax.AbstractTableSuggestAjax
public abstract class AbstractTableSuggestAjax
Provides an input textbox with "suggest" functionality, using an ajax request to the server. The popUp contains a table where each column value can be set to a specific dom node (through dom node id).
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class org.apache.myfaces.custom.suggestajax.SuggestAjax |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIInput |
---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable |
---|
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR |
Constructor Summary | |
---|---|
AbstractTableSuggestAjax()
|
Method Summary | |
---|---|
void |
encodeChildren(javax.faces.context.FacesContext context)
|
abstract java.lang.Integer |
getBetweenKeyUp()
If the time between two keyup events is lower than this given value, the ajax request will not be fired. |
abstract java.lang.String |
getComboBoxStyleClass()
StyleClass for dropdown box and arrow. |
abstract java.lang.String |
getEvenRowStyleClass()
StyleClass which only applies to even rows in the suggested table. |
abstract java.lang.String |
getHoverRowStyleClass()
StyleClass for the rows for onmouseover events. |
abstract java.lang.String |
getOddRowStyleClass()
StyleClass which only applies to odd rows in the suggested table. |
abstract java.lang.String |
getPopupId()
Id for the pop up window |
abstract java.lang.String |
getPopupStyleClass()
StyleClass for the window with a suggested list of items; pop up for each incoming Ajax response |
boolean |
getRendersChildren()
|
abstract java.lang.String |
getRowStyleClass()
StyleClass which applies to every row in the suggested table. |
abstract java.lang.Integer |
getStartRequest()
The AJAX Request is only triggered if the number of chars typed in is equal or greater than this given value. |
abstract java.lang.String |
getTableStyleClass()
StyleClass for the suggested table. |
abstract java.lang.String |
getVar()
Same principle as it can be found in dataTable. |
Methods inherited from class org.apache.myfaces.custom.suggestajax.SuggestAjax |
---|
getCharset, getFamily, getImageLocation, getJavascriptLocation, getMaxSuggestedItems, getStyleLocation, restoreState, saveState, setCharset, setImageLocation, setJavascriptLocation, setMaxSuggestedItems, setStyleLocation |
Methods inherited from class org.apache.myfaces.custom.suggestajax.AbstractSuggestAjax |
---|
decodeAjax, encodeAjax, getSuggestedItemsMethod, setSuggestedItemsMethod |
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlInputText |
---|
getAlign, getAutocomplete, getDatafld, getDataformatas, getDatasrc, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisabledOnClientSide, isForceId, isForceIdIndex, setAlign, setAutocomplete, setDatafld, setDataformatas, setDatasrc, setDisabledOnClientSide, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setForceId, setForceIdIndex, setVisibleOnUserRole |
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlInputText |
---|
getClientId, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly |
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, 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, 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, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, 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 javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public AbstractTableSuggestAjax()
Method Detail |
---|
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.component.UIComponentBase
public void encodeChildren(javax.faces.context.FacesContext context) throws java.io.IOException
encodeChildren
in class AbstractSuggestAjax
java.io.IOException
public abstract java.lang.Integer getBetweenKeyUp()
public abstract java.lang.Integer getStartRequest()
public abstract java.lang.String getVar()
public abstract java.lang.String getTableStyleClass()
public abstract java.lang.String getPopupId()
public abstract java.lang.String getPopupStyleClass()
public abstract java.lang.String getComboBoxStyleClass()
public abstract java.lang.String getRowStyleClass()
public abstract java.lang.String getEvenRowStyleClass()
public abstract java.lang.String getOddRowStyleClass()
public abstract java.lang.String getHoverRowStyleClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |