public class CssProperty extends CssNode implements CssSubstitution
Modifier and Type | Class and Description |
---|---|
static class |
CssProperty.DotPathValue
Represents a sequence of no-arg method invocations.
|
static class |
CssProperty.ExpressionValue
Represents a literal Java expression.
|
static class |
CssProperty.FunctionValue
Represents a CSS function value.
|
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 and Description |
---|
CssProperty(String name,
CssProperty.Value value,
boolean important) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
CssProperty.ListValue |
getValues() |
boolean |
isImportant() |
boolean |
isStatic()
Indicates whether or not the CssNode requires runtime evaluation.
|
void |
setImportant(boolean important) |
void |
setName(String name) |
void |
setValue(CssProperty.Value value) |
void |
traverse(CssVisitor visitor,
Context context) |
public CssProperty(String name, CssProperty.Value value, boolean important)
public String getName()
public CssProperty.ListValue getValues()
public boolean isImportant()
public boolean isStatic()
CssNode
public void setImportant(boolean important)
public void setName(String name)
public void setValue(CssProperty.Value value)
public void traverse(CssVisitor visitor, Context context)
traverse
in interface CssVisitable
Copyright © 2018. All rights reserved.