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

java.lang.Object
  extended by com.google.gwt.resources.css.ast.CssNode
      extended by com.google.gwt.resources.css.ast.CssProperty
All Implemented Interfaces:
CssVisitable

public class CssProperty
extends CssNode

Maps a named property to a Value.


Nested Class Summary
static class CssProperty.DotPathValue
          Represents a sequence of no-arg method invocations.
static class CssProperty.ExpressionValue
          Represents a literal Java expression.
static class CssProperty.IdentValue
          Represents an identifier in the CSS source.
static class CssProperty.ListValue
          Represents a space-separated list of Values.
static class CssProperty.NumberValue
          Represents a numeric value, possibly with attached units.
static class CssProperty.StringValue
          Represents one or more quoted string literals.
static class CssProperty.TokenValue
          Represents a token in the CSS source.
static class CssProperty.Value
          An abstract encapsulation of property values in GWT CSS.
 
Constructor Summary
CssProperty(java.lang.String name, CssProperty.Value value, boolean important)
           
 
Method Summary
 java.lang.String getName()
           
 CssProperty.ListValue getValues()
           
 boolean isImportant()
           
 void setImportant(boolean important)
           
 void setName(java.lang.String name)
           
 void setValue(CssProperty.Value value)
           
 void traverse(CssVisitor visitor, Context context)
           
 
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
 

Constructor Detail

CssProperty

public CssProperty(java.lang.String name,
                   CssProperty.Value value,
                   boolean important)
Method Detail

getName

public java.lang.String getName()

getValues

public CssProperty.ListValue getValues()

isImportant

public boolean isImportant()

setImportant

public void setImportant(boolean important)

setName

public void setName(java.lang.String name)

setValue

public void setValue(CssProperty.Value value)

traverse

public void traverse(CssVisitor visitor,
                     Context context)