public class ColorNode extends ValueNode
| Constructor and Description |
|---|
ColorNode(int r,
int g,
int b) |
ColorNode(int r,
int g,
int b,
int index,
int line,
int column) |
ColorNode(String value) |
ColorNode(String value,
int index,
int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
ValueNode |
add(ValueNode operand) |
ValueNode |
divide(ValueNode operand) |
boolean |
equals(Object arg) |
int |
getBlueChannel() |
int |
getGreenChannel() |
CssNodeType |
getNodeType() |
int |
getRedChannel() |
String |
getValue(boolean compact) |
ValueNode |
multiply(ValueNode operand) |
void |
setChannels(int r,
int g,
int b) |
void |
setValue(String value) |
ValueNode |
subtract(ValueNode operand) |
getValue, getWordBreak, hashCodepublic ColorNode(String value, int index, int line, int column)
public ColorNode(int r,
int g,
int b,
int index,
int line,
int column)
public ColorNode(String value)
public ColorNode(int r,
int g,
int b)
public CssNodeType getNodeType()
getNodeType in class ValueNodepublic int getRedChannel()
public int getGreenChannel()
public int getBlueChannel()
public void setChannels(int r,
int g,
int b)
Copyright © 2014. All rights reserved.