public class OwnerClass extends Object
Constructor and Description |
---|
OwnerClass(com.google.gwt.core.ext.typeinfo.JClassType ownerType,
MortalLogger logger,
UiBinderContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.ext.typeinfo.JClassType |
getOwnerType() |
com.google.gwt.core.ext.typeinfo.JMethod |
getUiFactoryMethod(com.google.gwt.core.ext.typeinfo.JClassType forType)
Returns the method annotated with @UiFactory which returns the given type.
|
OwnerField |
getUiField(String name)
Gets a field with the given name.
|
OwnerField |
getUiFieldForType(com.google.gwt.core.ext.typeinfo.JClassType type)
Deprecated.
This will die with
com.google.gwt.uibinder.attributeparsers.BundleAttributeParser |
Collection<OwnerField> |
getUiFields()
Returns a collection of all fields in the owner class.
|
List<com.google.gwt.core.ext.typeinfo.JMethod> |
getUiHandlers()
Returns all the UiHandler methods defined in the owner class.
|
public OwnerClass(com.google.gwt.core.ext.typeinfo.JClassType ownerType, MortalLogger logger, UiBinderContext context) throws com.google.gwt.core.ext.UnableToCompleteException
ownerType
- the type of the owner classlogger
- com.google.gwt.core.ext.UnableToCompleteException
public com.google.gwt.core.ext.typeinfo.JClassType getOwnerType()
public com.google.gwt.core.ext.typeinfo.JMethod getUiFactoryMethod(com.google.gwt.core.ext.typeinfo.JClassType forType)
forType
- the type to look for a factory ofpublic OwnerField getUiField(String name)
name
- the name of the field to get@Deprecated public OwnerField getUiFieldForType(com.google.gwt.core.ext.typeinfo.JClassType type)
com.google.gwt.uibinder.attributeparsers.BundleAttributeParser
type
- the type of the fieldpublic Collection<OwnerField> getUiFields()
public List<com.google.gwt.core.ext.typeinfo.JMethod> getUiHandlers()
Copyright © 2016. All rights reserved.