|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.data.BeanModelLookup
public abstract class BeanModelLookup
Returns BeanModelFactories
for java beans. Java beans can be
converted to "models" via 2 methods. The first method requires a new
interface that extends BeanModelMarker
and uses annotations.
This method does not require the JavaBean to be modified. With the second
method, your Java Bean implements the BeanModelTag
interface.
BeanModelMarker
,
BeanModelTag
Constructor Summary | |
---|---|
BeanModelLookup()
|
Method Summary | |
---|---|
static BeanModelLookup |
get()
Returns the singleton bean model lookup. |
abstract BeanModelFactory |
getFactory(java.lang.Class<?> bean)
Returns the factory for the given bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanModelLookup()
Method Detail |
---|
public static BeanModelLookup get()
public abstract BeanModelFactory getFactory(java.lang.Class<?> bean)
bean
- the bean class
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |