public class ContrastFunction extends NodeFunction
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
CSS1_BRIGHT_COLORS |
static Pattern |
CSS1_DARK_COLORS |
static Pattern |
HEX3_COLORS |
static Pattern |
HEX6_COLORS |
autoReturnType, name, returnType| Constructor and Description |
|---|
ContrastFunction() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getContrast(String color) |
protected String |
getFunctionValue(Node node,
Parameters parameters) |
static void |
main(String[] argv) |
getFunctionNameAndFillArgs, getFunctionValue, getFunctionValue, getFunctionValueForNode, getNode, getNodeParameterDef, getReturnType, newInstance, wrapcompareTo, createParameters, equals, getDescription, getFunctionValueWithList, getName, getParameterDefinition, hashCode, setDescription, setParameterDefinition, setReturnType, toStringpublic static final Pattern CSS1_BRIGHT_COLORS
public static final Pattern CSS1_DARK_COLORS
public static final Pattern HEX3_COLORS
public static final Pattern HEX6_COLORS
protected String getFunctionValue(Node node, Parameters parameters)
getFunctionValue in class NodeFunctionpublic static void main(String[] argv)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}