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

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

public class CssIf
extends CssNode
implements HasNodes

A GWTCSS if statement. The elif and else constructs are modeled as nested if statement is the elseNodes.


Constructor Summary
CssIf()
           
 
Method Summary
 java.util.List<CssNode> getElseNodes()
           
 java.lang.String getExpression()
           
 java.util.List<CssNode> getNodes()
           
 java.lang.String getPropertyName()
           
 java.lang.String[] getPropertyValues()
           
 boolean isNegated()
           
 void setExpression(java.lang.String expression)
           
 void setNegated(boolean isNegated)
           
 void setProperty(java.lang.String property)
           
 void setPropertyValues(java.lang.String[] propertyValues)
           
 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

CssIf

public CssIf()
Method Detail

getElseNodes

public java.util.List<CssNode> getElseNodes()

getExpression

public java.lang.String getExpression()

getNodes

public java.util.List<CssNode> getNodes()
Specified by:
getNodes in interface HasNodes

getPropertyName

public java.lang.String getPropertyName()

getPropertyValues

public java.lang.String[] getPropertyValues()

isNegated

public boolean isNegated()

setExpression

public void setExpression(java.lang.String expression)

setNegated

public void setNegated(boolean isNegated)

setProperty

public void setProperty(java.lang.String property)

setPropertyValues

public void setPropertyValues(java.lang.String[] propertyValues)

traverse

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