|
RichFaces UI Components UI 4.2.1.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
org.richfaces.component.AbstractInplaceInput
public abstract class AbstractInplaceInput
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.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
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 | |
---|---|
AbstractInplaceInput()
|
Method Summary | |
---|---|
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 |
getOnblur()
|
abstract String |
getOnchange()
Javascript code executed when this element loses focus and its value has been modified since gaining focus. |
abstract String |
getOnclick()
|
abstract String |
getOndblclick()
|
abstract String |
getOnfocus()
|
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 String |
getOnkeydown()
|
abstract String |
getOnkeypress()
|
abstract String |
getOnkeyup()
|
abstract String |
getOnmousedown()
|
abstract String |
getOnmousemove()
|
abstract String |
getOnmouseout()
|
abstract String |
getOnmouseover()
|
abstract String |
getOnmouseup()
|
abstract org.richfaces.component.InplaceState |
getState()
|
abstract int |
getTabindex()
|
abstract boolean |
isDisabled()
If "true", this component is disabled |
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 |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, 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, validateValue |
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, getDefaultEventName, getEventNames, 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.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public AbstractInplaceInput()
Method Detail |
---|
public abstract boolean isDisabled()
isDisabled
in interface org.richfaces.component.InplaceComponent
public abstract String getDefaultLabel()
getDefaultLabel
in interface org.richfaces.component.InplaceComponent
public abstract boolean isSaveOnBlur()
isSaveOnBlur
in interface org.richfaces.component.InplaceComponent
public abstract String getEditEvent()
Used to specify the event that switches the component to the edit state
Default is "click"
getEditEvent
in interface org.richfaces.component.InplaceComponent
public abstract boolean isShowControls()
isShowControls
in interface org.richfaces.component.InplaceComponent
public abstract String getInputWidth()
public abstract int getTabindex()
getTabindex
in interface org.richfaces.component.InplaceComponent
public abstract String getActiveClass()
getActiveClass
in interface org.richfaces.component.InplaceComponent
public abstract String getChangedClass()
getChangedClass
in interface org.richfaces.component.InplaceComponent
public abstract String getDisabledClass()
getDisabledClass
in interface org.richfaces.component.InplaceComponent
public abstract String getOnkeydown()
public abstract String getOnkeypress()
public abstract String getOnkeyup()
public abstract String getOnclick()
public abstract String getOndblclick()
public abstract String getOnmousedown()
public abstract String getOnmousemove()
public abstract String getOnmouseout()
public abstract String getOnmouseover()
public abstract String getOnmouseup()
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 String getOnfocus()
public abstract String getOnblur()
public abstract org.richfaces.component.InplaceState getState()
getState
in interface org.richfaces.component.InplaceComponent
|
RichFaces UI Components UI 4.2.1.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |