Class CssKeyframesNode
java.lang.Object
com.google.common.css.compiler.ast.CssNode
com.google.common.css.compiler.ast.CssNodesListNode<CssValueNode>
com.google.common.css.compiler.ast.CssAtRuleNode
com.google.common.css.compiler.ast.CssKeyframesNode
- All Implemented Interfaces:
ChunkAware,Locatable
A node representing an @-webkit-keyframes rule.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
CssAtRuleNode.Type -
Field Summary
Fields inherited from class com.google.common.css.compiler.ast.CssNodesListNode
children -
Constructor Summary
ConstructorsConstructorDescriptionCssKeyframesNode(CssLiteralNode name, CssKeyframesNode node) Used by CreateVendorPrefixedKeyframes to copy an existing keyframes node to create a browser specific duplicate having different name. -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()getBlock()Subclasses should overridegetBlockto return a more specific subclass ofCssAbstractBlockNode.getChunk()Gets the chunk id of the node.voidSets the chunk id on the node.toString()For debugging only.Methods inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
getName, getParameters, getParametersCount, getType, setParametersMethods inherited from class com.google.common.css.compiler.ast.CssNodesListNode
addChildToBack, childIterable, getChildAt, getChildIterator, getChildren, getLastChild, getSourceCodeLocation, isEmpty, isEnclosedWithBraces, numChildren, replaceChildAtMethods inherited from class com.google.common.css.compiler.ast.CssNode
ancestors, appendComment, deepCopyNodes, equals, getComments, getParent, getShouldBeFlipped, getVisitController, hasComment, hashCode, inFunArgs, setComments, setShouldBeFlipped, setSourceCodeLocation
-
Constructor Details
-
CssKeyframesNode
-
CssKeyframesNode
-
CssKeyframesNode
Used by CreateVendorPrefixedKeyframes to copy an existing keyframes node to create a browser specific duplicate having different name.- Parameters:
node- node
-
-
Method Details
-
deepCopy
-
toString
For debugging only.- Overrides:
toStringin classCssAtRuleNode- See Also:
-
getBlock
Description copied from class:CssAtRuleNodeSubclasses should overridegetBlockto return a more specific subclass ofCssAbstractBlockNode.- Overrides:
getBlockin classCssAtRuleNode
-
setChunk
Description copied from interface:ChunkAwareSets the chunk id on the node.- Specified by:
setChunkin interfaceChunkAware- Parameters:
chunk- an object identifying a chunk
-
getChunk
Description copied from interface:ChunkAwareGets the chunk id of the node.- Specified by:
getChunkin interfaceChunkAware- Returns:
- the chunk id or
nullif no chunk id was previously set
-