EditableValueHolder is
an extension of ValueHolder that describes additional features supported by editable components,
including ValueChangeEvents and Validators.
| Modifier and Type | Method and Description |
|---|---|
| public void | addValidator(Validator<T>
The validator)Validator to add
Add a |
| public void | addValueChangeListener(ValueChangeListener
The listener)ValueChangeListener to be added
Add a new |
| public Object | |
| public MethodBinding | Returns: the validator as a method binding.
Deprecated
getValidators should be used instead.
If |
| public Validator | Returns: the validators, or a zero-length array.
Return the set of registered |
| public MethodBinding | Returns: the value change listener.
Deprecated
Use
getValueChangeListeners instead.
If |
| public ValueChangeListener[] | Returns: the value change listeners, or a zero-length array.
Return the set of registered |
| public boolean | Returns: true if is immediate, false otherwise.Return the "immediate" state for this component. |
| public boolean | Returns: true if the local value is set, false otherwise.Return the "local value set" state for this component. |
| public boolean | Returns: true if required, false otherwise.Return the "required field" state for this component. |
| public boolean | Returns: true if valid, false otherwise.Return a flag indicating whether the local value of this component is valid (no conversion error has occurred). |
| public void | removeValidator(Validator<T>
The validator)Validator to remove
Remove a |
| public void | removeValueChangeListener(ValueChangeListener
The listener)ValueChangeListener to be removed
Remove an existing |
| public void | |
| public void | setImmediate(boolean
The new "immediate" state immediate)Set the "immediate" state for this component. |
| public void | setLocalValueSet(boolean
the "local value set" boolean. localValueSet)Sets the "local value set" state for this component. |
| public void | setRequired(boolean
The new "required field" state required)Set the "required field" state for this component. |
| public void | setSubmittedValue(Object
The new submitted value submittedValue)Set the submittedValue value of this component. |
| public void | setValid(boolean
The new valid flag valid)Set a flag indicating whether the local value of this component is valid (no conversion error has occurred). |
| public void | setValidator(MethodBinding
The new validatorBinding)MethodBinding instance
Deprecated
Use
addValidator instead, obtaining the argument Validator by
creating an instance of javax.faces.validator.MethodExpressionValidator.
Wrap the argument |
| public void | setValueChangeListener(MethodBinding
The new method binding instance valueChangeMethod)
Deprecated
Use
addValueChangeListener instead, obtaining the argument
ValueChangeListener by creating an instance of
javax.faces.event.MethodExpressionValueChangeListener.
Wrap the argument |
| addValidator | back to summary |
|---|---|
| public void addValidator(Validator<T> validator)
Add a
| |
| addValueChangeListener | back to summary |
|---|---|
| public void addValueChangeListener(ValueChangeListener listener)
Add a new
| |
| getSubmittedValue | back to summary |
|---|---|
| public Object getSubmittedValue()
Return the submittedValue value of this component. This method should only be used by the
| |
| getValidator | back to summary |
|---|---|
| public MethodBinding getValidator()
Deprecated
If
This method will be called during the Process Validations or Apply Request
Values phases (depending on the value of the
| |
| getValidators | back to summary |
|---|---|
| public Validator
Return the set of registered
| |
| getValueChangeListener | back to summary |
|---|---|
| public MethodBinding getValueChangeListener()
Deprecated Use
If
| |
| getValueChangeListeners | back to summary |
|---|---|
| public ValueChangeListener[] getValueChangeListeners()
Return the set of registered
| |
| isImmediate | back to summary |
|---|---|
| public boolean isImmediate() Return the "immediate" state for this component.
| |
| isLocalValueSet | back to summary |
|---|---|
| public boolean isLocalValueSet() Return the "local value set" state for this component. Calls to
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() Return the "required field" state for this component.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Return a flag indicating whether the local value of this component is valid (no conversion error has occurred).
| |
| removeValidator | back to summary |
|---|---|
| public void removeValidator(Validator<T> validator)
Remove a | |
| removeValueChangeListener | back to summary |
|---|---|
| public void removeValueChangeListener(ValueChangeListener listener)
Remove an existing
| |
| resetValue | back to summary |
|---|---|
| public void resetValue() Convenience method to reset this component's value to the un-initialized state.
| |
| setImmediate | back to summary |
|---|---|
| public void setImmediate(boolean immediate)
Set the "immediate" state for this component. When set to true, the component's value will be
converted and validated immediately in the Apply Request Values phase, and
| |
| setLocalValueSet | back to summary |
|---|---|
| public void setLocalValueSet(boolean localValueSet) Sets the "local value set" state for this component.
| |
| setRequired | back to summary |
|---|---|
| public void setRequired(boolean required) Set the "required field" state for this component.
| |
| setSubmittedValue | back to summary |
|---|---|
| public void setSubmittedValue(Object submittedValue)
Set the submittedValue value of this component. This method should only be used by the
| |
| setValid | back to summary |
|---|---|
| public void setValid(boolean valid) Set a flag indicating whether the local value of this component is valid (no conversion error has occurred).
| |
| setValidator | back to summary |
|---|---|
| public void setValidator(MethodBinding validatorBinding)
Deprecated Use
Wrap the argument
The argument method will be called during the Process Validations or Apply
Request Values phases (depending on the value of the
Any method referenced by such an expression must be public, with a return type of
| |
| setValueChangeListener | back to summary |
|---|---|
| public void setValueChangeListener(MethodBinding valueChangeMethod)
Deprecated Use
Wrap the argument
This argument method will be called during the Process Validations or Apply
Request Values phases (depending on the value of the
Any method referenced by such an expression must be public, with a return type of
| |