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 Validator | Returns: the validators, or a zero-length array.
Return the set of registered |
| 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). |
| 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
| |
| getValidators | back to summary |
|---|---|
| public Validator
Return the set of registered
| |
| 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).
| |