com.google.gwt.resources.css.ast
Class CssSprite
java.lang.Object
com.google.gwt.resources.css.ast.CssNode
com.google.gwt.resources.css.ast.CssRule
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.
| 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 |
IMAGE_PROPERTY_NAME
public static final java.lang.String IMAGE_PROPERTY_NAME
- See Also:
- Constant Field Values
CssSprite
public CssSprite()
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