|
RichFaces UI Components UI 4.3.0.CR1 | |||||||||
| 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.UISelectOne
org.richfaces.component.AbstractSelectComponent
org.richfaces.component.AbstractInplaceSelect
org.richfaces.component.UIInplaceSelect
@Generated(value={"RichFaces CDK","4.3.0.CR1"})
public class UIInplaceSelect
The <rich:inplaceSelect> component is similar to the <rich:inplaceInput> component, except that the <rich:inplaceSelect> component uses a drop-down selection box to enter text instead of a regular text field. Changes can be rendered either in-line or for the whole block, and inputs can be focused with keyboard navigation. The component is based on the JSF UISelectOne component, so all the standard rules for value definition, processing, conversion, and validation apply.
| Nested Class Summary | |
|---|---|
protected static class |
UIInplaceSelect.Properties
|
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UISelectOne |
|---|
INVALID_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIInput |
|---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
UIInplaceSelect()
|
|
| Method Summary | |
|---|---|
String |
getActiveClass()
|
String |
getChangedClass()
|
String |
getDefaultEventName()
|
String |
getDefaultLabel()
|
String |
getDisabledClass()
|
String |
getEditEvent()
The event on which to switch the component to the edit state |
Collection<String> |
getEventNames()
|
String |
getFamily()
|
String |
getInputWidth()
The width of the input element |
String |
getItemClass()
|
String |
getListClass()
|
String |
getListHeight()
The height of the list element |
String |
getListWidth()
The width of the list element |
String |
getOnblur()
Javascript code executed when this element loses focus. |
String |
getOnchange()
Javascript code executed when the list element loses focus and its value has been modified since gaining focus. |
String |
getOnclick()
|
String |
getOndblclick()
|
String |
getOnfocus()
Javascript code executed when this element receives focus. |
String |
getOninputclick()
Javascript code executed when a pointer button is clicked over the input element. |
String |
getOninputdblclick()
Javascript code executed when a pointer button is double clicked over the input element. |
String |
getOninputkeydown()
Javascript code executed when a key is pressed down over the input element. |
String |
getOninputkeypress()
Javascript code executed when a key is pressed and released over the input element. |
String |
getOninputkeyup()
Javascript code executed when a key is released over the input element. |
String |
getOninputmousedown()
Javascript code executed when a pointer button is pressed down over the input element. |
String |
getOninputmousemove()
Javascript code executed when a pointer button is moved within the input element. |
String |
getOninputmouseout()
Javascript code executed when a pointer button is moved away from the input element. |
String |
getOninputmouseover()
Javascript code executed when a pointer button is moved onto the input element. |
String |
getOninputmouseup()
Javascript code executed when a pointer button is released over the input element. |
String |
getOninputselect()
Javascript code executed when text in the input element is selected |
String |
getOnkeydown()
|
String |
getOnkeypress()
|
String |
getOnkeyup()
|
String |
getOnlistclick()
Javascript code executed when a pointer button is clicked over the list element. |
String |
getOnlistdblclick()
Javascript code executed when a pointer button is double clicked over the list element. |
String |
getOnlisthide()
Javascript code executed when the list element is hidden |
String |
getOnlistkeydown()
Javascript code executed when a key is pressed down over the list element. |
String |
getOnlistkeypress()
Javascript code executed when a key is pressed and released over the list element. |
String |
getOnlistkeyup()
Javascript code executed when a key is released over the list element. |
String |
getOnlistmousedown()
Javascript code executed when a pointer button is pressed down over the list element. |
String |
getOnlistmousemove()
Javascript code executed when a pointer button is moved within the list element. |
String |
getOnlistmouseout()
Javascript code executed when a pointer button is moved away from the list element. |
String |
getOnlistmouseover()
Javascript code executed when a pointer button is moved onto the list element. |
String |
getOnlistmouseup()
Javascript code executed when a pointer button is released over the list element. |
String |
getOnlistshow()
Javascript code executed when the list element is shown |
String |
getOnmousedown()
|
String |
getOnmousemove()
|
String |
getOnmouseout()
|
String |
getOnmouseover()
|
String |
getOnmouseup()
|
String |
getOnselectitem()
Javascript code executed when an item is selected |
String |
getSelectItemClass()
|
org.richfaces.component.InplaceState |
getState()
|
String |
getStyle()
|
String |
getStyleClass()
|
String |
getTabindex()
|
String |
getTitle()
|
boolean |
isDisabled()
If "true", this component is disabled |
boolean |
isOpenOnEdit()
If "false" do not switch the component to the edit state on "click" |
boolean |
isSaveOnBlur()
If "true", apply the changes when the focus is lost |
boolean |
isSaveOnSelect()
When "false" do not save the item as the new control value when the user selects an item from the drop-down list |
boolean |
isShowControls()
If "true" is set, buttons for confirming or canceling are added to the component |
void |
setActiveClass(String activeClass)
|
void |
setChangedClass(String changedClass)
|
void |
setDefaultLabel(String defaultLabel)
|
void |
setDisabled(boolean disabled)
|
void |
setDisabledClass(String disabledClass)
|
void |
setEditEvent(String editEvent)
|
void |
setInputWidth(String inputWidth)
|
void |
setItemClass(String itemClass)
|
void |
setListClass(String listClass)
|
void |
setListHeight(String listHeight)
|
void |
setListWidth(String listWidth)
|
void |
setOnblur(String onblur)
|
void |
setOnchange(String onchange)
|
void |
setOnclick(String onclick)
|
void |
setOndblclick(String ondblclick)
|
void |
setOnfocus(String onfocus)
|
void |
setOninputclick(String oninputclick)
|
void |
setOninputdblclick(String oninputdblclick)
|
void |
setOninputkeydown(String oninputkeydown)
|
void |
setOninputkeypress(String oninputkeypress)
|
void |
setOninputkeyup(String oninputkeyup)
|
void |
setOninputmousedown(String oninputmousedown)
|
void |
setOninputmousemove(String oninputmousemove)
|
void |
setOninputmouseout(String oninputmouseout)
|
void |
setOninputmouseover(String oninputmouseover)
|
void |
setOninputmouseup(String oninputmouseup)
|
void |
setOninputselect(String oninputselect)
|
void |
setOnkeydown(String onkeydown)
|
void |
setOnkeypress(String onkeypress)
|
void |
setOnkeyup(String onkeyup)
|
void |
setOnlistclick(String onlistclick)
|
void |
setOnlistdblclick(String onlistdblclick)
|
void |
setOnlisthide(String onlisthide)
|
void |
setOnlistkeydown(String onlistkeydown)
|
void |
setOnlistkeypress(String onlistkeypress)
|
void |
setOnlistkeyup(String onlistkeyup)
|
void |
setOnlistmousedown(String onlistmousedown)
|
void |
setOnlistmousemove(String onlistmousemove)
|
void |
setOnlistmouseout(String onlistmouseout)
|
void |
setOnlistmouseover(String onlistmouseover)
|
void |
setOnlistmouseup(String onlistmouseup)
|
void |
setOnlistshow(String onlistshow)
|
void |
setOnmousedown(String onmousedown)
|
void |
setOnmousemove(String onmousemove)
|
void |
setOnmouseout(String onmouseout)
|
void |
setOnmouseover(String onmouseover)
|
void |
setOnmouseup(String onmouseup)
|
void |
setOnselectitem(String onselectitem)
|
void |
setOpenOnEdit(boolean openOnEdit)
|
void |
setSaveOnBlur(boolean saveOnBlur)
|
void |
setSaveOnSelect(boolean saveOnSelect)
|
void |
setSelectItemClass(String selectItemClass)
|
void |
setShowControls(boolean showControls)
|
void |
setState(org.richfaces.component.InplaceState state)
|
void |
setStyle(String style)
|
void |
setStyleClass(String styleClass)
|
void |
setTabindex(String tabindex)
|
void |
setTitle(String title)
|
| Methods inherited from class javax.faces.component.UISelectOne |
|---|
validateValue |
| Methods inherited from class javax.faces.component.UIInput |
|---|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
| 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.behavior.ClientBehaviorHolder |
|---|
addClientBehavior, getClientBehaviors |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
| Constructor Detail |
|---|
public UIInplaceSelect()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.UISelectOnepublic Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String getActiveClass()
getActiveClass in interface org.richfaces.component.InplaceComponentgetActiveClass in class AbstractSelectComponentpublic void setActiveClass(String activeClass)
public String getChangedClass()
getChangedClass in interface org.richfaces.component.InplaceComponentgetChangedClass in class AbstractSelectComponentpublic void setChangedClass(String changedClass)
public String getDefaultLabel()
getDefaultLabel in interface org.richfaces.component.InplaceComponentgetDefaultLabel in class AbstractInplaceSelectpublic void setDefaultLabel(String defaultLabel)
setDefaultLabel in interface org.richfaces.component.InplaceComponentpublic boolean isDisabled()
AbstractInplaceSelect
isDisabled in interface org.richfaces.component.InplaceComponentisDisabled in class AbstractInplaceSelectpublic void setDisabled(boolean disabled)
public String getDisabledClass()
getDisabledClass in interface org.richfaces.component.InplaceComponentgetDisabledClass in class AbstractSelectComponentpublic void setDisabledClass(String disabledClass)
public String getEditEvent()
AbstractInplaceSelectThe event on which to switch the component to the edit state
Default is "click"
getEditEvent in interface org.richfaces.component.InplaceComponentgetEditEvent in class AbstractInplaceSelectpublic void setEditEvent(String editEvent)
public String getInputWidth()
AbstractInplaceSelect
getInputWidth in class AbstractInplaceSelectpublic void setInputWidth(String inputWidth)
public String getItemClass()
getItemClass in class AbstractSelectComponentpublic void setItemClass(String itemClass)
public String getListClass()
getListClass in class AbstractSelectComponentpublic void setListClass(String listClass)
public String getListHeight()
AbstractSelectComponent
getListHeight in class AbstractSelectComponentpublic void setListHeight(String listHeight)
public String getListWidth()
AbstractSelectComponent
getListWidth in class AbstractSelectComponentpublic void setListWidth(String listWidth)
public String getOnblur()
AbstractSelectComponent
getOnblur in class AbstractSelectComponentpublic void setOnblur(String onblur)
public String getOnchange()
AbstractSelectComponent
getOnchange in class AbstractSelectComponentpublic void setOnchange(String onchange)
public String getOnclick()
getOnclick in class AbstractSelectComponentpublic void setOnclick(String onclick)
public String getOndblclick()
getOndblclick in class AbstractSelectComponentpublic void setOndblclick(String ondblclick)
public String getOnfocus()
AbstractSelectComponent
getOnfocus in class AbstractSelectComponentpublic void setOnfocus(String onfocus)
public String getOninputclick()
AbstractInplaceSelect
getOninputclick in class AbstractInplaceSelectpublic void setOninputclick(String oninputclick)
public String getOninputdblclick()
AbstractInplaceSelect
getOninputdblclick in class AbstractInplaceSelectpublic void setOninputdblclick(String oninputdblclick)
public String getOninputkeydown()
AbstractInplaceSelect
getOninputkeydown in class AbstractInplaceSelectpublic void setOninputkeydown(String oninputkeydown)
public String getOninputkeypress()
AbstractInplaceSelect
getOninputkeypress in class AbstractInplaceSelectpublic void setOninputkeypress(String oninputkeypress)
public String getOninputkeyup()
AbstractInplaceSelect
getOninputkeyup in class AbstractInplaceSelectpublic void setOninputkeyup(String oninputkeyup)
public String getOninputmousedown()
AbstractInplaceSelect
getOninputmousedown in class AbstractInplaceSelectpublic void setOninputmousedown(String oninputmousedown)
public String getOninputmousemove()
AbstractInplaceSelect
getOninputmousemove in class AbstractInplaceSelectpublic void setOninputmousemove(String oninputmousemove)
public String getOninputmouseout()
AbstractInplaceSelect
getOninputmouseout in class AbstractInplaceSelectpublic void setOninputmouseout(String oninputmouseout)
public String getOninputmouseover()
AbstractInplaceSelect
getOninputmouseover in class AbstractInplaceSelectpublic void setOninputmouseover(String oninputmouseover)
public String getOninputmouseup()
AbstractInplaceSelect
getOninputmouseup in class AbstractInplaceSelectpublic void setOninputmouseup(String oninputmouseup)
public String getOninputselect()
AbstractInplaceSelect
getOninputselect in class AbstractInplaceSelectpublic void setOninputselect(String oninputselect)
public String getOnkeydown()
getOnkeydown in class AbstractSelectComponentpublic void setOnkeydown(String onkeydown)
public String getOnkeypress()
getOnkeypress in class AbstractSelectComponentpublic void setOnkeypress(String onkeypress)
public String getOnkeyup()
getOnkeyup in class AbstractSelectComponentpublic void setOnkeyup(String onkeyup)
public String getOnlistclick()
AbstractSelectComponent
getOnlistclick in class AbstractSelectComponentpublic void setOnlistclick(String onlistclick)
public String getOnlistdblclick()
AbstractSelectComponent
getOnlistdblclick in class AbstractSelectComponentpublic void setOnlistdblclick(String onlistdblclick)
public String getOnlisthide()
AbstractSelectComponent
getOnlisthide in class AbstractSelectComponentpublic void setOnlisthide(String onlisthide)
public String getOnlistkeydown()
AbstractSelectComponent
getOnlistkeydown in class AbstractSelectComponentpublic void setOnlistkeydown(String onlistkeydown)
public String getOnlistkeypress()
AbstractSelectComponent
getOnlistkeypress in class AbstractSelectComponentpublic void setOnlistkeypress(String onlistkeypress)
public String getOnlistkeyup()
AbstractSelectComponent
getOnlistkeyup in class AbstractSelectComponentpublic void setOnlistkeyup(String onlistkeyup)
public String getOnlistmousedown()
AbstractSelectComponent
getOnlistmousedown in class AbstractSelectComponentpublic void setOnlistmousedown(String onlistmousedown)
public String getOnlistmousemove()
AbstractSelectComponent
getOnlistmousemove in class AbstractSelectComponentpublic void setOnlistmousemove(String onlistmousemove)
public String getOnlistmouseout()
AbstractSelectComponent
getOnlistmouseout in class AbstractSelectComponentpublic void setOnlistmouseout(String onlistmouseout)
public String getOnlistmouseover()
AbstractSelectComponent
getOnlistmouseover in class AbstractSelectComponentpublic void setOnlistmouseover(String onlistmouseover)
public String getOnlistmouseup()
AbstractSelectComponent
getOnlistmouseup in class AbstractSelectComponentpublic void setOnlistmouseup(String onlistmouseup)
public String getOnlistshow()
AbstractSelectComponent
getOnlistshow in class AbstractSelectComponentpublic void setOnlistshow(String onlistshow)
public String getOnmousedown()
getOnmousedown in class AbstractSelectComponentpublic void setOnmousedown(String onmousedown)
public String getOnmousemove()
getOnmousemove in class AbstractSelectComponentpublic void setOnmousemove(String onmousemove)
public String getOnmouseout()
getOnmouseout in class AbstractSelectComponentpublic void setOnmouseout(String onmouseout)
public String getOnmouseover()
getOnmouseover in class AbstractSelectComponentpublic void setOnmouseover(String onmouseover)
public String getOnmouseup()
getOnmouseup in class AbstractSelectComponentpublic void setOnmouseup(String onmouseup)
public String getOnselectitem()
AbstractSelectComponent
getOnselectitem in class AbstractSelectComponentpublic void setOnselectitem(String onselectitem)
public boolean isOpenOnEdit()
AbstractInplaceSelect
isOpenOnEdit in class AbstractInplaceSelectpublic void setOpenOnEdit(boolean openOnEdit)
public boolean isSaveOnBlur()
AbstractInplaceSelect
isSaveOnBlur in interface org.richfaces.component.InplaceComponentisSaveOnBlur in class AbstractInplaceSelectpublic void setSaveOnBlur(boolean saveOnBlur)
public boolean isSaveOnSelect()
AbstractInplaceSelect
isSaveOnSelect in class AbstractInplaceSelectpublic void setSaveOnSelect(boolean saveOnSelect)
public String getSelectItemClass()
getSelectItemClass in class AbstractSelectComponentpublic void setSelectItemClass(String selectItemClass)
public boolean isShowControls()
AbstractInplaceSelect
isShowControls in interface org.richfaces.component.InplaceComponentisShowControls in class AbstractInplaceSelectpublic void setShowControls(boolean showControls)
public org.richfaces.component.InplaceState getState()
getState in interface org.richfaces.component.InplaceComponentgetState in class AbstractInplaceSelectpublic void setState(org.richfaces.component.InplaceState state)
public String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public String getTabindex()
getTabindex in interface org.richfaces.component.InplaceComponentgetTabindex in class AbstractInplaceSelectpublic void setTabindex(String tabindex)
public String getTitle()
public void setTitle(String title)
|
RichFaces UI Components UI 4.3.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||