| Like
com.google.gwt.i18n.client.Constants , a tag interface that
facilitates locale-sensitive, compile-time binding of constant values
supplied from properties files with the added ability to look up constants at
runtime with a string key.
ConstantsWithLookup extends
com.google.gwt.i18n.client.Constants and is identical in behavior,
adding only a family of special-purpose lookup methods such as
ConstantsWithLookup.getString(String) .
It is generally preferable to extend Constants rather than
ConstantsWithLookup because ConstantsWithLookup
forces all constants to be retained in the compiled script, preventing the
GWT compiler from pruning unused constant accessors.
Required Module
Modules that use this interface should inherit
com.google.gwt.i18n.I18N .
Note
You should not directly implement this interface or interfaces derived from
it since an implementation is generated automatically when message interfaces
are created using
com.google.gwt.core.client.GWT.create(Class) .
See Also: com.google.gwt.i18n.client.Constants |