public abstract class AbstractInplaceSelect extends AbstractSelectComponent implements InplaceComponent, CoreProps, DisabledProps, EventsKeyProps, EventsMouseProps, FocusProps, SelectProps
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.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
AbstractInplaceSelect() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getEditEvent()
The event on which to switch the component to the edit state
|
abstract String |
getInputWidth()
The width of the input element
|
abstract String |
getOninputclick()
Javascript code executed when a pointer button is clicked over the input element.
|
abstract String |
getOninputdblclick()
Javascript code executed when a pointer button is double clicked over the input element.
|
abstract String |
getOninputkeydown()
Javascript code executed when a key is pressed down over the input element.
|
abstract String |
getOninputkeypress()
Javascript code executed when a key is pressed and released over the input element.
|
abstract String |
getOninputkeyup()
Javascript code executed when a key is released over the input element.
|
abstract String |
getOninputmousedown()
Javascript code executed when a pointer button is pressed down over the input element.
|
abstract String |
getOninputmousemove()
Javascript code executed when a pointer button is moved within the input element.
|
abstract String |
getOninputmouseout()
Javascript code executed when a pointer button is moved away from the input element.
|
abstract String |
getOninputmouseover()
Javascript code executed when a pointer button is moved onto the input element.
|
abstract String |
getOninputmouseup()
Javascript code executed when a pointer button is released over the input element.
|
abstract String |
getOninputselect()
Javascript code executed when text in the input element is selected
|
abstract InplaceState |
getState() |
abstract boolean |
isOpenOnEdit()
If "false" do not switch the component to the edit state on "click"
|
abstract boolean |
isSaveOnBlur()
If "true", apply the changes when the focus is lost
|
abstract 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
|
abstract boolean |
isShowControls()
If "true" is set, buttons for confirming or canceling are added to the component
|
getOnchange, getOnlistclick, getOnlistdblclick, getOnlisthide, getOnlistkeydown, getOnlistkeypress, getOnlistkeyup, getOnlistmousedown, getOnlistmousemove, getOnlistmouseout, getOnlistmouseover, getOnlistmouseup, getOnlistshow, getOnselectitem
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, 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
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActiveClass, getChangedClass, getDefaultLabel, getDisabledClass, getTabindex, isDisabled, setDefaultLabel
getStyle, getStyleClass, getTitle
isDisabled
getOnkeydown, getOnkeypress, getOnkeyup
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
getOnblur, getOnfocus, getTabindex
getActiveClass, getChangedClass, getDefaultLabel, getDisabledClass, getItemClass, getListClass, getListHeight, getListWidth, getSelectItemClass
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract String getInputWidth()
public abstract boolean isOpenOnEdit()
public abstract boolean isSaveOnSelect()
public abstract boolean isSaveOnBlur()
isSaveOnBlur
in interface InplaceComponent
public abstract boolean isShowControls()
isShowControls
in interface InplaceComponent
public abstract String getEditEvent()
The event on which to switch the component to the edit state
Default is "click"
getEditEvent
in interface InplaceComponent
public abstract String getOninputclick()
public abstract String getOninputdblclick()
public abstract String getOninputmousedown()
public abstract String getOninputmouseup()
public abstract String getOninputmouseover()
public abstract String getOninputmousemove()
public abstract String getOninputmouseout()
public abstract String getOninputkeydown()
public abstract String getOninputkeypress()
public abstract String getOninputkeyup()
public abstract String getOninputselect()
public abstract InplaceState getState()
getState
in interface InplaceComponent
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.