org.openfaces.component.input
Class SuggestionField
java.lang.Object
UIInput
org.openfaces.component.OUIInputBase
org.openfaces.component.OUIInputText
org.openfaces.component.input.DropDownComponent
org.openfaces.component.input.DropDownFieldBase
org.openfaces.component.input.SuggestionField
- All Implemented Interfaces:
- CompoundComponent, OUIComponent, OUIInput
public class SuggestionField
- extends DropDownFieldBase
The SuggestionField component is an input component that shows a list of suggestions
based on user input and completes user input right in the input field. It has a similar
functionality to DropDownField, but unlike DropDownField it looks like a plain text field.
You can create a multi-column drop-down list and embed JSF components into it.
Methods inherited from class org.openfaces.component.input.DropDownFieldBase |
createSubComponents, getAutoComplete, getCustomValueAllowed, getFooterHorizSeparator, getFooterVertSeparator, getHeaderHorizSeparator, getHeaderVertSeparator, getHorizontalGridLines, getListAlignment, getListFooterRowClass, getListFooterRowStyle, getListHeaderRowClass, getListHeaderRowStyle, getListItemClass, getListItemStyle, getMaxlength, getMultiFooterSeparator, getMultiHeaderSeparator, getOddListItemClass, getOddListItemStyle, getOncloseup, getOndropdown, getPopup, getRolloverListItemClass, getRolloverListItemStyle, getSuggestionDelay, getSuggestionMinChars, getSuggestionMode, getTimeout, getVar, getVerticalGridLines, processRestoreState, setAutoComplete, setCustomValueAllowed, setFooterHorizSeparator, setFooterVertSeparator, setHeaderHorizSeparator, setHeaderVertSeparator, setHorizontalGridLines, setId, setListAlignment, setListFooterRowClass, setListFooterRowStyle, setListHeaderRowClass, setListHeaderRowStyle, setListItemClass, setListItemStyle, setMaxlength, setMultiFooterSeparator, setMultiHeaderSeparator, setOddListItemClass, setOddListItemStyle, setOncloseup, setOndropdown, setRolloverListItemClass, setRolloverListItemStyle, setSuggestionDelay, setSuggestionMinChars, setSuggestionMode, setTimeout, setVar, setVerticalGridLines |
Methods inherited from class org.openfaces.component.OUIInputText |
getAccesskey, getPromptText, getPromptTextClass, getPromptTextStyle, getTabindex, getTitle, setAccesskey, setPromptText, setPromptTextClass, setPromptTextStyle, setTabindex, setTitle |
Methods inherited from class org.openfaces.component.OUIInputBase |
getFocusedClass, getFocusedStyle, getLabel, getOnblur, getOnchange, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRolloverClass, getRolloverStyle, getStyle, getStyleClass, isDisabled, setDisabled, setFocusedClass, setFocusedStyle, setLabel, setOnblur, setOnchange, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRolloverClass, setRolloverStyle, setStyle, setStyleClass |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
SuggestionField
public SuggestionField()
getFamily
public java.lang.String getFamily()
getManualListOpeningAllowed
public boolean getManualListOpeningAllowed()
setManualListOpeningAllowed
public void setManualListOpeningAllowed(boolean manualListOpeningAllowed)
setSize
public void setSize(int size)
getSize
public int getSize()
saveState
public java.lang.Object saveState(FacesContext context)
- Overrides:
saveState
in class DropDownFieldBase
restoreState
public void restoreState(FacesContext context,
java.lang.Object state)
- Overrides:
restoreState
in class DropDownFieldBase
Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.