public class

ImplicitCssResource

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

Class Overview

Models a method returning a CssResource on a generated ClientBundle.

Summary

Public Constructors
ImplicitCssResource(String packageName, String className, String name, String[] source, JClassType extendedInterface, String body, MortalLogger logger, Set<JClassType> importTypes)
Visible for testing only, get instances from ImplicitClientBundle.
Public Methods
String getClassName()
Returns the name of the CssResource interface.
Set<String> getCssClassNames()
Returns the set of CSS classnames in the underlying .css files.
JClassType getExtendedInterface()
Returns the public interface that this CssResource implements.
Set<JClassType> getImports()
Returns the set of CssResource types whose scopes are imported.
String getName()
Returns the name of this resource.
Set<String> getNormalizedCssClassNames()
Returns css class names with dashed-names normalized like so: dashedNames.
String getPackageName()
Returns the package in which the generated CssResource interface should reside.
String getQualifiedSourceName()
Returns the name of the generated type.
Collection<String> getSource()
Returns the name of the .css file(s), separate by white space.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ImplicitCssResource (String packageName, String className, String name, String[] source, JClassType extendedInterface, String body, MortalLogger logger, Set<JClassType> importTypes)

Visible for testing only, get instances from ImplicitClientBundle.

Public Methods

public String getClassName ()

Returns the name of the CssResource interface.

public Set<String> getCssClassNames ()

Returns the set of CSS classnames in the underlying .css files.

Throws
UnableToCompleteException if the user has called for a .css file we can't find.

public JClassType getExtendedInterface ()

Returns the public interface that this CssResource implements.

public Set<JClassType> getImports ()

Returns the set of CssResource types whose scopes are imported.

public String getName ()

Returns the name of this resource. This is both its method name in the owning ImplicitClientBundle and its ui:field name.

public Set<String> getNormalizedCssClassNames ()

Returns css class names with dashed-names normalized like so: dashedNames.

Throws
UnableToCompleteException

public String getPackageName ()

Returns the package in which the generated CssResource interface should reside.

public String getQualifiedSourceName ()

Returns the name of the generated type.

public Collection<String> getSource ()

Returns the name of the .css file(s), separate by white space.