com.tirsen.angkor.widget
Class ModelProxy
java.lang.Object
|
+--com.tirsen.angkor.widget.ModelProxy
- public class ModelProxy
- extends java.lang.Object
A ModelProxy acts as the proxy for JavaBean instances which may or may not actually
exist enabling them to be lazily evaluated only when a view actually requests the value
of the JavaBean. Useful when creating views which should be bound to properties of JavaBeans
but the view is not yet visible and the JavaBean is not yet instantiated. Also has a lot of
utility methods for creating various models bound to the JavaBean so it may be useful even if
the JavaBean actually exists. For this reason the name ModelProxy
may be a little bit
inaccurate, maybe JavaBeanModel
may be better.
- Version:
- $Revision: 1.3 $
- Author:
- $Author: tirsen $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelProxy
public ModelProxy(java.lang.Class objectClass)
ModelProxy
public ModelProxy(ValueModel model)
setValueObject
public void setValueObject(java.lang.Object valueObject)
getObject
public java.lang.Object getObject()
getObjectClass
public java.lang.Class getObjectClass()
getProperty
public ValueModel getProperty(java.lang.String property)
getPropertyProxy
public ModelProxy getPropertyProxy(java.lang.String property)
Copyright © 2002-2002 . All Rights Reserved.