|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Editor
Interface to be implemented by form elements that are capable of editing a property value.
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener listener)
|
EditorBinding |
getEditorBinding()
Implementors must return the binding set via setEditorBinding(). |
String |
getFieldName()
Returns the set (or computed) fieldName. |
String |
getLabel()
Returns the label. |
Object |
getValue()
Returns the value. |
void |
setEditorBinding(EditorBinding binding)
|
void |
setFieldName(String fieldName)
Sets the fieldName that is used to build error codes. |
void |
setValue(Object value)
Sets the (initial) value, typically retrieved from a backing object. |
| Methods inherited from interface org.riotfamily.forms.Element |
|---|
focus, getEventTriggerId, getForm, getFormContext, getId, getParent, getStyleClass, isCompositeElement, isEnabled, isRequired, isVisible, processRequest, render, setEnabled, setForm, setFormContext, setId, setParent, setRequired |
| Method Detail |
|---|
void setValue(Object value)
Object getValue()
String getLabel()
void setEditorBinding(EditorBinding binding)
EditorBinding getEditorBinding()
setEditorBinding().
void setFieldName(String fieldName)
null, EditorBinding.getPropertyPath() is used.
You should only use this method for unbound elements that are part
of complex (composite) widgets.
String getFieldName()
void addChangeListener(ChangeListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||