public class ImplicitCssResource extends Object
Constructor and Description |
---|
ImplicitCssResource(String packageName,
String className,
String name,
String[] source,
com.google.gwt.core.ext.typeinfo.JClassType extendedInterface,
String body,
MortalLogger logger,
Set<com.google.gwt.core.ext.typeinfo.JClassType> importTypes,
Boolean gss,
com.google.gwt.dev.resource.ResourceOracle resourceOracle)
Visible for testing only, get instances from
ImplicitClientBundle . |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the name of the CssResource interface.
|
Set<String> |
getCssClassNames()
Returns the set of CSS classnames in the underlying css or gss files.
|
com.google.gwt.core.ext.typeinfo.JClassType |
getExtendedInterface()
Returns the public interface that this CssResource implements.
|
Set<com.google.gwt.core.ext.typeinfo.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 or gss file(s), separate by white space.
|
public ImplicitCssResource(String packageName, String className, String name, String[] source, com.google.gwt.core.ext.typeinfo.JClassType extendedInterface, String body, MortalLogger logger, Set<com.google.gwt.core.ext.typeinfo.JClassType> importTypes, Boolean gss, com.google.gwt.dev.resource.ResourceOracle resourceOracle)
ImplicitClientBundle
.public String getClassName()
public Set<String> getCssClassNames() throws com.google.gwt.core.ext.UnableToCompleteException
com.google.gwt.core.ext.UnableToCompleteException
- if the user has called for a css/gss file we
can't find.public com.google.gwt.core.ext.typeinfo.JClassType getExtendedInterface()
public Set<com.google.gwt.core.ext.typeinfo.JClassType> getImports()
public String getName()
ImplicitClientBundle
and its ui:field name.public Set<String> getNormalizedCssClassNames() throws com.google.gwt.core.ext.UnableToCompleteException
com.google.gwt.core.ext.UnableToCompleteException
public String getPackageName()
public String getQualifiedSourceName()
public Collection<String> getSource()
Copyright © 2016. All rights reserved.