|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.model.MethodDataFactory<V>
V - Type of the modelpublic class MethodDataFactory<V>
Calls a method on a property of the context in order to get the result. By default, the property is set to "this" so the method is called directly on the context.
| Constructor Summary | |
|---|---|
MethodDataFactory()
|
|
| Method Summary | |
|---|---|
V |
create(Object context)
Creates an arbitrary object. |
void |
setMethodName(String methodName)
Sets the method to call on the context |
void |
setPropertyPath(String propertyPath)
Sets the Path to the bean to call the method on |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodDataFactory()
| Method Detail |
|---|
public V create(Object context)
DataFactory
create in interface DataFactory<V>context - Context of creation
public void setPropertyPath(String propertyPath)
propertyPath - Path to the bean to call the method onpublic void setMethodName(String methodName)
methodName - Method name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||