public interface PropertyEditorBean
PropertyEditorDescriptor.| Modifier and Type | Method and Description |
|---|---|
PropertyEditorDescriptor |
getDescriptor()
The descriptor which this beans belong to.
|
java.lang.Object |
getValue()
Returns the current value.
|
void |
initialize(java.lang.Object value)
Initializes the editor bean by specifying the start value.
|
boolean |
isEditable()
Tells whether the editor allows changes.
|
boolean |
isInvalid()
Tells whether this editor shows invalid state.
|
boolean |
isModified()
Tells whether this bean contains a modified value compared to the start value.
|
void |
reset()
Resets the editor to the initial value.
|
void |
setEditable(boolean editable)
Switches editing on and off.
|
void |
setInvalid(boolean invalid)
Switches invalid state of this editor bean.
|
void |
setValue(java.lang.Object value)
Changes the current value.
|
PropertyEditorDescriptor getDescriptor()
void initialize(java.lang.Object value)
value - the start valuevoid reset()
void setValue(java.lang.Object value)
value - java.lang.Object getValue()
boolean isModified()
initialize(Object),
setValue(Object)void setEditable(boolean editable)
editable - true if the component should be allow changesboolean isEditable()
void setInvalid(boolean invalid)
invalid - true if the editor should show invalid stateboolean isInvalid()
Copyright © 2018 SAP SE. All Rights Reserved.