com.google.gwt.resources.css.ast
Class CssSprite

java.lang.Object
  extended by com.google.gwt.resources.css.ast.CssNode
      extended by com.google.gwt.resources.css.ast.CssRule
          extended by com.google.gwt.resources.css.ast.CssSprite
All Implemented Interfaces:
CssVisitable, HasProperties, HasSelectors

public class CssSprite
extends CssRule

Represents a sprited image. This is basically a normal CssRule, except for one well-known property , which specifies the name of an ImageResource accessor.


Field Summary
static java.lang.String IMAGE_PROPERTY_NAME
           
 
Constructor Summary
CssSprite()
           
 
Method Summary
 java.util.List<CssProperty> getProperties()
           
 CssProperty.DotPathValue getResourceFunction()
           
 void setResourceFunction(CssProperty.DotPathValue resourceFunction)
           
 void traverse(CssVisitor visitor, Context context)
           
 
Methods inherited from class com.google.gwt.resources.css.ast.CssRule
getSelectors
 
Methods inherited from class com.google.gwt.resources.css.ast.CssNode
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IMAGE_PROPERTY_NAME

public static final java.lang.String IMAGE_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

CssSprite

public CssSprite()
Method Detail

getProperties

public java.util.List<CssProperty> getProperties()
Specified by:
getProperties in interface HasProperties
Overrides:
getProperties in class CssRule

getResourceFunction

public CssProperty.DotPathValue getResourceFunction()

setResourceFunction

public void setResourceFunction(CssProperty.DotPathValue resourceFunction)

traverse

public void traverse(CssVisitor visitor,
                     Context context)
Specified by:
traverse in interface CssVisitable
Overrides:
traverse in class CssRule