java.lang.Object | |
↳ | com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.FieldsImpl |
An implementation of ClientBundleFields.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a field to the bundle.
| |||||||||||
Adds a field to the bundle.
| |||||||||||
This can be called to reset the initializer expression on an
already-defined field.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.resources.ext.ClientBundleFields
|
Adds a field to the bundle.
type | the declared type of the field |
---|---|
name | a Java identifier to be used as the basis for the name of the field |
initializer | a Java expression that will be used as the field's
initializer, or null if no initialization expression
is desired |
isStatic | if true the field will be declared to be
static |
isFinal | if true the fields will be declared as final |
Adds a field to the bundle. Equivalent to
defineField(type, name, null, true, false)
.
type | the declared type of the field |
---|---|
name | a Java identifier to be used as the basis for the name of the field |
This can be called to reset the initializer expression on an already-defined field.
ident | an identifier previously returned by define(JType, String) |
---|---|
initializer | a Java expression that will be used to initialize the field |