com.generationjava.beans
Class DelegatableBeanViewer
java.lang.Object
|
+--com.generationjava.beans.AbstractBeanViewer
|
+--com.generationjava.beans.DelegatableBeanViewer
- public class DelegatableBeanViewer
- extends AbstractBeanViewer
Uses a GetDelegate to get a property from an object.
|
Method Summary |
java.lang.Object |
invokeGet(BeanViewRuntime runtime,
java.lang.Object obj,
java.lang.String name,
java.lang.Object idx)
Get a value from a bean with the specified name. |
void |
invokeSet(BeanViewRuntime runtime,
java.lang.Object bean,
java.lang.String name,
java.lang.Object idx,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatableBeanViewer
public DelegatableBeanViewer(GetDelegate gd)
invokeGet
public java.lang.Object invokeGet(BeanViewRuntime runtime,
java.lang.Object obj,
java.lang.String name,
java.lang.Object idx)
- Description copied from class:
AbstractBeanViewer
- Get a value from a bean with the specified name.
If the bean is indexed, an int index is passed. Else it is -1.
It is recommmended that implementors of this method use the
index method to handle the array notation.
- Specified by:
invokeGet in class AbstractBeanViewer
invokeSet
public void invokeSet(BeanViewRuntime runtime,
java.lang.Object bean,
java.lang.String name,
java.lang.Object idx,
java.lang.Object value)
- Specified by:
invokeSet in class AbstractBeanViewer
Copyright © 2000-2003 GenerationJava. All Rights Reserved.