public abstract class AbstractInplaceInput extends javax.faces.component.UIInput implements InplaceComponent, CoreProps, DisabledProps, EventsKeyProps, EventsMouseProps, FocusProps
The <rich:inplaceInput> component allows information to be entered in-line in blocks of text, improving readability of the text. Multiple input regions can be navigated with keyboard navigation. The component has three functional states: the view state, where the component displays its initial setting, such as "click to edit"; the edit state, where the user can input text; and the "changed" state, where the new value for the component has been confirmed but can be edited again if required.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
AbstractInplaceInput() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getActiveClass()
Space-separated list of CSS style class(es) to be applied when this element is active.
|
abstract String |
getChangedClass()
Space-separated list of CSS style class(es) to be applied when the value of this element is changed.
|
abstract String |
getDefaultLabel()
Used to set the display text when value is undefined
|
abstract String |
getDisabledClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
abstract String |
getEditEvent()
Used to specify the event that switches the component to the edit state
|
abstract String |
getInputWidth()
The width of the input element
|
abstract String |
getOnchange()
Javascript code executed when this element loses focus and its value has been modified since gaining focus.
|
abstract String |
getOninputclick()
The client-side script method to be called when
|
abstract String |
getOninputdblclick()
The client-side script method to be called when
|
abstract String |
getOninputkeydown()
The client-side script method to be called when
|
abstract String |
getOninputkeypress()
The client-side script method to be called when
|
abstract String |
getOninputkeyup()
The client-side script method to be called when
|
abstract String |
getOninputmousedown()
The client-side script method to be called when
|
abstract String |
getOninputmousemove()
The client-side script method to be called when
|
abstract String |
getOninputmouseout()
The client-side script method to be called when
|
abstract String |
getOninputmouseover()
The client-side script method to be called when
|
abstract String |
getOninputmouseup()
The client-side script method to be called when
|
abstract String |
getOninputselect()
The client-side script method to be called when
|
abstract InplaceState |
getState() |
abstract boolean |
isSaveOnBlur()
If "true", apply the changes when the focus is lost
|
abstract boolean |
isShowControls()
If "true" is set, buttons for confirming or canceling are added to the component
|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, 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, validateValue
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
getTabindex, isDisabled, setDefaultLabel
getStyle, getStyleClass, getTitle
isDisabled
getOnkeydown, getOnkeypress, getOnkeyup
getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
getOnblur, getOnfocus, getTabindex
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public abstract String getDefaultLabel()
getDefaultLabel
in interface InplaceComponent
public abstract boolean isSaveOnBlur()
isSaveOnBlur
in interface InplaceComponent
public abstract String getEditEvent()
Used to specify the event that switches the component to the edit state
Default is "click"
getEditEvent
in interface InplaceComponent
public abstract boolean isShowControls()
isShowControls
in interface InplaceComponent
public abstract String getInputWidth()
public abstract String getActiveClass()
getActiveClass
in interface InplaceComponent
public abstract String getChangedClass()
getChangedClass
in interface InplaceComponent
public abstract String getDisabledClass()
getDisabledClass
in interface InplaceComponent
public abstract String getOninputclick()
public abstract String getOninputdblclick()
public abstract String getOninputmousedown()
public abstract String getOninputmousemove()
public abstract String getOninputmouseout()
public abstract String getOninputmouseover()
public abstract String getOninputmouseup()
public abstract String getOninputkeydown()
public abstract String getOninputkeypress()
public abstract String getOninputkeyup()
public abstract String getOninputselect()
public abstract String getOnchange()
public abstract InplaceState getState()
getState
in interface InplaceComponent
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.