Package | Description |
---|---|
com.google.gwt.resources.css |
Support package for manipulating CSS resources.
|
com.google.gwt.resources.css.ast | |
com.google.gwt.resources.rg |
Modifier and Type | Method and Description |
---|---|
static CssStylesheet |
GenerateCssAst.exec(TreeLogger logger,
URL... stylesheets)
Create a CssStylesheet from the contents of one or more URLs.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassRenamer.endVisit(CssStylesheet x,
Context ctx) |
static Set<String> |
ExtractClassNamesVisitor.exec(CssStylesheet sheet)
Extract all CSS class names in the provided stylesheet.
|
static Set<String> |
ExtractClassNamesVisitor.exec(CssStylesheet sheet,
JClassType... imports)
Extract all CSS class names in the provided stylesheet, modulo those
imported from another context.
|
static boolean |
CheckStaticCssVisitor.isStatic(CssStylesheet sheet)
A fast-fail check to determine if a stylesheet is statically-evaluable.
|
static boolean |
CheckStaticCssVisitor.report(TreeLogger logger,
CssStylesheet sheet)
Returns
true if the stylsheet is statically-evaluable. |
Modifier and Type | Method and Description |
---|---|
void |
CssStylesheet.append(CssStylesheet other)
Append the given stylesheet.
|
void |
CssVisitor.endVisit(CssStylesheet x,
Context ctx) |
void |
CssNodeCloner.endVisit(CssStylesheet x,
Context ctx) |
boolean |
CssVisitor.visit(CssStylesheet x,
Context ctx) |
boolean |
CssNodeCloner.visit(CssStylesheet x,
Context ctx) |
Constructor and Description |
---|
CssStylesheet(CssStylesheet other)
A copy constructor that will clone the contents of an existing
CssStylesheet.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CssResourceGenerator.checkSheet(TreeLogger logger,
CssStylesheet stylesheet) |
protected String |
CssResourceGenerator.getResourceImplAsString(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet) |
protected void |
CssResourceGenerator.outputAdditionalArtifacts(TreeLogger logger,
ResourceContext context,
JMethod method,
Map<JMethod,String> actualReplacements,
JClassType cssResourceSubtype,
CssStylesheet stylesheet)
Output additional artifacts.
|
protected void |
CssResourceGenerator.writeUserMethods(TreeLogger logger,
com.google.gwt.user.rebind.SourceWriter sw,
CssStylesheet sheet,
JMethod[] methods,
Map<JMethod,String> obfuscatedClassNames)
Write all of the user-defined methods in the CssResource subtype.
|
Copyright © 2018. All rights reserved.