|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.resources.css.ast.CssVisitor
com.google.gwt.resources.css.ast.CssModVisitor
com.google.gwt.resources.css.Spriter
public class Spriter
Replaces CssSprite nodes with CssRule nodes that will display the sprited image. The real trick with spriting the images is to reuse the ImageResource processing framework by requiring the sprite to be defined in terms of an ImageResource.
| Constructor Summary | |
|---|---|
Spriter(TreeLogger logger,
ResourceContext context)
|
|
| Method Summary | |
|---|---|
void |
endVisit(CssSprite x,
Context ctx)
|
| Methods inherited from class com.google.gwt.resources.css.ast.CssModVisitor |
|---|
didChange |
| Methods inherited from class com.google.gwt.resources.css.ast.CssVisitor |
|---|
accept, accept, acceptWithInsertRemove, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Spriter(TreeLogger logger,
ResourceContext context)
| Method Detail |
|---|
public void endVisit(CssSprite x,
Context ctx)
endVisit in class CssVisitorx - the node being visitedctx - the context for the visit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||