|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.riotfamily.forms.element.collection.CollectionItemEditorBinding
public class CollectionItemEditorBinding
| Constructor Summary | |
|---|---|
CollectionItemEditorBinding(EditorBinding parentBinding)
|
|
| Method Summary | |
|---|---|
Class<?> |
getBeanClass()
Returns the type of the bean the property belongs to. |
Editor |
getEditor()
Returns the Editor. |
EditorBinder |
getEditorBinder()
Returns the EditorBinder. |
String |
getProperty()
Returns the property name. |
PropertyEditor |
getPropertyEditor()
Returns a PropertyEditor capable of handling the property type. |
String |
getPropertyPath()
Returns the property path. |
Class<?> |
getPropertyType()
Returns the type of the property. |
Object |
getValue()
Returns the actual property value. |
boolean |
isEditingExistingBean()
Returns whether the edited bean existed before, or whether it was created by the current form. |
void |
setEditor(Editor editor)
|
void |
setExistingItem(boolean existingItem)
|
void |
setValue(Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionItemEditorBinding(EditorBinding parentBinding)
| Method Detail |
|---|
public Class<?> getBeanClass()
EditorBinding
getBeanClass in interface EditorBindingpublic boolean isEditingExistingBean()
EditorBinding
isEditingExistingBean in interface EditorBindingpublic void setExistingItem(boolean existingItem)
public void setEditor(Editor editor)
public Editor getEditor()
EditorBinding
getEditor in interface EditorBindingpublic EditorBinder getEditorBinder()
EditorBinding
getEditorBinder in interface EditorBindingpublic String getProperty()
EditorBinding
getProperty in interface EditorBindingpublic PropertyEditor getPropertyEditor()
EditorBinding
getPropertyEditor in interface EditorBindingpublic String getPropertyPath()
EditorBinding
getPropertyPath in interface EditorBindingpublic Class<?> getPropertyType()
EditorBinding
getPropertyType in interface EditorBindingpublic Object getValue()
EditorBinding
getValue in interface EditorBindingpublic void setValue(Object value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||