|
||||||||||
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
com.sun.webui.jsf.component.WebuiInput
public class WebuiInput
Base class for components which need to extend UIInput.
Field Summary |
---|
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
Constructor Summary | |
---|---|
WebuiInput()
|
Method Summary | |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event)
|
javax.faces.el.MethodBinding |
getValidator()
|
javax.el.MethodExpression |
getValidatorExpression()
Get the validatorExpression . |
javax.faces.el.MethodBinding |
getValueChangeListener()
|
javax.el.MethodExpression |
getValueChangeListenerExpression()
Get the valueChangeListenerExpression . |
void |
processDecodes(javax.faces.context.FacesContext context)
Specialized decode behavior on top of that provided by the superclass. |
void |
processUpdates(javax.faces.context.FacesContext context)
Specialized model update behavior on top of that provided by the superclass. |
void |
processValidators(javax.faces.context.FacesContext context)
Specialized validation behavior on top of that provided by the superclass. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setConverter(javax.faces.convert.Converter converter)
Specifies a method to translate native property values to String and back for this component. |
void |
setId(java.lang.String id)
The component identifier for this component. |
void |
setImmediate(boolean immediate)
Flag indicating that event handling for this component should be handled immediately (in Apply Request Values phase) rather than waiting until Invoke Application phase. |
void |
setRendered(boolean rendered)
Indicates whether the HTML code for the component should be included in the rendered HTML page. |
void |
setRequired(boolean required)
Flag indicating that an input value for this field is mandatory, and failure to provide one will trigger a validation error. |
void |
setValidatorExpression(javax.el.MethodExpression me)
Set the validatorExpression . |
void |
setValueChangeListenerExpression(javax.el.MethodExpression me)
Set the valueChangeListenerExpression . |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, decode, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidatorMessage, getValidators, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setLocalValueSet, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, restoreAttachedState, saveAttachedState, setParent, setRendererType, setTransient, setValueBinding, setValueExpression |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue |
Constructor Detail |
---|
public WebuiInput()
Method Detail |
---|
public void setConverter(javax.faces.convert.Converter converter)
javax.faces.converter.Converter
interface; or
setConverter
in interface javax.faces.component.ValueHolder
setConverter
in class javax.faces.component.UIOutput
public void setId(java.lang.String id)
setId
in class javax.faces.component.UIComponentBase
public void setImmediate(boolean immediate)
setImmediate
in interface javax.faces.component.EditableValueHolder
setImmediate
in class javax.faces.component.UIInput
public void setRendered(boolean rendered)
setRendered
in class javax.faces.component.UIComponentBase
public void setRequired(boolean required)
setRequired
in interface javax.faces.component.EditableValueHolder
setRequired
in class javax.faces.component.UIInput
public javax.faces.el.MethodBinding getValidator()
getValidator
in interface javax.faces.component.EditableValueHolder
getValidator
in class javax.faces.component.UIInput
public javax.faces.el.MethodBinding getValueChangeListener()
getValueChangeListener
in interface javax.faces.component.EditableValueHolder
getValueChangeListener
in class javax.faces.component.UIInput
public javax.el.MethodExpression getValueChangeListenerExpression()
Get the valueChangeListenerExpression
.
The corresponding listener will be called from the
broadcast
method.
public void setValueChangeListenerExpression(javax.el.MethodExpression me)
Set the valueChangeListenerExpression
.
The corresponding listener will be called from the
broadcast
method.
public javax.el.MethodExpression getValidatorExpression()
Get the validatorExpression
.
The corresponding validator will be called from the
validateValue
method.
public void setValidatorExpression(javax.el.MethodExpression me)
Set the validatorExpression
.
The corresponding validator will be called from the
validateValue
method.
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UIComponentBase
javax.faces.event.AbortProcessingException
public void processDecodes(javax.faces.context.FacesContext context)
Specialized decode behavior on top of that provided by the superclass.
processDecodes
in class javax.faces.component.UIInput
context
- FacesContext
for this request.public void processValidators(javax.faces.context.FacesContext context)
Specialized validation behavior on top of that provided by the superclass.
processValidators
in class javax.faces.component.UIInput
context
- FacesContext
for this request.public void processUpdates(javax.faces.context.FacesContext context)
Specialized model update behavior on top of that provided by the superclass.
processUpdates
in class javax.faces.component.UIInput
context
- FacesContext
for this request.public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |