org.jfree.layouting.layouter.style.functions.values
Class RgbValueFunction

java.lang.Object
  extended by org.jfree.layouting.layouter.style.functions.values.RgbValueFunction
All Implemented Interfaces:
StyleValueFunction

public class RgbValueFunction
extends java.lang.Object
implements StyleValueFunction

Creation-Date: 16.04.2006, 14:14:42

Author:
Thomas Morgner

Constructor Summary
RgbValueFunction()
           
 
Method Summary
 CSSValue evaluate(LayoutProcess layoutProcess, LayoutElement element, CSSFunctionValue function)
           
protected  int validateParameter(CSSValue value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RgbValueFunction

public RgbValueFunction()
Method Detail

validateParameter

protected int validateParameter(CSSValue value)
                         throws FunctionEvaluationException
Throws:
FunctionEvaluationException

evaluate

public CSSValue evaluate(LayoutProcess layoutProcess,
                         LayoutElement element,
                         CSSFunctionValue function)
                  throws FunctionEvaluationException
Specified by:
evaluate in interface StyleValueFunction
Throws:
FunctionEvaluationException