public class

OwnerField

extends Object
java.lang.Object
   ↳ com.google.gwt.uibinder.rebind.model.OwnerField

Class Overview

Descriptor for a field of the owner class.

Please notice that some fields defined in the XML and in the generated binder class may not be present in the owner class - for instance, they may not be relevant to the code of the owner class. The fields in the binder class are instead represented by an instance of FieldWriter.

Summary

Public Constructors
OwnerField(JField field, MortalLogger logger, UiBinderContext context)
Constructor.
Public Methods
String getName()
Returns the name of the field in the owner class.
OwnerFieldClass getType()
Returns a descriptor for the type of the field.
boolean isProvided()
Returns whether this field's value is provided by owner class.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OwnerField (JField field, MortalLogger logger, UiBinderContext context)

Constructor.

Parameters
field the field of the owner class
Throws
UnableToCompleteException

Public Methods

public String getName ()

Returns the name of the field in the owner class.

public OwnerFieldClass getType ()

Returns a descriptor for the type of the field.

public boolean isProvided ()

Returns whether this field's value is provided by owner class. If it's not provided, then it's the binder's responsibility to assign it.

public String toString ()