|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.uibinder.rebind.model.OwnerFieldClass
public class OwnerFieldClass
Descriptor for a class which can be used as a @UiField. This is usually a widget, but can also be a resource (such as Messages or an ImageBundle). Also notice that the existence of an OwnerFieldClass doesn't mean the class is actually present as a field in the owner.
| Method Summary | |
|---|---|
static OwnerFieldClass |
getFieldClass(JClassType forType,
MortalLogger logger)
Gets or creates the descriptor for the given field class. |
JClassType |
getRawType()
Returns the field's raw type. |
JMethod |
getSetter(java.lang.String propertyName)
Finds the setter method for a given property. |
JConstructor |
getUiConstructor()
Returns the constructor annotated with @UiConstructor, or null if none exists. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OwnerFieldClass getFieldClass(JClassType forType,
MortalLogger logger)
throws UnableToCompleteException
forType - the field type to get a descriptor forlogger - TODO
UnableToCompleteExceptionpublic JClassType getRawType()
public JMethod getSetter(java.lang.String propertyName)
throws UnableToCompleteException
propertyName - the name of the property
UnableToCompleteExceptionpublic JConstructor getUiConstructor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||