public class ImplicitClientBundle extends Object
Constructor and Description |
---|
ImplicitClientBundle(String packageName,
String uiBinderImplClassName,
String fieldName,
MortalLogger logger) |
Modifier and Type | Method and Description |
---|---|
ImplicitCssResource |
createCssResource(String name,
String[] source,
com.google.gwt.core.ext.typeinfo.JClassType extendedInterface,
String body,
LinkedHashSet<com.google.gwt.core.ext.typeinfo.JClassType> importTypes,
Boolean gss,
com.google.gwt.dev.resource.ResourceOracle resourceOracle)
Called to declare a new CssResource accessor on this bundle.
|
ImplicitDataResource |
createDataResource(String name,
String source,
String mimeType,
Boolean doNotEmbed)
Called to declare a new DataResource accessor on this bundle.
|
ImplicitImageResource |
createImageResource(String name,
String source,
Boolean flipRtl,
ImageResource.RepeatStyle repeatStyle)
Called to declare a new ImageResource accessor on this bundle.
|
String |
getClassName() |
Set<ImplicitCssResource> |
getCssMethods() |
Set<ImplicitDataResource> |
getDataMethods() |
String |
getFieldName() |
Set<ImplicitImageResource> |
getImageMethods() |
String |
getPackageName() |
public ImplicitClientBundle(String packageName, String uiBinderImplClassName, String fieldName, MortalLogger logger)
packageName
- Where the bundle should liveuiBinderImplClassName
- The name of the generated ui binder
implementation that owns the bundlefieldName
- The bundle's field namepublic ImplicitCssResource createCssResource(String name, String[] source, com.google.gwt.core.ext.typeinfo.JClassType extendedInterface, String body, LinkedHashSet<com.google.gwt.core.ext.typeinfo.JClassType> importTypes, Boolean gss, com.google.gwt.dev.resource.ResourceOracle resourceOracle)
name
- the method name and the ui:field namesource
- path to the .css file resourceextendedInterface
- the public interface implemented by this
CssResource, or nullbody
- the inline css textimportTypes
- for the @Import annotation, if any. LinkedHashSet
to enforce deterministic order across recompilesgss
- indicates that GSS is used or notresourceOracle
- from which to load resourcespublic ImplicitDataResource createDataResource(String name, String source, String mimeType, Boolean doNotEmbed)
name
- the method name and the ui:field namesource
- path to the resourcemimeType
- type of the resourcedoNotEmbed
- flag to prevent embedding the data resourcepublic ImplicitImageResource createImageResource(String name, String source, Boolean flipRtl, ImageResource.RepeatStyle repeatStyle)
name
- the method name and the ui:field namesource
- path to the image resource, or null if none was specifiedflipRtl
- value for the flipRtl ImageOption, or null if none was
specifiedrepeatStyle
- value of the RepeatStyle ImageOption, or null if none
was specifiedpublic String getClassName()
public Set<ImplicitCssResource> getCssMethods()
public Set<ImplicitDataResource> getDataMethods()
public String getFieldName()
public Set<ImplicitImageResource> getImageMethods()
public String getPackageName()
Copyright © 2016. All rights reserved.