com.google.gwt.resources.css.ast
Class CssIf
java.lang.Object
com.google.gwt.resources.css.ast.CssNode
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()
|
| 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 |
CssIf
public CssIf()
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