java.lang.Object | |
↳ | com.google.gwt.uibinder.rebind.FieldManager |
This class handles all FieldWriter
instances created for the current
template.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Remove the field at the top of the #parsedFieldStack.
| |||||||||||
Used to declare fields of an existing type.
| |||||||||||
Used to declare fields that will hold generated instances generated
CssResource interfaces.
| |||||||||||
Used to declare fields of a type (other than CssResource) that is to be
generated.
| |||||||||||
Called to register a
{field.reference} encountered during
parsing, to be validated against the type oracle once parsing is complete. | |||||||||||
To be called after parsing is complete.
| |||||||||||
Writes all stored gwt fields.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
fieldName | the name of the FieldWriter to find |
---|
FieldWriter
instance indexed by fieldName or
null in case fieldName is not found
Remove the field at the top of the #parsedFieldStack.
fieldWriter | the field to push on the top of the #parsedFieldStack |
---|
Used to declare fields of an existing type. If your field will hold a type
that is being generated, see registerFieldOfGeneratedType(JClassType, String, String, String)
.
When making a field we peek at the #parsedFieldStack to make sure that the field that holds the widget currently being parsed will depended upon the field being declared. This ensures, for example, that dom id fields (see #declareDomIdHolder()) used by an HTMLPanel will be declared before it is.
fieldType | the type of the new field |
---|---|
fieldName | the name of the new field |
FieldWriter
instanceUnableToCompleteException | on duplicate name |
---|
Used to declare fields that will hold generated instances generated
CssResource interfaces. If your field will hold a reference of an existing
type, see registerField(JClassType, String)
. For other generated types, use
registerFieldOfGeneratedType(JClassType, String, String, String)
registerFieldForGeneratedCssResource(ImplicitCssResource)
.
When making a field we peek at the #parsedFieldStack to make sure that the field that holds the widget currently being parsed will depended upon the field being declared. This ensures, for example, that dom id fields (see #declareDomIdHolder()) used by an HTMLPanel will be declared before it is.
FieldWriter
instance
UnableToCompleteException | on duplicate name |
---|
Used to declare fields of a type (other than CssResource) that is to be
generated. If your field will hold a reference of an existing type, see
registerField(JClassType, String)
. For generated CssResources, see
registerFieldForGeneratedCssResource(ImplicitCssResource)
.
When making a field we peek at the #parsedFieldStack to make sure that the field that holds the widget currently being parsed will depended upon the field being declared. This ensures, for example, that dom id fields (see #declareDomIdHolder()) used by an HTMLPanel will be declared before it is.
assignableType | class or interface extened or implemented by this type |
---|---|
typeName | the full qualified name for the class associated with the field |
fieldName | the name of the field |
FieldWriter
instance
UnableToCompleteException | on duplicate name |
---|
Called to register a {field.reference}
encountered during
parsing, to be validated against the type oracle once parsing is complete.
UnableToCompleteException |
---|
To be called after parsing is complete. Surveys all
{field.reference}
s and checks they refer to existing types,
and have appropriate return types.
UnableToCompleteException | if any {field.references}
can't be resolved
|
---|
Writes all stored gwt fields.
writer | the writer to output |
---|---|
ownerTypeName | the name of the class being processed |
UnableToCompleteException |
---|