public class

Spriter

extends CssModVisitor
java.lang.Object
   ↳ com.google.gwt.resources.css.ast.CssVisitor
     ↳ com.google.gwt.resources.css.ast.CssModVisitor
       ↳ com.google.gwt.resources.css.Spriter

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.resources.css.ast.CssVisitor
Public Constructors
Spriter(TreeLogger logger, ResourceContext context)
Public Methods
void endVisit(CssSprite x, Context ctx)
[Expand]
Inherited Methods
From class com.google.gwt.resources.css.ast.CssModVisitor
From class com.google.gwt.resources.css.ast.CssVisitor
From class java.lang.Object

Public Constructors

public Spriter (TreeLogger logger, ResourceContext context)

Public Methods

public void endVisit (CssSprite x, Context ctx)

Parameters
x the node being visited
ctx the context for the visit