|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.editor.client.AutoBeanVisitor
public class AutoBeanVisitor
Allows traversal of an AutoBean object graph.
| Nested Class Summary | |
|---|---|
static interface |
AutoBeanVisitor.Context
Reserved for future expansion to avoid API breaks. |
static interface |
AutoBeanVisitor.PropertyContext
Allows properties to be reset. |
| Constructor Summary | |
|---|---|
AutoBeanVisitor()
|
|
| Method Summary | |
|---|---|
void |
endVisit(AutoBean<?> bean,
AutoBeanVisitor.Context ctx)
Called after visiting an AutoBean. |
void |
endVisitReferenceProperty(java.lang.String propertyName,
AutoBean<?> value,
AutoBeanVisitor.PropertyContext ctx)
Called after visiting a reference property. |
void |
endVisitValueProperty(java.lang.String propertyName,
java.lang.Object value,
AutoBeanVisitor.PropertyContext ctx)
Called after visiting a value property. |
boolean |
visit(AutoBean<?> bean,
AutoBeanVisitor.Context ctx)
Called when visiting an AutoBean. |
boolean |
visitReferenceProperty(java.lang.String propertyName,
AutoBean<?> value,
AutoBeanVisitor.PropertyContext ctx)
Called every time, but visit(AutoBean, Context) will be called for
the value only the first time it is encountered. |
boolean |
visitValueProperty(java.lang.String propertyName,
java.lang.Object value,
AutoBeanVisitor.PropertyContext ctx)
TODO: document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoBeanVisitor()
| Method Detail |
|---|
public void endVisit(AutoBean<?> bean,
AutoBeanVisitor.Context ctx)
AutoBean.
bean - an AutoBeanctx - a Context
public void endVisitReferenceProperty(java.lang.String propertyName,
AutoBean<?> value,
AutoBeanVisitor.PropertyContext ctx)
propertyName - the property name, as a Stringvalue - the property valuectx - a PropertyContext
public void endVisitValueProperty(java.lang.String propertyName,
java.lang.Object value,
AutoBeanVisitor.PropertyContext ctx)
propertyName - the property name, as a Stringvalue - the property valuectx - a PropertyContext
public boolean visit(AutoBean<?> bean,
AutoBeanVisitor.Context ctx)
AutoBean.
bean - an AutoBeanctx - a Context
public boolean visitReferenceProperty(java.lang.String propertyName,
AutoBean<?> value,
AutoBeanVisitor.PropertyContext ctx)
visit(AutoBean, Context) will be called for
the value only the first time it is encountered.
propertyName - the property name, as a Stringvalue - the property valuectx - a PropertyContext
public boolean visitValueProperty(java.lang.String propertyName,
java.lang.Object value,
AutoBeanVisitor.PropertyContext ctx)
propertyName - the property name, as a Stringvalue - the property valuectx - a PropertyContext
|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||